Add tooltip and active status to OSK
This commit is contained in:
parent
559e55fb4c
commit
288e3fe82f
|
@ -168,9 +168,9 @@
|
||||||
"tooltip": false
|
"tooltip": false
|
||||||
},
|
},
|
||||||
"custom/osk": {
|
"custom/osk": {
|
||||||
"format": "⌨",
|
"interval": 1,
|
||||||
"on-click": "${HOME}/scripts/waybar/waybar-keyboard.sh",
|
"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": {
|
"custom/pkg": {
|
||||||
"interval": 60,
|
"interval": 60,
|
||||||
|
|
|
@ -244,6 +244,11 @@ window#waybar {
|
||||||
margin-bottom: -15px;
|
margin-bottom: -15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#custom-osk.activated {
|
||||||
|
/* background-color: @fg; */
|
||||||
|
color: @white;
|
||||||
|
}
|
||||||
|
|
||||||
/* Package upgrades */
|
/* Package upgrades */
|
||||||
|
|
||||||
#custom-pkg {
|
#custom-pkg {
|
||||||
|
|
Loading…
Reference in New Issue