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;
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

View file

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

View file

@ -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];