[waybar] feat: Add keyboard-state module
This commit is contained in:
parent
0fb52ce59e
commit
24ac842631
2 changed files with 14 additions and 1 deletions
|
@ -30,7 +30,7 @@
|
|||
"name": "keep",
|
||||
"position": "top",
|
||||
"height": 25,
|
||||
"modules-left": ["sway/mode"],
|
||||
"modules-left": ["sway/mode", "keyboard-state"],
|
||||
"modules-center": ["clock"],
|
||||
"modules-right": ["privacy"],
|
||||
|
||||
|
|
|
@ -83,6 +83,19 @@
|
|||
"tooltip": false
|
||||
},
|
||||
|
||||
"keyboard-state": {
|
||||
"format": {
|
||||
"capslock": "{icon}",
|
||||
},
|
||||
"format-icons": {
|
||||
"locked": "\uf023",
|
||||
"unlocked": ""
|
||||
},
|
||||
"numlock": false,
|
||||
"capslock": true,
|
||||
"scrollock": false,
|
||||
},
|
||||
|
||||
"memory": {
|
||||
"format": "{}% \uf1c0",
|
||||
"on-click": "kitty -e zenith"
|
||||
|
|
Loading…
Reference in a new issue