jgwallpaperchanger

This commit is contained in:
2026-04-15 12:19:53 +02:00
parent 181f6d19d8
commit f8f60a43bb
2 changed files with 13 additions and 7 deletions

View File

@@ -353,22 +353,28 @@ if ! pgrep -f "mbwallpaper -s" > /dev/null; then
out2+=("^tag(favwp)")
out2+=("^sep($_FAVORITES_WP)")
if [[ "$wallpap" != "/usr/share/backgrounds/marek-piwnicki-FgagFhxW4Sc-unsplash.jpg" ]]; then
out2+=("<big>󰦛</big> $_DEFAULT_WP,nitrogen --set-scaled --save /usr/share/backgrounds/marek-piwnicki-FgagFhxW4Sc-unsplash.jpg;$me")
out2+=("^sep()")
:
else
isfav=1
fi
out2+=("<big></big> $_RAND_FAV,jgwallpaperchanger randomfav;$me")
out2+=("^sep()")
if [[ "${isfav}" != "1" ]];then
out2+=("<span fgcolor='red'><big>󱐮</big></span> $_ADD_FAV,jgwallpaperchanger addfav ${wallpap};$me")
out2+=("^sep()")
fi
out2+=("<big></big> $_RAND_FAV,jgwallpaperchanger randomfav;$me")
out2+=("^sep()")
out2+=("${favs[@]}")
out2+=("^sep()")
out2+=("<big></big> $_EDIT_FAV,xdg-open $FAVWP")
if [[ "$wallpap" != "/usr/share/backgrounds/marek-piwnicki-FgagFhxW4Sc-unsplash.jpg" ]]; then
out2+=("^sep()")
out2+=("<big>󰦛</big> $_DEFAULT_WP,nitrogen --set-scaled --save /usr/share/backgrounds/marek-piwnicki-FgagFhxW4Sc-unsplash.jpg;$me")
fi