aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/UserScripts
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
parent1436fe7b03be17f824ffecc5926184ef7837077d (diff)
parentfe7318f179d9e767e974e7613de3fdfdc8c3ddfd (diff)
Merge pull request #534 from JaKooLit/main
main to development synchronize
Diffstat (limited to 'config/hypr/UserScripts')
-rwxr-xr-xconfig/hypr/UserScripts/WallpaperEffects.sh6
-rwxr-xr-xconfig/hypr/UserScripts/ZshChangeTheme.sh8
2 files changed, 7 insertions, 7 deletions
diff --git a/config/hypr/UserScripts/WallpaperEffects.sh b/config/hypr/UserScripts/WallpaperEffects.sh
index 1e84742b..481489e9 100755
--- a/config/hypr/UserScripts/WallpaperEffects.sh
+++ b/config/hypr/UserScripts/WallpaperEffects.sh
@@ -49,7 +49,7 @@ no-effects() {
sleep 2
"$SCRIPTSDIR/Refresh.sh"
- notify-send -u low -i "$iDIR/bell.png" "No wallpaper" "effects applied"
+ notify-send -u low -i "$iDIR/ja.png" "No wallpaper" "effects applied"
# copying wallpaper for rofi menu
cp "$current_wallpaper" "$wallpaper_output"
}
@@ -71,7 +71,7 @@ main() {
no-effects
elif [[ "${effects[$choice]+exists}" ]]; then
# Apply selected effect
- notify-send -u normal -i "$iDIR/bell.png" "Applying:" "$choice effects"
+ notify-send -u normal -i "$iDIR/ja.png" "Applying:" "$choice effects"
eval "${effects[$choice]}"
# Wait for effects to be applied
sleep 1
@@ -85,7 +85,7 @@ main() {
sleep 0.5
# Refresh rofi, waybar, wallust palettes
"${SCRIPTSDIR}/Refresh.sh"
- notify-send -u low -i "$iDIR/bell.png" "$choice" "effects applied"
+ notify-send -u low -i "$iDIR/ja.png" "$choice" "effects applied"
else
echo "Effect '$choice' not recognized."
fi
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