1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-05 08:31:03 +01:00

hyprshell: fixed tests to use correct name for style file

This commit is contained in:
Enrico Stemmer 2025-10-04 00:10:55 +02:00 committed by Austin Horstman
parent bdf78c2d2c
commit 66e9a024b9
3 changed files with 27 additions and 11 deletions

View file

@ -1,9 +1,17 @@
{ {
"kill_bind": "ctrl+shift+alt, h", "version": 3,
"layerrules": true,
"version": 1,
"windows": { "windows": {
"items_per_row": 5, "items_per_row": 5,
"scale": 8.5 "overview": {
"key": "super_l",
"launcher": {
"default_terminal": "alacritty"
},
"modifier": "super"
},
"scale": 8.5,
"switch": {
"modifier": "alt"
}
} }
} }

View file

@ -2,25 +2,33 @@
services.hyprshell = { services.hyprshell = {
enable = true; enable = true;
settings = { settings = {
layerrules = true; version = 3;
kill_bind = "ctrl+shift+alt, h";
version = 1;
windows = { windows = {
scale = 8.5; scale = 8.5;
items_per_row = 5; items_per_row = 5;
overview = {
key = "super_l";
modifier = "super";
launcher = {
default_terminal = "alacritty";
}; };
}; };
style = ./style.css; switch = {
modifier = "alt";
};
};
};
style = ./styles.css;
}; };
nmt.script = '' nmt.script = ''
assertFileExists home-files/.config/hyprshell/config.json assertFileExists home-files/.config/hyprshell/config.json
assertFileExists home-files/.config/hyprshell/style.css assertFileExists home-files/.config/hyprshell/styles.css
assertFileContent home-files/.config/hyprshell/config.json \ assertFileContent home-files/.config/hyprshell/config.json \
${./config.json} ${./config.json}
assertFileContent home-files/.config/hyprshell/style.css \ assertFileContent home-files/.config/hyprshell/styles.css \
${./style.css} ${./styles.css}
''; '';
} }