Add compton toggle module for polybar
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
;;;;;;;;;;;;;;;;
|
||||
|
Reference in New Issue
Block a user