clean up & formatting
This commit is contained in:
@@ -32,6 +32,7 @@ blink=no
|
|||||||
[colors]
|
[colors]
|
||||||
background=1D1D20
|
background=1D1D20
|
||||||
foreground=D8D8D0
|
foreground=D8D8D0
|
||||||
|
alpha=0.9
|
||||||
|
|
||||||
regular0=181820
|
regular0=181820
|
||||||
regular1=E00010
|
regular1=E00010
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
source process-status.sh
|
source process-status.sh
|
||||||
|
|
||||||
set_reminder() {
|
function set_reminder {
|
||||||
message_reminder=$(
|
message_reminder=$(
|
||||||
cat <<'EOF'
|
cat <<'EOF'
|
||||||
enter reminder message to display when the timer rings
|
enter reminder message to display when the timer rings
|
||||||
@@ -20,10 +20,10 @@ EOF
|
|||||||
notify-send "ERROR" "[atd.service] is not running"
|
notify-send "ERROR" "[atd.service] is not running"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
reminder="$(rofi -dmenu -theme ~/.config/rofi/themes/input-dialog-blue.rasi -mesg "${message_reminder}")"
|
reminder="$(fuzzel --dmenu)"
|
||||||
if [[ -z "${reminder}" ]]; then return 1; fi
|
if [[ -z "${reminder}" ]]; then return 1; fi
|
||||||
|
|
||||||
time="$(rofi -dmenu -theme ~/.config/rofi/themes/input-dialog-blue.rasi -mesg "${message_time}")"
|
time="$(fuzzel --dmenu)"
|
||||||
if [[ -z "${time}" ]]; then return 1; fi
|
if [[ -z "${time}" ]]; then return 1; fi
|
||||||
|
|
||||||
if ! $(echo "notify-send '${reminder}'" | at "${time}"); then
|
if ! $(echo "notify-send '${reminder}'" | at "${time}"); then
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ select_audio_sink() {
|
|||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
selection="$(printf "%s\n" "${names[@]//\"/}" | rofi -dmenu -i --only-match)"
|
selection="$(printf "%s\n" "${names[@]//\"/}" | fuzzel --dmenu)"
|
||||||
|
|
||||||
unset number
|
unset number
|
||||||
for n in ${!names[@]}; do
|
for n in ${!names[@]}; do
|
||||||
|
|||||||
Reference in New Issue
Block a user