hyprpaper: dropped 'enable' from randomWallpaper option

This commit is contained in:
Aly Raffauf 2024-04-20 15:00:32 -04:00
parent e63502bdf4
commit 67c6425c3b
3 changed files with 7 additions and 4 deletions

View file

@ -28,7 +28,7 @@
services.syncthing.enable = true; services.syncthing.enable = true;
desktop.hyprland = { desktop.hyprland = {
enable = true; enable = true;
hyprpaper.randomWallpaper.enable = true; hyprpaper.randomWallpaper = true;
}; };
apps = { apps = {
alacritty.enable = true; alacritty.enable = true;
@ -47,6 +47,9 @@
webCord.enable = true; webCord.enable = true;
}; };
}; };
wayland.windowManager.sway.config.assigns = {
"workspace 1" = [{ app_id = "firefox"; }];
};
wayland.windowManager.hyprland.extraConfig = '' wayland.windowManager.hyprland.extraConfig = ''
# Workspace - Browser # Workspace - Browser
# workspace = name:browser,1, rounding:false, decorate:false, gapsin:0, gapsout:0, border:false # workspace = name:browser,1, rounding:false, decorate:false, gapsin:0, gapsout:0, border:false

View file

@ -21,7 +21,7 @@
alyraffauf = { alyraffauf = {
desktop.hyprland = { desktop.hyprland = {
enable = true; enable = true;
hyprpaper.randomWallpaper.enable = false; hyprpaper.randomWallpaper = false;
}; };
apps = { apps = {
alacritty.enable = true; alacritty.enable = true;

View file

@ -23,11 +23,11 @@
''; '';
in { in {
options = { options = {
alyraffauf.desktop.hyprland.hyprpaper.randomWallpaper.enable = alyraffauf.desktop.hyprland.hyprpaper.randomWallpaper =
lib.mkEnableOption "Enables hyprpaper random wallpaper script."; 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. # Packages that should be installed to the user profile.
home.packages = with pkgs; [hyprpaper-random]; home.packages = with pkgs; [hyprpaper-random];