polybar: Make i3's mode-label clickable to reset
Reset to the "default" i3 mode when clicking on the mode-label. This makes it easy to recover from a mode without binding to `mode default`.
This commit is contained in:
@@ -67,6 +67,9 @@ label-urgent = %name%
|
|||||||
label-urgent-background = ${colors.alert}
|
label-urgent-background = ${colors.alert}
|
||||||
label-urgent-padding = ${self.label-focused-padding}
|
label-urgent-padding = ${self.label-focused-padding}
|
||||||
|
|
||||||
|
; click on mode to reset to default
|
||||||
|
label-mode = %{A1:i3-msg mode default:}%mode%%{A}
|
||||||
|
|
||||||
;#################################################
|
;#################################################
|
||||||
|
|
||||||
[module/pulseaudio]
|
[module/pulseaudio]
|
||||||
|
|||||||
Reference in New Issue
Block a user