diff --git a/.gitmodules b/.gitmodules index bb95830..4f856be 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ -[submodule "polybar/.local/share/pomo"] - path = polybar/.local/share/pomo +[submodule "polybar/.local/share/pomo-app"] + path = polybar/.local/share/pomo-app url = https://github.com/jsspencer/pomo.git diff --git a/polybar/.config/polybar/scripts/poly-pomo b/polybar/.config/polybar/scripts/poly-pomo index ccef2f4..a034d2d 100755 --- a/polybar/.config/polybar/scripts/poly-pomo +++ b/polybar/.config/polybar/scripts/poly-pomo @@ -28,7 +28,7 @@ if [ -z "$1" ]; then # B (break) # P (paused) with pomodoro symbols # remove seconds *except for* when 00 minutes reached - display=$(echo "$display" | sed -e 's/P.*$/  /;s/W/ /;s/B/ /;/00:/! { s/:[[:digit:]]\+$// }') + display=$(echo "$display" | sed -e 's/--:--/ /;s/P.*$/  /;s/W/ /;s/B/ /;/00:/! { s/:[[:digit:]]\+$// }') echo "$display" sleep 1 done @@ -36,6 +36,6 @@ elif [ "$1" = "toggle" ]; then pomo pause restart_notify elif [ "$1" = "restart" ]; then - pomo stop && pomo start + pomo stop restart_notify fi diff --git a/polybar/.local/bin/pomo b/polybar/.local/bin/pomo index c4dec47..43fcdaf 120000 --- a/polybar/.local/bin/pomo +++ b/polybar/.local/bin/pomo @@ -1 +1 @@ -../share/pomo/pomo.sh \ No newline at end of file +../share/pomo-app/pomo.sh \ No newline at end of file diff --git a/polybar/.local/share/pomo b/polybar/.local/share/pomo-app similarity index 100% rename from polybar/.local/share/pomo rename to polybar/.local/share/pomo-app