nwg-panel: fix commands (like lock, shutdown) to not run through swaymsg

This commit is contained in:
Colin 2024-06-18 02:49:30 +00:00
parent 0863505877
commit 891a29feeb
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,7 @@
{
"restart-on-display": true,
"restart-delay": 500,
"run-through-compositor": false,
"processes-background-only": true,
"processes-own-only": true
}

View File

@ -110,6 +110,7 @@ in
src = ./style.css;
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 {
inherit (cfg.config) locker height windowIcon windowTitle workspaceHideEmpty workspaceNumbers;
# component order matters, mostly for the drop-down.