From 67c6425c3b44588a2d12c1351db4770eff24d362 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sat, 20 Apr 2024 15:00:32 -0400 Subject: [PATCH] hyprpaper: dropped 'enable' from randomWallpaper option --- aly.nix | 5 ++++- dustin.nix | 2 +- .../desktop/hypr/hyprpaper/hyprpaper-random.nix | 4 ++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/aly.nix b/aly.nix index e425c422..d92880e3 100644 --- a/aly.nix +++ b/aly.nix @@ -28,7 +28,7 @@ services.syncthing.enable = true; desktop.hyprland = { enable = true; - hyprpaper.randomWallpaper.enable = true; + hyprpaper.randomWallpaper = true; }; apps = { alacritty.enable = true; @@ -47,6 +47,9 @@ webCord.enable = true; }; }; + wayland.windowManager.sway.config.assigns = { + "workspace 1" = [{ app_id = "firefox"; }]; + }; wayland.windowManager.hyprland.extraConfig = '' # Workspace - Browser # workspace = name:browser,1, rounding:false, decorate:false, gapsin:0, gapsout:0, border:false diff --git a/dustin.nix b/dustin.nix index 7cbf3ea9..8adad6f7 100644 --- a/dustin.nix +++ b/dustin.nix @@ -21,7 +21,7 @@ alyraffauf = { desktop.hyprland = { enable = true; - hyprpaper.randomWallpaper.enable = false; + hyprpaper.randomWallpaper = false; }; apps = { alacritty.enable = true; diff --git a/homeManagerModules/desktop/hypr/hyprpaper/hyprpaper-random.nix b/homeManagerModules/desktop/hypr/hyprpaper/hyprpaper-random.nix index 876e85b8..717bd258 100644 --- a/homeManagerModules/desktop/hypr/hyprpaper/hyprpaper-random.nix +++ b/homeManagerModules/desktop/hypr/hyprpaper/hyprpaper-random.nix @@ -23,11 +23,11 @@ ''; in { options = { - alyraffauf.desktop.hyprland.hyprpaper.randomWallpaper.enable = + alyraffauf.desktop.hyprland.hyprpaper.randomWallpaper = lib.mkEnableOption "Enables hyprpaper random wallpaper script."; }; - config = lib.mkIf config.alyraffauf.desktop.hyprland.hyprpaper.randomWallpaper.enable { + config = lib.mkIf config.alyraffauf.desktop.hyprland.hyprpaper.randomWallpaper { # Packages that should be installed to the user profile. home.packages = with pkgs; [hyprpaper-random];