aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfig/hypr/scripts/DarkLight.sh4
-rw-r--r--config/rofi/config-wallpaper.rasi3
2 files changed, 3 insertions, 4 deletions
diff --git a/config/hypr/scripts/DarkLight.sh b/config/hypr/scripts/DarkLight.sh
index 6ce1526e..d34554fa 100755
--- a/config/hypr/scripts/DarkLight.sh
+++ b/config/hypr/scripts/DarkLight.sh
@@ -144,9 +144,9 @@ kvantummanager --set "$kvantum_theme"
# set the rofi color for background
if [ "$next_mode" = "Dark" ]; then
- sed -i '24s/.*/background: rgba(0,0,0,0.7);/' $wallust_rofi
+ sed -i '/^background:/s/.*/background: rgba(0,0,0,0.7);/' $wallust_rofi
else
- sed -i '24s/.*/background: rgba(255,255,255,0.9);/' $wallust_rofi
+ sed -i '/^background:/s/.*/background: rgba(255,255,255,0.9);/' $wallust_rofi
fi
diff --git a/config/rofi/config-wallpaper.rasi b/config/rofi/config-wallpaper.rasi
index b855cd22..3eec2b68 100644
--- a/config/rofi/config-wallpaper.rasi
+++ b/config/rofi/config-wallpaper.rasi
@@ -65,5 +65,4 @@ element-text {
vertical-align: 0.5;
horizontal-align: 0.5;
padding: 6px;
- margin: 6px;
-}
+ margin: 6px; \ No newline at end of file
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage