[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",
|
"name": "keep",
|
||||||
"position": "top",
|
"position": "top",
|
||||||
"height": 25,
|
"height": 25,
|
||||||
"modules-left": ["sway/mode"],
|
"modules-left": ["sway/mode", "keyboard-state"],
|
||||||
"modules-center": ["clock"],
|
"modules-center": ["clock"],
|
||||||
"modules-right": ["privacy"],
|
"modules-right": ["privacy"],
|
||||||
|
|
||||||
|
|
|
@ -83,6 +83,19 @@
|
||||||
"tooltip": false
|
"tooltip": false
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"keyboard-state": {
|
||||||
|
"format": {
|
||||||
|
"capslock": "{icon}",
|
||||||
|
},
|
||||||
|
"format-icons": {
|
||||||
|
"locked": "\uf023",
|
||||||
|
"unlocked": ""
|
||||||
|
},
|
||||||
|
"numlock": false,
|
||||||
|
"capslock": true,
|
||||||
|
"scrollock": false,
|
||||||
|
},
|
||||||
|
|
||||||
"memory": {
|
"memory": {
|
||||||
"format": "{}% \uf1c0",
|
"format": "{}% \uf1c0",
|
||||||
"on-click": "kitty -e zenith"
|
"on-click": "kitty -e zenith"
|
||||||
|
|
Loading…
Reference in a new issue