Skip to content

quelotic/polybarModules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Custom Polybar Modules

Dependencies: ttf-font-awesome

mail

Checks the server for unread mails. If there is any, polybar shows the number of unread mails and the appropriate icon.

1. Download the script
2. Make it executable (chmod +x)
3. If you are using gmail, change the server to: imap.gmail.com (port is the same)
4. Add the next part to your polybar config
[module/mail]
type = custom/script
exec = /path/to/mail.py
interval = 30
label =  %output%
click-left = exec firefox hotmail.com &

caffeine

Provides a menu to control caffeine-ng

X:      close the menu
PLAY:   activate
PAUSE:  deactivate
STOP:   kill
[module/caffeine]
type = custom/menu

label-open = 
label-close = 
label-open-padding = 0
label-close-padding = 1
label-separator = " "

menu-0-0 = 
menu-0-0-exec = caffeine -a
menu-0-1 = 
menu-0-1-exec = caffeine -d
menu-0-2 = 
menu-0-2-exec = caffeine kill

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages