mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-04-02 07:15:55 -04:00
Merge ff2ea0a056 into 74d24c3cd9
This commit is contained in:
commit
b28923b8e7
1 changed files with 6 additions and 0 deletions
|
|
@ -100,6 +100,12 @@ in {
|
||||||
xdg.configFile = {
|
xdg.configFile = {
|
||||||
"mango/config.conf" = lib.mkIf (cfg.settings != "") {
|
"mango/config.conf" = lib.mkIf (cfg.settings != "") {
|
||||||
text = 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 != "") {
|
"mango/autostart.sh" = lib.mkIf (cfg.autostart_sh != "") {
|
||||||
source = autostart_sh;
|
source = autostart_sh;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue