fixed calcurse syncing script for polybar

nvim
spinach 2 years ago
parent 33e21b2be8
commit c0194b9119

@ -1,5 +1,7 @@
#!/bin/bash
# yellow for in progress
polybar-msg action calendar-sync hook 3 1>/dev/null
OUTPUT=$(CALCURSE_CALDAV_PASSWORD=$(pass show cal.keegandeppe.com/kdeppe 2>&1) calcurse-caldav 2>&1)
ERRORS=$(echo "$OUTPUT" | grep error)

@ -243,6 +243,7 @@ type = custom/ipc
hook-0 = echo -e '\uf073'
hook-1 = echo -e '%{F#0F0}\uf274'
hook-2 = echo -e '%{F#F00}\uf273'
hook-3 = echo -e '%{F#FF0}\uf073'
initial = 1
click-left = calcurse-sync.sh

Loading…
Cancel
Save