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:
parent
bdf78c2d2c
commit
66e9a024b9
3 changed files with 27 additions and 11 deletions
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue