Forcing raw file overwrites
This commit is contained in:
@@ -4,10 +4,8 @@ let
|
|||||||
theme = "dark";
|
theme = "dark";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
##########
|
home.file.".config/fuzzel/fuzzel_dark.ini" = {
|
||||||
# FUZZEL #
|
text = ''
|
||||||
##########
|
|
||||||
home.file.".config/fuzzel/fuzzel_dark.ini".text = ''
|
|
||||||
# output=<not set>
|
# output=<not set>
|
||||||
font=Monocraft
|
font=Monocraft
|
||||||
# dpi-aware=auto
|
# dpi-aware=auto
|
||||||
@@ -127,8 +125,11 @@ radius=0
|
|||||||
# custom-18=Mod1+asterix
|
# custom-18=Mod1+asterix
|
||||||
# custom-19=Mod1+parentleft
|
# 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>
|
# output=<not set>
|
||||||
font=Monocraft
|
font=Monocraft
|
||||||
# dpi-aware=auto
|
# dpi-aware=auto
|
||||||
@@ -248,6 +249,11 @@ radius=0
|
|||||||
# custom-18=Mod1+asterix
|
# custom-18=Mod1+asterix
|
||||||
# custom-19=Mod1+parentleft
|
# 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";
|
theme = "dark";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
home.file.".config/swaync/config.json".text = ''
|
home.file.".config/swaync/config.json" = {
|
||||||
|
text = ''
|
||||||
{
|
{
|
||||||
"$schema": "/etc/xdg/swaync/configSchema.json",
|
"$schema": "/etc/xdg/swaync/configSchema.json",
|
||||||
"positionX": "left",
|
"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 {
|
:root {
|
||||||
--font-family: "Monocraft";
|
--font-family: "Monocraft";
|
||||||
--accent-bg-color: rgb(214, 93, 14);
|
--accent-bg-color: rgb(214, 93, 14);
|
||||||
@@ -691,8 +695,11 @@ notificationwindow, blankwindow, blankwindow {
|
|||||||
border-radius: var(--border-radius);
|
border-radius: var(--border-radius);
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
|
force = true;
|
||||||
|
};
|
||||||
|
|
||||||
home.file.".config/swaync/style_light.css".text = ''
|
home.file.".config/swaync/style_light.css" = {
|
||||||
|
text = ''
|
||||||
:root {
|
:root {
|
||||||
--font-family: "Monocraft";
|
--font-family: "Monocraft";
|
||||||
--accent-bg-color: #D65D0E;
|
--accent-bg-color: #D65D0E;
|
||||||
@@ -1266,6 +1273,11 @@ notificationwindow, blankwindow, blankwindow {
|
|||||||
border-radius: var(--border-radius);
|
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";
|
theme = "dark";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
home.file.".config/swayosd/style_dark.css".text = ''
|
home.file.".config/swayosd/style_dark.css" = {
|
||||||
|
text = ''
|
||||||
window#osd {
|
window#osd {
|
||||||
border-radius: 0px;
|
border-radius: 0px;
|
||||||
border: 2px solid #EBDBB2;
|
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 {
|
window#osd {
|
||||||
border-radius: 0px;
|
border-radius: 0px;
|
||||||
border: 2px solid #D5C4A1;
|
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";
|
theme = "dark";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
home.file.".config/waybar/custom/htt.sh".text = ''
|
home.file.".config/waybar/custom/htt.sh" = {
|
||||||
|
text = ''
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
if htt $HOME/.cache/htt/rules -q | grep float > /dev/null; then
|
if htt $HOME/.cache/htt/rules -q | grep float > /dev/null; then
|
||||||
echo '{"text": "", "class": "running", "tooltip": "Floating mode"}'
|
echo '{"text": "", "class": "running", "tooltip": "Floating mode"}'
|
||||||
@@ -12,8 +13,11 @@ else
|
|||||||
echo '{"text": "", "class": "stopped", "tooltip": "Tiling mode"}'
|
echo '{"text": "", "class": "stopped", "tooltip": "Tiling mode"}'
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
force = true;
|
||||||
|
};
|
||||||
|
|
||||||
home.file.".config/waybar/custom/hyprsunset.sh".text = ''
|
home.file.".config/waybar/custom/hyprsunset.sh" = {
|
||||||
|
text = ''
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
if pgrep -x hyprsunset > /dev/null; then
|
if pgrep -x hyprsunset > /dev/null; then
|
||||||
echo '{"text": "", "class": "running", "tooltip": "Night mode on"}'
|
echo '{"text": "", "class": "running", "tooltip": "Night mode on"}'
|
||||||
@@ -21,8 +25,11 @@ else
|
|||||||
echo '{"text": "", "class": "stopped", "tooltip": "Night mode off"}'
|
echo '{"text": "", "class": "stopped", "tooltip": "Night mode off"}'
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
force = true;
|
||||||
|
};
|
||||||
|
|
||||||
home.file.".config/waybar/config.jsonc".text = ''
|
home.file.".config/waybar/config.jsonc" = {
|
||||||
|
text = ''
|
||||||
// -*- mode: jsonc -*-
|
// -*- mode: jsonc -*-
|
||||||
[{
|
[{
|
||||||
"layer": "bottom", // Waybar at top layer
|
"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)*/
|
/*ACCENT COLOR: rgba(55, 87, 86, 1)*/
|
||||||
* {
|
* {
|
||||||
/* `otf-font-awesome` is required to be installed for icons */
|
/* `otf-font-awesome` is required to be installed for icons */
|
||||||
@@ -800,8 +810,11 @@ label:focus {
|
|||||||
box-shadow: inset 0 3px #689D6A;
|
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)*/
|
/*ACCENT COLOR: rgba(55, 87, 86, 1)*/
|
||||||
* {
|
* {
|
||||||
/* `otf-font-awesome` is required to be installed for icons */
|
/* `otf-font-awesome` is required to be installed for icons */
|
||||||
@@ -1201,6 +1214,11 @@ label:focus {
|
|||||||
box-shadow: inset 0 3px #427B58;
|
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