aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/UserScripts/ZshChangeTheme.sh
diff options
context:
space:
mode:
authorJa.KooLit <85185940+JaKooLit@users.noreply.github.com>2025-01-29 15:21:36 +0900
committerGitHub <noreply@github.com>2025-01-29 15:21:36 +0900
commitb1fb8eb7dca70f7dcfbde42e7713e4b47cf7b6b8 (patch)
tree2096b4b884e61d92aa3aed791217dd8f478145c0 /config/hypr/UserScripts/ZshChangeTheme.sh
parent1436fe7b03be17f824ffecc5926184ef7837077d (diff)
parentfe7318f179d9e767e974e7613de3fdfdc8c3ddfd (diff)
Merge pull request #534 from JaKooLit/main
main to development synchronize
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