Forcing raw file overwrites

This commit is contained in:
2026-04-18 14:38:09 +02:00
parent d8b0eff04c
commit 5ffdc39090
4 changed files with 76 additions and 31 deletions

View File

@@ -4,7 +4,8 @@ let
theme = "dark";
in
{
home.file.".config/swayosd/style_dark.css".text = ''
home.file.".config/swayosd/style_dark.css" = {
text = ''
window#osd {
border-radius: 0px;
border: 2px solid #EBDBB2;
@@ -53,9 +54,12 @@ window#osd {
}
}
}
'';
'';
force = true;
};
home.file.".config/swayosd/style_light.css".text = ''
home.file.".config/swayosd/style_light.css" = {
text = ''
window#osd {
border-radius: 0px;
border: 2px solid #D5C4A1;
@@ -104,7 +108,12 @@ window#osd {
}
}
}
'';
'';
force = true;
};
home.file.".config/swayosd/style.css".source = config.home.file.".config/swayosd/style_${theme}.css".source;
home.file.".config/swayosd/style.css" = {
source = config.home.file.".config/swayosd/style_${theme}.css".source;
force = true;
};
}