aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'config/hypr/scripts')
-rwxr-xr-xconfig/hypr/scripts/DarkLight.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/hypr/scripts/DarkLight.sh b/config/hypr/scripts/DarkLight.sh
index e3af90c6..d34554fa 100755
--- a/config/hypr/scripts/DarkLight.sh
+++ b/config/hypr/scripts/DarkLight.sh
@@ -1,4 +1,4 @@
-
+#!/bin/bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# For Dark and Light switching
# Note: Scripts are looking for keywords Light or Dark except for wallpapers as the are in a separate folders
@@ -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
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage