aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJaKooLit <jimmielovejay.com>2024-05-12 02:39:24 +0900
committerJaKooLit <jimmielovejay.com>2024-05-12 02:39:24 +0900
commit4db173373a8c2b08468472928eb90520cb36f9be (patch)
tree0c505b0c134b28d235ed7db2d4d8152a0c63f4e5 /config
parente86a1b3e3fd185e37011ea4ff9d793273e777d73 (diff)
small tweak on the dark light switcher
Diffstat (limited to 'config')
-rwxr-xr-xconfig/hypr/scripts/DarkLight.sh9
1 files changed, 2 insertions, 7 deletions
diff --git a/config/hypr/scripts/DarkLight.sh b/config/hypr/scripts/DarkLight.sh
index 60f75d42..e6f212f6 100755
--- a/config/hypr/scripts/DarkLight.sh
+++ b/config/hypr/scripts/DarkLight.sh
@@ -49,9 +49,6 @@ notify_user() {
notify-send -u low -i "$notif" "Switching to $1 mode"
}
-# Print a message indicating the mode change
-echo "Changing palette mode to $next_mode..."
-
# Use sed to replace the palette setting in the wallust config file
if [ "$next_mode" = "Dark" ]; then
sed -i 's/^palette = .*/palette = "'"$pallete_dark"'"/' "$wallust_config"
@@ -59,9 +56,6 @@ else
sed -i 's/^palette = .*/palette = "'"$pallete_light"'"/' "$wallust_config"
fi
-
-# Print a message indicating the completion of the operation
-echo "Palette mode updated."
# Function to set Waybar style
set_waybar_style() {
theme="$1"
@@ -125,9 +119,9 @@ else
qt6ct_color_scheme="$HOME/.config/qt6ct/colors/Catppuccin-Latte.conf"
fi
-kvantummanager --set "$kvantum_theme"
sed -i "s|^color_scheme_path=.*$|color_scheme_path=$qt5ct_color_scheme|" "$HOME/.config/qt5ct/qt5ct.conf"
sed -i "s|^color_scheme_path=.*$|color_scheme_path=$qt6ct_color_scheme|" "$HOME/.config/qt6ct/qt6ct.conf"
+kvantummanager --set "$kvantum_theme"
# set the rofi color for background
@@ -224,6 +218,7 @@ ${SCRIPTSDIR}/WallustSwww.sh
sleep 1
${SCRIPTSDIR}/Refresh.sh
+sleep 0.3
# Display notifications for theme and icon changes
notify-send -u normal -i "$notif" "Themes in $next_mode Mode"
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage