1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-05 16:41:04 +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",
"layerrules": true,
"version": 1,
"version": 3,
"windows": {
"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 = {
enable = true;
settings = {
layerrules = true;
kill_bind = "ctrl+shift+alt, h";
version = 1;
version = 3;
windows = {
scale = 8.5;
items_per_row = 5;
overview = {
key = "super_l";
modifier = "super";
launcher = {
default_terminal = "alacritty";
};
};
switch = {
modifier = "alt";
};
};
};
style = ./style.css;
style = ./styles.css;
};
nmt.script = ''
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 \
${./config.json}
assertFileContent home-files/.config/hyprshell/style.css \
${./style.css}
assertFileContent home-files/.config/hyprshell/styles.css \
${./styles.css}
'';
}