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",
|
"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"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
switch = {
|
||||||
|
modifier = "alt";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
style = ./style.css;
|
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}
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue