mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-05 16:41:04 +01:00
hyprshell: add module (#7409)
This commit is contained in:
parent
50330593f3
commit
d81cb050f5
5 changed files with 193 additions and 0 deletions
26
tests/modules/services/hyprshell/example-config.nix
Normal file
26
tests/modules/services/hyprshell/example-config.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
services.hyprshell = {
|
||||
enable = true;
|
||||
settings = {
|
||||
layerrules = true;
|
||||
kill_bind = "ctrl+shift+alt, h";
|
||||
version = 1;
|
||||
windows = {
|
||||
scale = 8.5;
|
||||
items_per_row = 5;
|
||||
};
|
||||
};
|
||||
style = ./style.css;
|
||||
};
|
||||
|
||||
nmt.script = ''
|
||||
assertFileExists home-files/.config/hyprshell/config.json
|
||||
assertFileExists home-files/.config/hyprshell/style.css
|
||||
|
||||
assertFileContent home-files/.config/hyprshell/config.json \
|
||||
${./config.json}
|
||||
|
||||
assertFileContent home-files/.config/hyprshell/style.css \
|
||||
${./style.css}
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue