From 422bf29318d17ad5e8fa36487d9792512abb027a Mon Sep 17 00:00:00 2001 From: Sweetbread Date: Sun, 8 Nov 2026 16:29:33 +0300 Subject: [PATCH] fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Install lucid --- modules/user/hyprland.nix | 1 + modules/user/lucid/default.nix | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/modules/user/hyprland.nix b/modules/user/hyprland.nix index 4c9f961..5267183 100644 --- a/modules/user/hyprland.nix +++ b/modules/user/hyprland.nix @@ -126,6 +126,7 @@ in { workspace_rule = [ { workspace = "w[t1]"; + gaps_in = 0; gaps_out = 0; } ]; diff --git a/modules/user/lucid/default.nix b/modules/user/lucid/default.nix index 565fc3f..40ff2ac 100644 --- a/modules/user/lucid/default.nix +++ b/modules/user/lucid/default.nix @@ -243,6 +243,23 @@ PY "label": "DuckDuckGo" }, { '') + (pkgs.writeText "lucid-shot-special-workspace-name.patch" '' + diff --git a/lucidshot/ShotOverlay.qml b/lucidshot/ShotOverlay.qml + --- a/lucidshot/ShotOverlay.qml + +++ b/lucidshot/ShotOverlay.qml + @@ -228,1 +228,1 @@ + - const ws = mon.activeWorkspace ? mon.activeWorkspace.id : null; + + const ws = mon.activeWorkspace ? mon.activeWorkspace.name : null; + @@ -229,1 +229,1 @@ + - const special = mon.specialWorkspace ? mon.specialWorkspace.id : 0; + + const special = mon.specialWorkspace ? mon.specialWorkspace.name : ""; + @@ -234,1 +234,1 @@ + - return c.workspace.id === ws || (special !== 0 && c.workspace.id === special) || (c.pinned && c.monitor === mon.id); + + return c.workspace.name === ws || (special && c.workspace.name === special) || (c.pinned && c.monitor === mon.id); + @@ -246,1 +246,1 @@ + - "special": special !== 0 && c.workspace.id === special, + + "special": !!special && c.workspace.name === special, + '') ]; }; wallpaperDir = "${config.home.homeDirectory}/Wallpapers";