aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/UserScripts/ZshChangeTheme.sh
diff options
context:
space:
mode:
authorJaKooLit <ejhay.games@gmail.com>2025-01-27 11:11:28 +0900
committerJaKooLit <ejhay.games@gmail.com>2025-01-27 11:11:39 +0900
commit1f972b97f3b853f71e182737416c1ad485e53381 (patch)
tree988a2e3d81c53e231db045bf1528b569176d6047 /config/hypr/UserScripts/ZshChangeTheme.sh
parent31b1aa05196433e7c287eee68bdbce84b8be351a (diff)
replaced the bell logo for swaync in some scripts with own Discord logo
Diffstat (limited to 'config/hypr/UserScripts/ZshChangeTheme.sh')
-rwxr-xr-xconfig/hypr/UserScripts/ZshChangeTheme.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/config/hypr/UserScripts/ZshChangeTheme.sh b/config/hypr/UserScripts/ZshChangeTheme.sh
index 5132cd66..93cc4bf7 100755
--- a/config/hypr/UserScripts/ZshChangeTheme.sh
+++ b/config/hypr/UserScripts/ZshChangeTheme.sh
@@ -29,7 +29,7 @@ main() {
# if nothing selected, script won't change anything
if [ -z "$choice" ]; then
- notify-send -u low -i "$iDIR/bell.png" "No theme selected." "No changes made!"
+ notify-send -u low -i "$iDIR/ja.png" "No theme selected." "No changes made!"
exit 0
fi
@@ -40,16 +40,16 @@ main() {
# Pick a random theme from the original themes_array (excluding "Random")
random_theme=${themes_array[$((RANDOM % (${#themes_array[@]} - 1) + 1))]}
theme_to_set="$random_theme"
- notify-send -i "$iDIR/bell.png" "Random theme:" "selected: $random_theme"
+ notify-send -i "$iDIR/ja.png" "Random theme:" "selected: $random_theme"
else
# Set theme to the selected choice
theme_to_set="$choice"
- notify-send -i "$iDIR/bell.png" "Theme selected:" "$choice"
+ notify-send -i "$iDIR/ja.png" "Theme selected:" "$choice"
fi
if [ -f "$zsh_path" ]; then
sed -i "s/^$var_name=.*/$var_name=\"$theme_to_set\"/" "$zsh_path"
- notify-send -i "$iDIR/bell.png" "OMZ theme" "applied. restart your terminal"
+ notify-send -i "$iDIR/ja.png" "OMZ theme" "applied. restart your terminal"
else
notify-send "Error:" "~.zshrc file not found!"
fi
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage