fix(hypr): unify special workspace, drop 'magic' name
The Lua conversion had introduced a named 'magic' special workspace on the SUPER+S keybinding while KeePassXC and the terminal still targeted the default 'special' workspace, splitting them into two separate scratchpads and making KeePassXC unreachable. Route everything through the single default special workspace to match the original .conf behavior.
This commit is contained in:
parent
997f112baa
commit
f9553329ef
2 changed files with 3 additions and 3 deletions
|
|
@ -10,7 +10,7 @@ hl.on("hyprland.start", function()
|
|||
hl.exec_cmd("[workspace 1 silent] " .. P.browser)
|
||||
hl.exec_cmd("[workspace 2 silent] thunderbird")
|
||||
hl.exec_cmd("[workspace 2 silent] element-desktop")
|
||||
hl.exec_cmd("[workspace special:magic silent] " .. P.terminal)
|
||||
hl.exec_cmd("[workspace special silent] " .. P.terminal)
|
||||
hl.exec_cmd("keepassxc")
|
||||
hl.exec_cmd('chromium --profile-directory="Default"')
|
||||
end)
|
||||
|
|
|
|||
|
|
@ -214,8 +214,8 @@ for i = 1, 10 do
|
|||
end
|
||||
|
||||
-- Example special workspace (scratchpad)
|
||||
hl.bind(mainMod .. " + S", hl.dsp.workspace.toggle_special("magic"))
|
||||
hl.bind(mainMod .. " + SHIFT + S", hl.dsp.window.move({ workspace = "special:magic" }))
|
||||
hl.bind(mainMod .. " + S", hl.dsp.workspace.toggle_special())
|
||||
hl.bind(mainMod .. " + SHIFT + S", hl.dsp.window.move({ workspace = "special" }))
|
||||
|
||||
-- Scroll through existing workspaces with mainMod + scroll
|
||||
hl.bind(mainMod .. " + mouse_down", hl.dsp.focus({ workspace = "e+1" }))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue