mirror of
https://github.com/nix-community/home-manager
synced 2024-11-14 07:09:45 +01:00
26 lines
542 B
Nix
26 lines
542 B
Nix
|
{ ... }:
|
||
|
|
||
|
{
|
||
|
xsession.windowManager.spectrwm = {
|
||
|
enable = true;
|
||
|
settings = {
|
||
|
bar_enabled = true;
|
||
|
bar_format = "+S [+R:+I] %a %b %d [%R]";
|
||
|
bar_justify = "center";
|
||
|
modkey = "Mod4";
|
||
|
};
|
||
|
programs = { term = "alacritty"; };
|
||
|
bindings = { term = "MOD+Shift+Return"; };
|
||
|
unbindings = [ "MOD+Return" ];
|
||
|
};
|
||
|
|
||
|
test.stubs.spectrwm = { };
|
||
|
|
||
|
nmt.script = ''
|
||
|
assertFileContent \
|
||
|
home-files/.config/spectrwm/spectrwm.conf ${
|
||
|
./spectrwm-simple-config-expected-spectrwm.conf
|
||
|
}
|
||
|
'';
|
||
|
}
|