mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-02-11 04:28:19 -05:00
Merge ff2ea0a056 into 8e898417a7
This commit is contained in:
commit
71c245fe65
1 changed files with 6 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue