Update dotfiles (2026-05-11 20:12:17)

This commit is contained in:
2026-05-11 20:12:17 +02:00
parent d428c53740
commit aa4449866a
9 changed files with 1669 additions and 1501 deletions
+10 -8
View File
@@ -1,13 +1,15 @@
-- Example binds, see https://wiki.hypr.land/Configuring/Basics/Binds/ for more
-- closeWindowBind:set_enabled(false)
local mainMod = "SUPER" -- Sets "Windows" key as main modifier
local mainMod = "SUPER"
local prefix = "app2unit -S out -- "
local fileManager = "dolphin"
-- Zachjittery
hl.bind(mainMod .. " + CTRL + RETURN", hl.dsp.exec_cmd("zshell-cli shell call visibilities toggleLauncher ''"))
-- hl.bind(mainMod .. " + CTRL + RETURN", hl.dsp.global("zshell:toggle-launcher"))
hl.bind(mainMod .. " + RETURN", hl.dsp.exec_cmd(prefix .. "zterm"))
hl.bind(mainMod .. " + CTRL + RETURN", hl.dsp.global("zshell:toggle-launcher"))
hl.bind(mainMod .. " + SHIFT + D", hl.dsp.global("zshell:toggle-drawing"))
hl.bind(mainMod .. " + N", hl.dsp.global("zshell:toggle-nc"))
hl.bind(mainMod .. " + SHIFT + S", hl.dsp.global("zshell:screenshot"))
hl.bind(mainMod .. " + CTRL + S", hl.dsp.global("zshell:screenshotFreeze"))
hl.bind(mainMod .. " + L", hl.dsp.global("zshell:lock"))
-- QML
hl.bind("CTRL + mouse:274", hl.dsp.exec_cmd("ideskpet toggle-region"))
@@ -27,7 +29,7 @@ hl.bind(mainMod .. " + F1", hl.dsp.exec_cmd("playerctl play-pause"))
hl.bind(mainMod .. " + F2", hl.dsp.exec_cmd("playerctl previous"))
hl.bind(mainMod .. " + F3", hl.dsp.exec_cmd("playerctl next"))
hl.bind("PRINT", hl.dsp.exec_cmd("wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"))
hl.bind("code:51", hl.dsp.exec_cmd("wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"))
hl.bind("code:172", hl.dsp.exec_cmd("wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"))
hl.bind("code:121", hl.dsp.exec_cmd("wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"))
hl.bind("code:122", hl.dsp.exec_cmd("wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.02-"))
hl.bind("code:123", hl.dsp.exec_cmd("wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.02+ --limit 1.0"))
@@ -51,8 +53,8 @@ hl.bind(mainMod .. " + mouse:272", hl.dsp.window.drag(), { mouse = true })
hl.bind(mainMod .. " + mouse:273", hl.dsp.window.resize(), { mouse = true })
-- Workspaces
-- hl.bind("code:113", hl.dsp.focus({ workspace = "m+1" }))
-- hl.bind("code:114", hl.dsp.focus({ workspace = "m-1" }))
hl.bind("code:171", hl.dsp.focus({ workspace = "m+1" }))
hl.bind("code:173", hl.dsp.focus({ workspace = "m-1" }))
hl.bind("ALT + TAB", hl.dsp.focus({ workspace = "m+1" }))
hl.bind(mainMod .. " + TAB", hl.dsp.focus({ workspace = "m-1" }))
hl.bind(mainMod .. " + CTRL + left", hl.dsp.window.swap({ direction = "left" }))