Dotfiles V.1.1.5
Updated Neovim Plugins as well as cleaned up aerospace config and sketbar config and added fastfetch config
This commit is contained in:
20
.config/sketchybar/plugins/pomodoro.sh
Executable file
20
.config/sketchybar/plugins/pomodoro.sh
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/bin/bash
|
||||
|
||||
STATUS=$(/usr/local/bin/pomodoro status)
|
||||
|
||||
if [ -z "$STATUS" ]; then
|
||||
sketchybar --set pomodoro icon="" \
|
||||
label="Start a Session!" \
|
||||
icon.color="0xffed8796" \
|
||||
label.color="0xffed8796"
|
||||
elif /usr/local/bin/pomodoro status | grep -q "❗"; then
|
||||
sketchybar --set pomodoro icon="" \
|
||||
label="Good Job!" \
|
||||
icon.color="0xffed8796" \
|
||||
label.color="0xffed8796"
|
||||
elif /usr/local/bin/pomodoro status | grep -q "🍅"; then
|
||||
sketchybar --set pomodoro icon="" \
|
||||
label="$(/usr/local/bin/pomodoro status -f "%r")" \
|
||||
icon.color="0xfff5bde6" \
|
||||
label.color="0xfff5bde6"
|
||||
fi
|
||||
Reference in New Issue
Block a user