hosts/dunamis/configuration.nix: switch theme

modules/home/desktop/niri/default.nix: redo strings
modules/nixos/system/misc/default.nix: redo imports
modules/nixos/system/misc/{stylix.nix => stylix/default.nix}: self-telling

Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
2025-04-03 19:12:01 +03:00
parent 6fc63520e9
commit cd32750a9d
4 changed files with 47 additions and 11 deletions

View File

@ -256,7 +256,7 @@ in {
}
{
timeout = 601;
on-timeout = "${pkgs.niri}/bin/niri msg action power-off-monitors";
on-timeout = getExe pkgs.niri + " msg action power-off-monitors";
}
];
};
@ -715,8 +715,8 @@ in {
};
};
"tray" = {
icon-size = 24;
spacing = 2;
icon-size = 16;
spacing = 4;
};
"clock" = {
interval = 1;
@ -770,7 +770,7 @@ in {
format = "{volume}% {icon}";
format-muted = "󰖁";
format-icons = ["󰕿" "󰖀" "󰕾"];
on-click = "${pkgs.pwvucontrol}/bin/pwvucontrol";
on-click = getExe pkgs.pwvucontrol;
on-click-right = "wpctl set-mute @DEFAULT_SINK@ toggle";
};
"custom/notification" = {
@ -972,7 +972,10 @@ in {
if config.stylix.polarity == "dark"
then "Papirus-Dark"
else "Papirus-Light";
package = pkgs.papirus-nord;
package =
if osConfig.module.stylix.theme == "nord"
then pkgs.papirus-nord
else pkgs.papirus-icon-theme;
};
};
qt = {