fix: swaync gtk theme broken

This commit is contained in:
DACHXY 2025-04-15 14:51:25 +08:00
parent 42ab0e94ce
commit c392a1eaff

View file

@ -2,6 +2,7 @@
pkgs, pkgs,
lib, lib,
inputs, inputs,
config,
system, system,
osConfig, osConfig,
settings, settings,
@ -224,7 +225,7 @@ in
timeout-critical = 0; timeout-critical = 0;
timeout-low = 2; timeout-low = 2;
transition-time = 200; transition-time = 200;
widgets = [ widgets = lib.mkForce [
"title" "title"
"notifications" "notifications"
"mpris" "mpris"
@ -380,6 +381,15 @@ in
''; '';
}; };
systemd.user.services.swaync.Service = {
ExecStart = lib.mkForce ''${pkgs.swaynotificationcenter}/bin/swaync --config ${
config.xdg.configFile."swaync/config.json".target
} --style ${config.xdg.configFile."swaync/style.css".target}'';
Environment = [
"XDG_CONFIG_HOME=/home/_dummy"
];
};
# === rofi === # # === rofi === #
programs.rofi = { programs.rofi = {
enable = true; enable = true;