This commit is contained in:
JumpIn-Git 2026-02-05 11:09:32 +08:00 committed by GitHub
commit 71c245fe65
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -100,6 +100,12 @@ in {
xdg.configFile = {
"mango/config.conf" = lib.mkIf (cfg.settings != "") {
text = cfg.settings;
onChange = ''
XDG_CURRENT_DESKTOP=''${XDG_CURRENT_DESKTOP}
if [[ $XDG_CURRENT_DESKTOP == "mango" ]]; then
mmsg -d reload-config
fi
'';
};
"mango/autostart.sh" = lib.mkIf (cfg.autostart_sh != "") {
source = autostart_sh;