diff --git a/configs/niri/config.kdl b/configs/niri/config.kdl index 82c231c..ce8d113 100644 --- a/configs/niri/config.kdl +++ b/configs/niri/config.kdl @@ -89,6 +89,16 @@ window-rule { geometry-corner-radius 6 tiled-state true } +animations { + window-movement { + duration-ms 500 + curve "ease-out-expo" + } + workspace-switch { + duration-ms 500 + curve "ease-out-expo" + } +} // ========================= // Screen Shots @@ -110,6 +120,7 @@ window-rule { match app-id=r#"^xdg-desktop-portal-gnome$"# match app-id=r#"^nm-applet$"# match app-id=r#"^chrome-.*"# + match app-id="waypaper" match title="$Huddle:.*" app-id="Slack" match title="Visual Studio Code" app-id="code" diff --git a/configs/niri/waybar/bottom-config.jsonc b/configs/niri/waybar/bottom-config.jsonc index 9fe7b19..0f46e56 100644 --- a/configs/niri/waybar/bottom-config.jsonc +++ b/configs/niri/waybar/bottom-config.jsonc @@ -13,11 +13,11 @@ "wlr/taskbar" ], "modules-right": [], - "niri/workspaces": { - "format": "{icon}", - "format-icons": { - "code": "💻", - "chat": "💬" - } - } -} + "niri/workspaces": { + "format": "{icon}", + "format-icons": { + "code": "💻", + "chat": "💬" + } + } +} \ No newline at end of file diff --git a/configs/niri/waybar/top-config.jsonc b/configs/niri/waybar/top-config.jsonc index edff217..ead7c87 100644 --- a/configs/niri/waybar/top-config.jsonc +++ b/configs/niri/waybar/top-config.jsonc @@ -9,7 +9,8 @@ "niri/window" ], "modules-center": [ - "clock" + "privacy", + "clock", ], "modules-right": [ "group/controls", diff --git a/hosts/extra/fwbook/wallpaper.gif b/hosts/extra/fwbook/wallpaper.gif deleted file mode 100644 index 5a54534..0000000 Binary files a/hosts/extra/fwbook/wallpaper.gif and /dev/null differ diff --git a/hosts/fwbook.nix b/hosts/fwbook.nix index 6a31305..ceeccd3 100644 --- a/hosts/fwbook.nix +++ b/hosts/fwbook.nix @@ -2,7 +2,6 @@ { pkgs, ... }: let zshFWBook = builtins.filterSource (p: t: true) ./scripts/fwbook; - backgroundImage = builtins.filterSource (p: t: true) ./extra/fwbook/wallpaper.gif; zshFunctions = zshFWBook + "/functions.sh"; openPorts = [ 8000 @@ -38,7 +37,6 @@ in niri.enable = true; background = { enable = true; - imagePath = backgroundImage; }; }; }; diff --git a/modules/nixos/desktop/tiler/swww.nix b/modules/nixos/desktop/tiler/swww.nix index 9144dea..94534ab 100644 --- a/modules/nixos/desktop/tiler/swww.nix +++ b/modules/nixos/desktop/tiler/swww.nix @@ -7,26 +7,22 @@ in skyg.nixos.desktop.tiler.background = { enable = lib.mkEnableOption "Enable background management for tiling window managers"; - imagePath = lib.mkOption { - type = lib.types.path; - description = "Path to the background image for tiling window managers."; - }; }; }; config = lib.mkIf cfg.background.enable { environment.systemPackages = with pkgs; [ swww - waytrogen + waypaper ]; - systemd.user.services.swww = { - description = "SWWW Background Manager"; + systemd.user.services.waypaper = { + description = "Waypaper Background Manager"; path = [ pkgs.swww ]; script = '' - ${pkgs.swww}/bin/swww-daemon + ${pkgs.waypaper}/bin/waypaper --restore ''; wantedBy = [ "graphical-session.target" ]; serviceConfig = { - ExecStartPost = "${pkgs.swww}/bin/swww img ${cfg.background.imagePath} --resize no"; + Type = "oneshot"; }; }; };