Add tooltip and active status to OSK
This commit is contained in:
parent
559e55fb4c
commit
288e3fe82f
|
@ -168,9 +168,9 @@
|
|||
"tooltip": false
|
||||
},
|
||||
"custom/osk": {
|
||||
"format": "⌨",
|
||||
"interval": 1,
|
||||
"on-click": "${HOME}/scripts/waybar/waybar-keyboard.sh",
|
||||
"tooltip": false
|
||||
"exec": "if [ -e $HOME/.spool/onscreen-keyboard ]; then CLASS='activated'; else CLASS=''; fi; echo '⌨\nToggle onscreen keyboard\n'$CLASS",
|
||||
},
|
||||
"custom/pkg": {
|
||||
"interval": 60,
|
||||
|
|
|
@ -244,6 +244,11 @@ window#waybar {
|
|||
margin-bottom: -15px;
|
||||
}
|
||||
|
||||
#custom-osk.activated {
|
||||
/* background-color: @fg; */
|
||||
color: @white;
|
||||
}
|
||||
|
||||
/* Package upgrades */
|
||||
|
||||
#custom-pkg {
|
||||
|
|
Loading…
Reference in New Issue