
#!/usr/bin/bash
while true
do
zenity --question --no-wrap --text="آب خوردی؟" --ok-label="ها" --cancel-label="دو دقه واسا"
status=$?
while [ $status -eq 1 ]
do
sleep 3m
zenity --question --no-wrap --text="آب خوردی؟" --ok-label="ها" --cancel-label="دو دقه واسا"
status=$?
done
sleep 30m;
done
cat /home/saeb/.config/autostart/sbs.saeb.water.desktop
[Desktop Entry]
Name=DrinkWater
GenericName=Drink water
Comment=Some description about your script
Exec=/home/saeb/.local/bin/drinkwater.bash
Terminal=true
Type=Application
X-GNOME-Autostart-enabled=true
پسندها
(1)شاکی
(0)

