|
NAMEwaybar - keyboard-state moduleDESCRIPTIONThe keyboard-state module displays the state of number lock, caps lock, and scroll lock.You must be a member of the input group to use this module. CONFIGURATIONinterval:typeof: integer default: 1 The interval, in seconds, to poll the keyboard state. format:
format-icons:
numlock:
capslock:
scrolllock:
device-path:
FORMAT REPLACEMENTS{name}: Caps, Num, or Scroll.{icon}: Icon, as defined in format-icons. ICONSThe following format-icons can be set.•locked: Will be shown when the keyboard
state is locked. Default "locked".
•unlocked: Will be shown when the keyboard
state is not locked. Default "unlocked"
EXAMPLE:"keyboard-state": { "numlock": true, "capslock": true, "format": "{name} {icon}", "format-icons": { "locked": "", "unlocked": "" } } STYLE•#keyboard-state
•#keyboard-state label
•#keyboard-state label.locked
•#keyboard-state label.numlock
•#keyboard-state label.numlock.locked
•#keyboard-state label.capslock
•#keyboard-state
label.capslock.locked
•#keyboard-state label.scrolllock
•#keyboard-state
label.scrolllock.locked
Visit the GSP FreeBSD Man Page Interface. |