From 0d34373a2e0dbf739d6243362c6c850efb420397 Mon Sep 17 00:00:00 2001 From: "Ja.KooLit" <85185940+JaKooLit@users.noreply.github.com> Date: Sun, 2 Mar 2025 15:11:26 +0900 Subject: Update DarkLight.sh - disabling theme switcher for now. I dont have time to fix. I will find the fix on next release --- config/hypr/scripts/DarkLight.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/hypr/scripts') diff --git a/config/hypr/scripts/DarkLight.sh b/config/hypr/scripts/DarkLight.sh index 6ce1526e..e3af90c6 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 -- cgit v1.2.3 From 8ead68af4e161693f82e5dcd37118d7a2dac24d5 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sun, 2 Mar 2025 15:46:17 +0900 Subject: this should fix the rofi issue --- config/hypr/scripts/DarkLight.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'config/hypr/scripts') 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 -- cgit v1.2.3