Add compton toggle module for polybar

This commit is contained in:
natemaia
2017-12-07 22:18:59 -08:00
parent d4c9ea73af
commit ea01d6facd
2 changed files with 14 additions and 363 deletions

View File

@ -375,9 +375,21 @@ menu-3-3-exec = systemctl poweroff
;;;;;;;;;;;;;;;;;;;
;; Extra Modules
;; Extra Modules ;;
;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;
;; Compton Toggle ;;
;;;;;;;;;;;;;;;;;;;;
[module/compton_toggle]
type = custom/script
tail = true
label = %output%
click-left = toggle-compton --toggle
exec = toggle-compton
format = <label>
;;;;;;;;;;;;;;;
;; KEYBOARD ;;
;;;;;;;;;;;;;;;
@ -407,12 +419,11 @@ format-connected-foreground = ${colors.purple}
;;;;;;;;;;;;;;
[module/redshift]
type = custom/script
interval = 5
tail = true
exec = toggle-redshift
label = %output%
tail = true
click-left = toggle-redshift --toggle
click-right = toggle-redshift --toggle
;;;;;;;;;;;;;;;;