Compare commits

..
12 Commits
4 changed files with 17 additions and 15 deletions
+2 -3
View File
@@ -51,7 +51,6 @@ hl.bind(
hl.bind("XF86AudioPlay", hl.dsp.exec_cmd("playerctl play-pause"), { locked = true }) hl.bind("XF86AudioPlay", hl.dsp.exec_cmd("playerctl play-pause"), { locked = true })
hl.bind("XF86AudioPrev", hl.dsp.exec_cmd("playerctl previous"), { locked = true }) hl.bind("XF86AudioPrev", hl.dsp.exec_cmd("playerctl previous"), { locked = true })
hl.bind("XF86AudioNext", hl.dsp.exec_cmd("playerctl next"), { locked = true }) hl.bind("XF86AudioNext", hl.dsp.exec_cmd("playerctl next"), { locked = true })
hl.bind("XF86WebCam", hl.dsp.exec_cmd(""), { locked = true, repeating = true })
hl.bind("PRINT", hl.dsp.global("zshell:screenshotFreeze")) hl.bind("PRINT", hl.dsp.global("zshell:screenshotFreeze"))
hl.bind("SUPER + R", hl.dsp.global("zshell:toggle-launcher")) hl.bind("SUPER + R", hl.dsp.global("zshell:toggle-launcher"))
@@ -59,5 +58,5 @@ hl.bind("SUPER + A", hl.dsp.global("zshell:toggle-nc"))
hl.bind("SUPER + V", hl.dsp.global("zshell:toggle-drawing")) hl.bind("SUPER + V", hl.dsp.global("zshell:toggle-drawing"))
hl.bind("SUPER + F1", hl.dsp.global("zshell:lock")) hl.bind("SUPER + F1", hl.dsp.global("zshell:lock"))
hl.bind("SUPER + F2", hl.dsp.global("zshell:toggle-settings")) hl.bind("SUPER + F2", hl.dsp.global("zshell:toggle-settings"))
hl.bind("XF86MonBrightnessDown", hl.dsp.global("zshell:brightnessDown")) hl.bind("XF86MonBrightnessUp", hl.dsp.global("zshell:brightnessUp"), { locked = true, repeating = true })
hl.bind("XF86MonBrightnessUp", hl.dsp.global("zshell:brightnessUp")) hl.bind("XF86MonBrightnessDown", hl.dsp.global("zshell:brightnessDown"), { locked = true, repeating = true })
+10 -1
View File
@@ -1,10 +1,19 @@
hl.on("hyprland.start", function() hl.on("hyprland.start", function()
hl.exec_cmd("zshell-cli shell start") hl.exec_cmd("zshell-cli shell start")
hl.exec_cmd("nm-applet") hl.exec_cmd("nm-applet")
hl.exec_cmd("blueman-applet") hl.exec_cmd("blueman-applet")
hl.exec_cmd("fcitx5") hl.exec_cmd("fcitx5")
hl.exec_cmd("wl-paste --type text --watch cliphist store") hl.exec_cmd("wl-paste --type text --watch cliphist store")
hl.exec_cmd("wl-paste --type image --watch cliphist store") hl.exec_cmd("wl-paste --type image --watch cliphist store")
hl.exec_cmd("hyprsunset -i") hl.exec_cmd("hyprsunset -i")
hl.exec_cmd("ksecretd")
hl.exec_cmd("nextcloud --background") hl.exec_cmd("nextcloud --background")
end) end)
local time = tonumber(os.date("%H"))
if time < 22 and time > 8 then
hl.exec_cmd("brightnessctl s 100%")
else
hl.exec_cmd("brightnessctl s 5%")
end
+3 -4
View File
@@ -4,15 +4,14 @@ hl.monitor({
position = "0x0", position = "0x0",
scale = 1.125, scale = 1.125,
bitdepth = 10, bitdepth = 10,
cm = "hdr", cm = "srgb",
}) })
hl.monitor({ hl.monitor({
output = "", output = "",
mode = "3840x2160@60", mode = "highres@highrr",
position = "auto", position = "auto",
scale = 1.5, scale = 1,
bitdepth = 10, bitdepth = 10,
cm = "srgb", cm = "srgb",
mirror = "eDP-1",
}) })
+2 -7
View File
@@ -14,19 +14,14 @@ hl.layer_rule({
ignore_alpha = 0.5, ignore_alpha = 0.5,
}) })
hl.gesture = { hl.gesture = { fingers = 3, direction = "horizontal", action = "workspace" }
fingers = 3,
direction = "horizontal",
action = "workspace",
workspace_swipe_touch = true,
}
hl.config({ hl.config({
input = { input = {
kb_layout = "us", kb_layout = "us",
kb_variant = "intl", kb_variant = "intl",
kb_options = "fkeys:basic_13-24", kb_options = "fkeys:basic_13-24",
sensitivity = 0, sensitivity = 0.4,
accel_profile = "flat", accel_profile = "flat",
follow_mouse = 1, follow_mouse = 1,
touchpad = { touchpad = {