home-manager/tests/modules/services/window-managers/wayfire/wf-shell.nix
1444 456e599f91
wayfire: add module (#6066)
Adds a Module for the Wayfire Compositor. Also allows managing the wf-shell configuration.
2025-01-08 16:18:57 +01:00

25 lines
570 B
Nix

{ pkgs, ... }: {
wayland.windowManager.wayfire = {
enable = true;
package = null;
wf-shell = {
enable = true;
package = pkgs.mkStubPackage { };
settings = {
panel = {
widgets_left = "menu spacing4 launchers window-list";
autohide = true;
};
};
};
};
nmt.script = ''
wfShellConfig=home-files/.config/wf-shell.ini
assertFileExists "$wfShellConfig"
normalizedConfig=$(normalizeStorePaths "$wfShellConfig")
assertFileContent "$normalizedConfig" "${./wf-shell.ini}"
'';
}