Modules/Hyprland: Update wallpaper and add rofi menu to select wallpapers
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
lib,
|
||||
mylib,
|
||||
...
|
||||
}: {
|
||||
}: rec {
|
||||
enable = lib.mkEnableOption "Hyprland Window Manager + Compositor";
|
||||
|
||||
kb-layout = lib.mkOption {
|
||||
@ -17,10 +17,32 @@
|
||||
description = "Keyboard layout variant";
|
||||
};
|
||||
|
||||
theme = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
# A bit dumb, but I want a single location where those are defined.
|
||||
# Only supposed to be set from here.
|
||||
wallpapers = lib.mkOption {
|
||||
type = lib.types.listOf lib.types.str;
|
||||
description = "Available wallpapers";
|
||||
|
||||
# Run eza -1 | sd ".png" "" | sd "^" "\"" | sd "\$" "\"" | sd "\"\"" "" | wl-copy
|
||||
# in ~/NixFlake/wallpapers/
|
||||
default = [
|
||||
"Blade-Runner-Atari"
|
||||
"Blade-Runner-Coca-Cola"
|
||||
"Blade-Runner-Downwards"
|
||||
"Blade-Runner-Upwards"
|
||||
"City-Outlook"
|
||||
"Cozy-Bedroom"
|
||||
"Everest-Fishing"
|
||||
"Foggy-Lake"
|
||||
"Three-Bears"
|
||||
];
|
||||
};
|
||||
|
||||
wallpaper = lib.mkOption {
|
||||
type = lib.types.enum wallpapers.default;
|
||||
example = "Three-Bears";
|
||||
description = "Wallpaper and colorscheme to use";
|
||||
description = "Wallpaper to use";
|
||||
default = "Foggy-Lake";
|
||||
};
|
||||
|
||||
dunst.enable = lib.mkEnableOption "Enable dunst notification daemon";
|
||||
|
Reference in New Issue
Block a user