nwg-panel: fix commands (like lock, shutdown) to not run through swaymsg
This commit is contained in:
parent
0863505877
commit
891a29feeb
7
hosts/common/programs/nwg-panel/common-settings.json
Normal file
7
hosts/common/programs/nwg-panel/common-settings.json
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
{
|
||||||
|
"restart-on-display": true,
|
||||||
|
"restart-delay": 500,
|
||||||
|
"run-through-compositor": false,
|
||||||
|
"processes-background-only": true,
|
||||||
|
"processes-own-only": true
|
||||||
|
}
|
|
@ -110,6 +110,7 @@ in
|
||||||
src = ./style.css;
|
src = ./style.css;
|
||||||
inherit (cfg.config) fontSize clockFontSize;
|
inherit (cfg.config) fontSize clockFontSize;
|
||||||
};
|
};
|
||||||
|
fs.".config/nwg-panel/common-settings.json".symlink.target = ./common-settings.json;
|
||||||
fs.".config/nwg-panel/config".symlink.target = pkgs.writers.writeJSON "config" (import ./config.nix {
|
fs.".config/nwg-panel/config".symlink.target = pkgs.writers.writeJSON "config" (import ./config.nix {
|
||||||
inherit (cfg.config) locker height windowIcon windowTitle workspaceHideEmpty workspaceNumbers;
|
inherit (cfg.config) locker height windowIcon windowTitle workspaceHideEmpty workspaceNumbers;
|
||||||
# component order matters, mostly for the drop-down.
|
# component order matters, mostly for the drop-down.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user