23 lines
619 B
Bash
Executable File
23 lines
619 B
Bash
Executable File
#!/bin/bash
|
|
|
|
|
|
case $LANG in
|
|
pl*)
|
|
TITLE="Tapetowy pokaz slajdów"
|
|
TEXT="Uruchomiony został tapetowy pokaz slajdów.\nAby zakończyć kliknij ikonę w zasobniku systemowym."
|
|
CLICK="Kliknij aby zatrzymać tapetowy pokaz slajdów"
|
|
;;
|
|
*)
|
|
TITLE="Wallpaper Slideshow"
|
|
TEXT="Wallpaper Slideshow started!\nTo quit just click icon in systemtray."
|
|
CLICK="Click to stop Wallpaper slideshow"
|
|
;;
|
|
esac
|
|
|
|
mbwallpaper -s &
|
|
mbwallpaper_pid=$!
|
|
notify-send.sh -i emblem-photos "$TITLE" "$TEXT"
|
|
yad --notification --image emblem-photos --text "$CLICK"
|
|
kill -9 $mbwallpaper_pid
|
|
#wait $mbwallpaper_pid
|