22 lines
368 B
Plaintext
22 lines
368 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
hours=$(echo -e "0\n1\n2\n3\n4\n5\n6" | rofi -dmenu -theme appsmenu)
|
||
|
|
||
|
if [ -z $hours ]; then
|
||
|
exit 0
|
||
|
fi
|
||
|
|
||
|
minutes=$(echo -e "0\n5\n10\n15\n30\n45" | rofi -dmenu -theme appsmenu)
|
||
|
|
||
|
if [ -z $minutes ]; then
|
||
|
exit 0
|
||
|
fi
|
||
|
|
||
|
seconds=$(echo -e "0\n10\n15\n30\n45" | rofi -dmenu -theme appsmenu)
|
||
|
|
||
|
if [ -z $seconds ]; then
|
||
|
exit 0
|
||
|
fi
|
||
|
|
||
|
timer $hours $minutes $seconds &
|