home-manager: programs.valw.noctalia.enable; README and checklist
This commit is contained in:
1 parent
127d44040e
commit
9fa71fd399
4 files changed
+64
-13
No files matched your search
@@ -45,6 +45,12 @@
|
||||
valw at build time. Empty means valw's defaults.
|
||||
'';
|
||||
};
|
||||
noctalia.enable = lib.mkEnableOption ''
|
||||
valw's Noctalia plugin (a bar button, the toolbar as a Noctalia
|
||||
panel and a control-center tile), linked into
|
||||
`$XDG_DATA_HOME/noctalia/plugins/valw`. Enable `elars/valw` and
|
||||
place its widget in Noctalia's own settings
|
||||
'';
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
@@ -52,6 +58,9 @@
|
||||
xdg.configFile."valw/config.toml" = lib.mkIf (cfg.settings != { }) {
|
||||
source = checked cfg.settings;
|
||||
};
|
||||
xdg.dataFile."noctalia/plugins/valw" = lib.mkIf cfg.noctalia.enable {
|
||||
source = "${cfg.package}/share/valw/noctalia-plugin";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user