|
|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
#!/bin/bash |
|
|
|
|
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ## |
|
|
|
|
# /* ---- 💫 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 |
|
|
|
|
|
|
|
|
|
@ -64,7 +64,6 @@ set_waybar_style() {
|
|
|
|
|
set_waybar_style "$next_mode" |
|
|
|
|
notify_user "$next_mode" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# swaync color change |
|
|
|
|
if [ "$next_mode" = "Dark" ]; then |
|
|
|
|
sed -i '/@define-color noti-bg/s/rgba([0-9]*,\s*[0-9]*,\s*[0-9]*,\s*[0-9.]*);/rgba(0, 0, 0, 0.8);/' "${swaync_style}" |
|
|
|
|
@ -84,7 +83,6 @@ fi
|
|
|
|
|
# Update wallpaper using swww command |
|
|
|
|
$swww "${next_wallpaper}" $effect |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Set Kvantum Manager theme & QT5/QT6 settings |
|
|
|
|
if [ "$next_mode" = "Dark" ]; then |
|
|
|
|
kvantum_theme="Tokyo-Night" |
|
|
|
|
@ -166,7 +164,7 @@ set_custom_gtk_theme() {
|
|
|
|
|
echo "Selected icon theme for $mode mode: $selected_icon" |
|
|
|
|
gsettings set $icon_setting "$selected_icon" |
|
|
|
|
|
|
|
|
|
## QT5ct icon_theme |
|
|
|
|
# QT5ct icon_theme |
|
|
|
|
sed -i "s|^icon_theme=.*$|icon_theme=$selected_icon|" "$HOME/.config/qt5ct/qt5ct.conf" |
|
|
|
|
sed -i "s|^icon_theme=.*$|icon_theme=$selected_icon|" "$HOME/.config/qt6ct/qt6ct.conf" |
|
|
|
|
|
|
|
|
|
@ -197,4 +195,3 @@ ${SCRIPTSDIR}/Refresh.sh
|
|
|
|
|
notify-send -u normal -i "$notif" "Themes in $next_mode Mode" |
|
|
|
|
|
|
|
|
|
exit 0 |
|
|
|
|
|
|
|
|
|
|