switches terminal to own special workspace

This commit is contained in:
2026-08-06 20:21:02 +02:00
parent 6909f9fc20
commit 97fb8472f2
3 changed files with 15 additions and 2 deletions
+3 -1
View File
@@ -10,7 +10,7 @@ local mainMod = "SUPER"
-- Example binds, see https://wiki.hypr.land/Configuring/Binds/ for more -- Example binds, see https://wiki.hypr.land/Configuring/Binds/ for more
-- KeyBinds -- KeyBinds
-- Open -- Open
hl.bind(mainMod .. " + T", hl.dsp.exec_cmd(TERMINAL, {float = true, size = {1920, 1080}})) -- Open Terminal --hl.bind(mainMod .. " + T", hl.dsp.exec_cmd(TERMINAL, {float = true, size = {1920, 1080}})) -- Open Terminal
hl.bind(mainMod .. " + E", hl.dsp.exec_cmd(FILEMANAGER)) -- Open File Manager hl.bind(mainMod .. " + E", hl.dsp.exec_cmd(FILEMANAGER)) -- Open File Manager
hl.bind(mainMod .. " + Q", hl.dsp.exec_cmd(BROWSER)) -- Open Browser hl.bind(mainMod .. " + Q", hl.dsp.exec_cmd(BROWSER)) -- Open Browser
hl.bind(mainMod .. " + space", hl.dsp.exec_cmd(MENU)) -- Open Menu hl.bind(mainMod .. " + space", hl.dsp.exec_cmd(MENU)) -- Open Menu
@@ -85,6 +85,8 @@ hl.bind(mainMod .. " + SHIFT + 0", hl.dsp.window.move({ workspace = 10 })) -- Mo
hl.bind(mainMod .. " + S", hl.dsp.workspace.toggle_special("magic")) -- Focus Magic Workspace hl.bind(mainMod .. " + S", hl.dsp.workspace.toggle_special("magic")) -- Focus Magic Workspace
hl.bind(mainMod .. " + SHIFT + S", hl.dsp.window.move({ workspace = "special:magic" })) -- Move to Magic Workspace hl.bind(mainMod .. " + SHIFT + S", hl.dsp.window.move({ workspace = "special:magic" })) -- Move to Magic Workspace
hl.bind(mainMod .. " + T", hl.dsp.workspace.toggle_special("term"))
-- Capture -- Capture
hl.bind(mainMod .. " + F9", hl.dsp.exec_cmd("hyprshot -m region")) hl.bind(mainMod .. " + F9", hl.dsp.exec_cmd("hyprshot -m region"))
hl.bind(mainMod .. " + SHIFT + F9", hl.dsp.exec_cmd("hyprshot -m window")) hl.bind(mainMod .. " + SHIFT + F9", hl.dsp.exec_cmd("hyprshot -m window"))
+10 -1
View File
@@ -40,7 +40,7 @@ hl.window_rule({
class = "vesktop", class = "vesktop",
}, },
monitor = RIGHT_MONITOR, monitor = RIGHT_MONITOR,
no_follow_mouse = true no_initial_focus = true
}) })
hl.window_rule({ hl.window_rule({
@@ -74,6 +74,15 @@ hl.window_rule({
-- TODO: manual review — unmapped window rule action: "no_focus true" -- TODO: manual review — unmapped window rule action: "no_focus true"
}) })
hl.window_rule({
name = "btop",
match = {
class = "kitty",
},
float = true,
size = {1920, 1080}
})
-- Hyprland-run windowrule -- Hyprland-run windowrule
hl.window_rule({ hl.window_rule({
name = "move-hyprland-run", name = "move-hyprland-run",
+2
View File
@@ -5,3 +5,5 @@ hl.workspace_rule({ workspace = "name:", monitor = BOTTOM_MONITOR, default =
hl.workspace_rule({ workspace = "name:[]", monitor = BOTTOM_MONITOR }) hl.workspace_rule({ workspace = "name:[]", monitor = BOTTOM_MONITOR })
hl.workspace_rule({ workspace = "name:{}", monitor = BOTTOM_MONITOR }) hl.workspace_rule({ workspace = "name:{}", monitor = BOTTOM_MONITOR })
hl.workspace_rule({ workspace = "name:special:term", on_created_empty = TERMINAL})