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,
lib,
inputs,
config,
system,
osConfig,
settings,
@ -224,7 +225,7 @@ in
timeout-critical = 0;
timeout-low = 2;
transition-time = 200;
widgets = [
widgets = lib.mkForce [
"title"
"notifications"
"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 === #
programs.rofi = {
enable = true;