dot

NixOS dotfiles
git clone https://git.echoz.io/dot.git
Log | Files | Refs

commit fca4bb904a825ebe1b54f43edeaab3ccf13728d5
parent 0f1570f50b9830ccdc1806b7e22fbd703da4e582
Author: Chris <chris@echoz.io>
Date:   Mon,  3 Nov 2025 23:10:58 +0100

feat: some desktop tweaks

Diffstat:
Mflake.lock | 12++++++------
Amodules/desktop/default.nix | 13+++++++++++++
Mmodules/hypr/hyprland.nix | 17+++++++++++++++--
Mmodules/walker/default.nix | 38+++++++++++++++++++++-----------------
Mmodules/waybar/style.css | 4++++
5 files changed, 59 insertions(+), 25 deletions(-)

diff --git a/flake.lock b/flake.lock @@ -29,11 +29,11 @@ "systems": "systems" }, "locked": { - "lastModified": 1761478625, - "narHash": "sha256-tMPmf9GUehvmwfcowYg8OCtOnwD43QhsNUM08gBlblY=", + "lastModified": 1762159753, + "narHash": "sha256-zNJem+Go9hR9+HdoTtrOOJemIJ0BASJMf9NO4c5a3tY=", "owner": "abenz1267", "repo": "elephant", - "rev": "838ad6e8a41c70781f9e7c1af56d75e6d0a916ba", + "rev": "8919e4a7563e7497694adad21cae59290fb51cb8", "type": "github" }, "original": { @@ -304,11 +304,11 @@ "systems": "systems_2" }, "locked": { - "lastModified": 1761454047, - "narHash": "sha256-XjjPdUXMfRN4n33jlfqGuHk5hXYLX8nauvT7TRcvC9A=", + "lastModified": 1762071715, + "narHash": "sha256-Ppw110UhEsL2w7EIQVaYtWrfLZnJnDs2rRd5IcKHjak=", "owner": "abenz1267", "repo": "walker", - "rev": "865a1c863ba30adc7fc9b3fc80b54cb371473b7c", + "rev": "705bc58067f3712124b174dfdb1a059cf4368759", "type": "github" }, "original": { diff --git a/modules/desktop/default.nix b/modules/desktop/default.nix @@ -0,0 +1,13 @@ +{ user, ... }: +{ + home-manager.users.${user}.xdg.desktopEntries = { + aerc = { + name = ""; + noDisplay = true; + }; + uuctl = { + name = ""; + noDisplay = true; + }; + }; +} diff --git a/modules/hypr/hyprland.nix b/modules/hypr/hyprland.nix @@ -106,6 +106,10 @@ workspace_center_on = 1; }; + workspace = (builtins.genList (n: "${toString (n + 1)}, persistent:true") 9) ++ [ + "special:special, on-created-empty:kitty --class kitty-special" + ]; + "$mod" = lib.mkDefault "SUPER"; bind = [ @@ -132,7 +136,7 @@ "$mod, 7, workspace, 7" "$mod, 8, workspace, 8" "$mod, 9, workspace, 9" - "$mod, 0, workspace, 10" + "$mod, 0, togglespecialworkspace" "$mod SHIFT, 1, movetoworkspacesilent, 1" "$mod SHIFT, 2, movetoworkspacesilent, 2" @@ -143,7 +147,7 @@ "$mod SHIFT, 7, movetoworkspacesilent, 7" "$mod SHIFT, 8, movetoworkspacesilent, 8" "$mod SHIFT, 9, movetoworkspacesilent, 9" - "$mod SHIFT, 0, movetoworkspacesilent, 10" + "$mod SHIFT, 0, movetoworkspacesilent, special:special" ]; bindm = [ @@ -156,6 +160,15 @@ windowrule = [ "noblur, xwayland:1" + "workspace special:special silent, class:^kitty-special$" + "size 827 555, class:^kitty-special$" + "float, onworkspace:special:special" + "workspace 4 silent, class:^steam$" + "workspace 2 silent, class:^steam_app_[0-9]+$" + "workspace 5 silent, class:^firefox$" + "workspace 3 silent, class:^discord$" + "workspace 3 silent, class:^Slack$" + "workspace 3 silent, class:^Spotify$" ]; }; }; diff --git a/modules/walker/default.nix b/modules/walker/default.nix @@ -29,27 +29,31 @@ list = ""; }; providers = { - empty = [ ]; + default = [ "desktopapplications" ]; + empty = [ "desktopapplications" ]; }; + theme = "custom"; }; - theme.style = '' - * { - background: none; - border: none; - box-shadow: none; - color: #eee; - font-family: JetBrains Mono Nerd Font Propo; - font-size: 12pt; - outline: none; - } + themes.custom = { + style = '' + * { + background: none; + border: none; + box-shadow: none; + color: #eee; + font-family: JetBrains Mono Nerd Font Propo; + font-size: 12pt; + outline: none; + } - .box-wrapper { - padding: 20px; - border-radius: 20px; - background: rgba(0,0,0,0.2); - } - ''; + .box-wrapper { + padding: 20px; + border-radius: 20px; + background: rgba(0,0,0,0.2); + } + ''; + }; elephant = { installService = true; diff --git a/modules/waybar/style.css b/modules/waybar/style.css @@ -38,3 +38,7 @@ window#waybar { #workspaces button.active { box-shadow: inset 0px 2px #fff; } + +#workspaces button.empty { + color: #777; +}