From b75cb88acde7c0a4e3f2a67e843b64bb9a154103 Mon Sep 17 00:00:00 2001 From: nyxerinys Date: Sat, 10 Oct 2026 17:01:31 -0500 Subject: [PATCH] add special workspace --- modules/home/nyxerinys/linux/hyprland.nix | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/modules/home/nyxerinys/linux/hyprland.nix b/modules/home/nyxerinys/linux/hyprland.nix index 0698058..f09aebe 100644 --- a/modules/home/nyxerinys/linux/hyprland.nix +++ b/modules/home/nyxerinys/linux/hyprland.nix @@ -70,21 +70,35 @@ { _args = [ "${mainMod} + q" - (lib.generators.mkLuaInline "hl.dsp.window.close()") + (lib.generators.mkLuaInline ''hl.dsp.window.close()'') + { locked = true; } + ]; + } + { + _args = [ + "${mainMod} + q" + (lib.generators.mkLuaInline ''hl.dsp.window.move({ workspace = "special:special", follow = true })'') + { locked = true; } + ]; + } + { + _args = [ + "${mainMod} + SHIFT + s" + (lib.generators.mkLuaInline ''hl.dsp.workspace.toggle_special("special")'') { locked = true; } ]; } { _args = [ "${mainMod} + mouse:272" - (lib.generators.mkLuaInline "hl.dsp.window.drag()") + (lib.generators.mkLuaInline ''hl.dsp.window.drag()'') { mouse = true; } ]; } { _args = [ "${mainMod} + mouse:273" - (lib.generators.mkLuaInline "hl.dsp.window.resize()") + (lib.generators.mkLuaInline ''hl.dsp.window.resize()'') { mouse = true; } ]; }