mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-10-29 05:40:21 -04:00
make hm-module reload on change
This commit is contained in:
parent
75f45fd534
commit
27f75eb028
1 changed files with 3 additions and 0 deletions
|
|
@ -100,6 +100,9 @@ in {
|
|||
xdg.configFile = {
|
||||
"mango/config.conf" = lib.mkIf (cfg.settings != "") {
|
||||
text = cfg.settings;
|
||||
onChange = ''
|
||||
${self.packages.${pkgs.system}.mango}/bin/mmsg -d reload_config
|
||||
'';
|
||||
};
|
||||
"mango/autostart.sh" = lib.mkIf (cfg.autostart_sh != "") {
|
||||
source = autostart_sh;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue