Forcing raw file overwrites
This commit is contained in:
@@ -4,10 +4,8 @@ let
|
||||
theme = "dark";
|
||||
in
|
||||
{
|
||||
##########
|
||||
# FUZZEL #
|
||||
##########
|
||||
home.file.".config/fuzzel/fuzzel_dark.ini".text = ''
|
||||
home.file.".config/fuzzel/fuzzel_dark.ini" = {
|
||||
text = ''
|
||||
# output=<not set>
|
||||
font=Monocraft
|
||||
# dpi-aware=auto
|
||||
@@ -127,8 +125,11 @@ radius=0
|
||||
# custom-18=Mod1+asterix
|
||||
# custom-19=Mod1+parentleft
|
||||
'';
|
||||
force = true;
|
||||
};
|
||||
|
||||
home.file.".config/fuzzel/fuzzel_light.ini".text = ''
|
||||
home.file.".config/fuzzel/fuzzel_light.ini" = {
|
||||
text = ''
|
||||
# output=<not set>
|
||||
font=Monocraft
|
||||
# dpi-aware=auto
|
||||
@@ -248,6 +249,11 @@ radius=0
|
||||
# custom-18=Mod1+asterix
|
||||
# custom-19=Mod1+parentleft
|
||||
'';
|
||||
force = true;
|
||||
};
|
||||
|
||||
home.file.".config/fuzzel/fuzzel.ini".source = config.home.file.".config/fuzzel/fuzzel_${theme}.ini".source;
|
||||
home.file.".config/fuzzel/fuzzel.ini" = {
|
||||
source = config.home.file.".config/fuzzel/fuzzel_${theme}.ini".source;
|
||||
force = true;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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",
|
||||
@@ -116,8 +117,11 @@ 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);
|
||||
@@ -691,8 +695,11 @@ notificationwindow, blankwindow, blankwindow {
|
||||
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;
|
||||
@@ -1266,6 +1273,11 @@ notificationwindow, blankwindow, blankwindow {
|
||||
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;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
@@ -54,8 +55,11 @@ 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;
|
||||
@@ -105,6 +109,11 @@ 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;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -4,7 +4,8 @@ let
|
||||
theme = "dark";
|
||||
in
|
||||
{
|
||||
home.file.".config/waybar/custom/htt.sh".text = ''
|
||||
home.file.".config/waybar/custom/htt.sh" = {
|
||||
text = ''
|
||||
#!/bin/bash
|
||||
if htt $HOME/.cache/htt/rules -q | grep float > /dev/null; then
|
||||
echo '{"text": "", "class": "running", "tooltip": "Floating mode"}'
|
||||
@@ -12,8 +13,11 @@ else
|
||||
echo '{"text": "", "class": "stopped", "tooltip": "Tiling mode"}'
|
||||
fi
|
||||
'';
|
||||
force = true;
|
||||
};
|
||||
|
||||
home.file.".config/waybar/custom/hyprsunset.sh".text = ''
|
||||
home.file.".config/waybar/custom/hyprsunset.sh" = {
|
||||
text = ''
|
||||
#!/bin/bash
|
||||
if pgrep -x hyprsunset > /dev/null; then
|
||||
echo '{"text": "", "class": "running", "tooltip": "Night mode on"}'
|
||||
@@ -21,8 +25,11 @@ else
|
||||
echo '{"text": "", "class": "stopped", "tooltip": "Night mode off"}'
|
||||
fi
|
||||
'';
|
||||
force = true;
|
||||
};
|
||||
|
||||
home.file.".config/waybar/config.jsonc".text = ''
|
||||
home.file.".config/waybar/config.jsonc" = {
|
||||
text = ''
|
||||
// -*- mode: jsonc -*-
|
||||
[{
|
||||
"layer": "bottom", // Waybar at top layer
|
||||
@@ -399,8 +406,11 @@ fi
|
||||
}
|
||||
}]
|
||||
'';
|
||||
force = true;
|
||||
};
|
||||
|
||||
home.file.".config/waybar/style_dark.css".text = ''
|
||||
home.file.".config/waybar/style_dark.css" = {
|
||||
text = ''
|
||||
/*ACCENT COLOR: rgba(55, 87, 86, 1)*/
|
||||
* {
|
||||
/* `otf-font-awesome` is required to be installed for icons */
|
||||
@@ -800,8 +810,11 @@ label:focus {
|
||||
box-shadow: inset 0 3px #689D6A;
|
||||
}
|
||||
'';
|
||||
force = true;
|
||||
};
|
||||
|
||||
home.file.".config/waybar/style_light.css".text = ''
|
||||
home.file.".config/waybar/style_light.css" = {
|
||||
text = ''
|
||||
/*ACCENT COLOR: rgba(55, 87, 86, 1)*/
|
||||
* {
|
||||
/* `otf-font-awesome` is required to be installed for icons */
|
||||
@@ -1201,6 +1214,11 @@ label:focus {
|
||||
box-shadow: inset 0 3px #427B58;
|
||||
}
|
||||
'';
|
||||
force = true;
|
||||
};
|
||||
|
||||
home.file.".config/waybar/style.css".source = config.home.file.".config/waybar/style_${theme}.css".source;
|
||||
home.file.".config/waybar/style.css" = {
|
||||
source = config.home.file.".config/waybar/style_${theme}.css".source;
|
||||
force = true;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user