aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/UserScripts/ZshChangeTheme.sh
diff options
context:
space:
mode:
authorJa.KooLit <85185940+JaKooLit@users.noreply.github.com>2025-01-29 16:10:32 +0900
committerGitHub <noreply@github.com>2025-01-29 16:10:32 +0900
commita6b009fe1b012c34da5aaf0798ba2eb4bcc2731f (patch)
treef43034a1aa0ddd05a32e590254621f7fd9226f38 /config/hypr/UserScripts/ZshChangeTheme.sh
parented4cd8ea4e146be0c98b5a083a2e289fb9e26eb0 (diff)
parentb1fb8eb7dca70f7dcfbde42e7713e4b47cf7b6b8 (diff)
Merge branch 'development' into windowrules
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