-- Başlangıçta başlayacak uygulamalar bu şekilde eklenir. ~/.config/hypr/hyprland.lua ile modifiye edilmiştir. hl.on("hyprland.start", function () hl.exec_cmd("swaybg -i ~/.config/icewm/2886130.png") hl.exec_cmd("shadowbar-hypr") hl.exec_cmd("dunst") hl.exec_cmd("udiskie -A --tray") end) -- Tuş Kombinasyonları için eklemelerim -- CTRL + ALT + L ile Swaylock siyah renkte çıkar ve ekranı kilitler. hl.bind("CTRL + ALT + L", hl.dsp.exec_cmd("swaylock -c 000000")) -- CTRL + SUPER + F ile seçilen pencere tam ekran olur ancak barları süpürmez bu işlem , Super tuşu bazen "META" da olabilir. hl.bind("CTRL + SUPER + F", hl.dsp.window.fullscreen_state({ internal = 1, -- 1 = maximized client = 0, action = "toggle" })) -- Fare teması ekleme hl.env("XCURSOR_THEME", "DMZ-Black") -- ALT + F4 ile pencereyi kapatır. hl.bind("ALT + F4", hl.dsp.window.close()) -- Print'e basınca ekran görüntüsü alır hl.bind("Print", hl.dsp.exec_cmd("grim ~/Pictures/$(date +%Y%m%d-%H%M%S-%3N).png")) -- CTRL + Print ile belli bir alanın ekran görüntüsü alınır. hl.bind("CTRL + Print", hl.dsp.exec_cmd("slurp | grim -g - ~/Pictures/$(date +%Y%m%d-%H%M%S-%3N).png")) -- Hyprland üzerinde ekrandaki boşlukların ciddi derecede yok etmek istiyorsanız. Aşağıdakileri ekleyiniz. hl.workspace_rule({ workspace = "1", gaps_out = 0, gaps_in = 0 }) hl.workspace_rule({ workspace = "2", gaps_out = 0, gaps_in = 0 }) hl.workspace_rule({ workspace = "3", gaps_out = 0, gaps_in = 0 }) hl.workspace_rule({ workspace = "4", gaps_out = 0, gaps_in = 0 }) hl.workspace_rule({ workspace = "5", gaps_out = 0, gaps_in = 0 }) hl.workspace_rule({ workspace = "6", gaps_out = 0, gaps_in = 0 }) hl.workspace_rule({ workspace = "7", gaps_out = 0, gaps_in = 0 }) hl.workspace_rule({ workspace = "8", gaps_out = 0, gaps_in = 0 }) hl.workspace_rule({ workspace = "9", gaps_out = 0, gaps_in = 0 }) hl.workspace_rule({ workspace = "0", gaps_out = 0, gaps_in = 0 }) -- PulseAudio için ses açıp kapatmak hl.bind("XF86AudioRaiseVolume", hl.dsp.exec_cmd("pactl set-sink-volume @DEFAULT_SINK@ +5%"), { locked = true, repeating = true }) hl.bind("XF86AudioLowerVolume", hl.dsp.exec_cmd("pactl set-sink-volume @DEFAULT_SINK@ -5%"), { locked = true, repeating = true }) -- Ekran parlaklığı ayarı hl.bind("XF86MonBrightnessUp", hl.dsp.exec_cmd("brightnessctl -e4 -n2 set 5%+"), { locked = true, repeating = true }) hl.bind("XF86MonBrightnessDown",hl.dsp.exec_cmd("brightnessctl -e4 -n2 set 5%-"), { locked = true, repeating = true })