aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfig/hypr/UserScripts/WallpaperEffects.sh6
-rwxr-xr-xconfig/hypr/UserScripts/ZshChangeTheme.sh10
2 files changed, 8 insertions, 8 deletions
diff --git a/config/hypr/UserScripts/WallpaperEffects.sh b/config/hypr/UserScripts/WallpaperEffects.sh
index 08eaf924..1e84742b 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"
+ notify-send -u low -i "$iDIR/bell.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/bell.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/bell.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 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