fixed calcurse syncing script for polybar
This commit is contained in:
parent
33e21b2be8
commit
c0194b9119
@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/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)
|
OUTPUT=$(CALCURSE_CALDAV_PASSWORD=$(pass show cal.keegandeppe.com/kdeppe 2>&1) calcurse-caldav 2>&1)
|
||||||
ERRORS=$(echo "$OUTPUT" | grep error)
|
ERRORS=$(echo "$OUTPUT" | grep error)
|
||||||
|
@ -243,6 +243,7 @@ type = custom/ipc
|
|||||||
hook-0 = echo -e '\uf073'
|
hook-0 = echo -e '\uf073'
|
||||||
hook-1 = echo -e '%{F#0F0}\uf274'
|
hook-1 = echo -e '%{F#0F0}\uf274'
|
||||||
hook-2 = echo -e '%{F#F00}\uf273'
|
hook-2 = echo -e '%{F#F00}\uf273'
|
||||||
|
hook-3 = echo -e '%{F#FF0}\uf073'
|
||||||
initial = 1
|
initial = 1
|
||||||
click-left = calcurse-sync.sh
|
click-left = calcurse-sync.sh
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user