switches terminal to own special workspace
This commit is contained in:
@@ -10,7 +10,7 @@ local mainMod = "SUPER"
|
||||
-- Example binds, see https://wiki.hypr.land/Configuring/Binds/ for more
|
||||
-- KeyBinds
|
||||
-- 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 .. " + Q", hl.dsp.exec_cmd(BROWSER)) -- Open Browser
|
||||
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 .. " + SHIFT + S", hl.dsp.window.move({ workspace = "special:magic" })) -- Move to Magic Workspace
|
||||
|
||||
hl.bind(mainMod .. " + T", hl.dsp.workspace.toggle_special("term"))
|
||||
|
||||
-- Capture
|
||||
hl.bind(mainMod .. " + F9", hl.dsp.exec_cmd("hyprshot -m region"))
|
||||
hl.bind(mainMod .. " + SHIFT + F9", hl.dsp.exec_cmd("hyprshot -m window"))
|
||||
|
||||
@@ -40,7 +40,7 @@ hl.window_rule({
|
||||
class = "vesktop",
|
||||
},
|
||||
monitor = RIGHT_MONITOR,
|
||||
no_follow_mouse = true
|
||||
no_initial_focus = true
|
||||
})
|
||||
|
||||
hl.window_rule({
|
||||
@@ -74,6 +74,15 @@ hl.window_rule({
|
||||
-- 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
|
||||
hl.window_rule({
|
||||
name = "move-hyprland-run",
|
||||
|
||||
@@ -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:special:term", on_created_empty = TERMINAL})
|
||||
|
||||
Reference in New Issue
Block a user