This website works better with JavaScript.
Home
Help
Sign In
mehalter
/
dotfiles
Watch
1
Star
1
Fork
0
Code
Issues
0
Pull Requests
0
Releases
9
Wiki
Activity
Browse Source
Added error handling to mail syncing notification on polybar
ansible
Micah Halter
1 year ago
parent
a118ba4882
commit
8d2eed6d63
2 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
offlineimap/.config/systemd/user/offlineimap-oneshot.service.d/override.conf
+1
-0
polybar/.config/polybar/config
+ 1
- 1
offlineimap/.config/systemd/user/offlineimap-oneshot.service.d/override.conf
View File
@ -1,4 +1,4 @@
[Service]
Environment=DISPLAY=:0
ExecStartPre=polybar-msg hook mail 2
ExecStop=polybar-msg hook mail 1
ExecStop
Post=/bin/sh -c 'if [ "$$EXIT_STATUS"
=
0 ]; then
polybar-msg hook mail 1
; else polybar-msg hook mail 3; fi'
+ 1
- 0
polybar/.config/polybar/config
View File
@ -140,6 +140,7 @@ format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
hook-0 = /home/micah/.config/polybar/scripts/mail
hook-1 = echo -e '\u21bb'
hook-2 = echo -e '\ue0ae'
initial = 1
[module/backup]
Write
Preview
Loading…
Cancel
Save