colors: multiple specialisations, specialisation selector

This commit is contained in:
Gabriel Fontes
2024-04-21 13:15:20 -03:00
parent 7b9b8600fc
commit a8a06dfddd
2 changed files with 17 additions and 1 deletions
+15 -1
View File
@@ -1,6 +1,7 @@
{
pkgs,
config,
lib,
...
}: {
imports = [
@@ -15,8 +16,21 @@
./features/music
];
wallpaper = pkgs.wallpapers.mountain-pink-purple;
wallpaper = lib.mkDefault pkgs.wallpapers.abstract-cyan-purple;
colorscheme.source = config.wallpaper;
specialisation = lib.mkForce (
lib.mapAttrs (n: w: {configuration.wallpaper = w;}) {
inherit
(pkgs.wallpapers)
abstract-cyan-purple
aurora-borealis-water-mountain
mountain-pink-purple
mountain-yellow-sunset
nebula-purple-gold
plains-gold-field
;
}
);
# ------ ----- ------
# | DP-3 | | DP-1| | DP-2 |
@@ -226,6 +226,8 @@ in {
lib.optionals config.programs.wofi.enable [
"SUPER,x,exec,${wofi} -S drun -x 10 -y 10 -W 25% -H 60%"
"SUPER,s,exec,specialisation $(specialisation | ${wofi} -S dmenu)"
"SUPERSHIFT,s,exec,specialisation $(specialisation | shuf -n1)"
"SUPER,d,exec,${wofi} -S run"
]
++ (