Forcing raw file overwrites
This commit is contained in:
@@ -4,7 +4,8 @@ let
|
||||
theme = "dark";
|
||||
in
|
||||
{
|
||||
home.file.".config/swaync/config.json".text = ''
|
||||
home.file.".config/swaync/config.json" = {
|
||||
text = ''
|
||||
{
|
||||
"$schema": "/etc/xdg/swaync/configSchema.json",
|
||||
"positionX": "left",
|
||||
@@ -115,9 +116,12 @@ in
|
||||
}
|
||||
}
|
||||
}
|
||||
'';
|
||||
'';
|
||||
force = true;
|
||||
};
|
||||
|
||||
home.file.".config/swaync/style_dark.css".text = ''
|
||||
home.file.".config/swaync/style_dark.css" = {
|
||||
text = ''
|
||||
:root {
|
||||
--font-family: "Monocraft";
|
||||
--accent-bg-color: rgb(214, 93, 14);
|
||||
@@ -690,9 +694,12 @@ notificationwindow, blankwindow, blankwindow {
|
||||
margin-left: 8px;
|
||||
border-radius: var(--border-radius);
|
||||
}
|
||||
'';
|
||||
'';
|
||||
force = true;
|
||||
};
|
||||
|
||||
home.file.".config/swaync/style_light.css".text = ''
|
||||
home.file.".config/swaync/style_light.css" = {
|
||||
text = ''
|
||||
:root {
|
||||
--font-family: "Monocraft";
|
||||
--accent-bg-color: #D65D0E;
|
||||
@@ -1265,7 +1272,12 @@ notificationwindow, blankwindow, blankwindow {
|
||||
margin-left: 8px;
|
||||
border-radius: var(--border-radius);
|
||||
}
|
||||
'';
|
||||
'';
|
||||
force = true;
|
||||
};
|
||||
|
||||
home.file.".config/swaync/style.css".source = config.home.file.".config/swaync/style_${theme}.css".source;
|
||||
home.file.".config/swaync/style.css" = {
|
||||
source = config.home.file.".config/swaync/style_${theme}.css".source;
|
||||
force = true;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user