aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/UserScripts/ZshChangeTheme.sh
diff options
context:
space:
mode:
authorJa.KooLit <85185940+JaKooLit@users.noreply.github.com>2025-01-27 10:59:27 +0900
committerGitHub <noreply@github.com>2025-01-27 10:59:27 +0900
commit1436fe7b03be17f824ffecc5926184ef7837077d (patch)
tree7154800e8c56ee1f74aa080cc485ce9d98a68f20 /config/hypr/UserScripts/ZshChangeTheme.sh
parent6c4db42efd6519f13b7e3b6375c16b8d2cb928f9 (diff)
parent31b1aa05196433e7c287eee68bdbce84b8be351a (diff)
Merge pull request #532 from JaKooLit/main
main to development synchronization
Diffstat (limited to 'config/hypr/UserScripts/ZshChangeTheme.sh')
-rwxr-xr-xconfig/hypr/UserScripts/ZshChangeTheme.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/config/hypr/UserScripts/ZshChangeTheme.sh b/config/hypr/UserScripts/ZshChangeTheme.sh
index 7fe7eb39..5132cd66 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/bell.png" "No theme selected." "No changes made!"
exit 0
fi
@@ -40,18 +40,18 @@ 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/bell.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/bell.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 updated" " restart your terminal"
+ notify-send -i "$iDIR/bell.png" "OMZ theme" "applied. restart your terminal"
else
- notify-send " Error: .zshrc file not found!"
+ 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