add wvkbd-mobintl

This commit is contained in:
Simon Rieger 2023-05-31 13:29:46 +02:00
parent 8f65d1d7db
commit 590ccbff70
3 changed files with 23 additions and 7 deletions

View file

@ -348,6 +348,9 @@ exec /usr/bin/lxqt-policykit-agent
# Clipboard Manager # Clipboard Manager
exec wl-paste -t text --watch clipman store exec wl-paste -t text --watch clipman store
# wvkbd - On-screen keyboard for wlroots that sucks less
exec wvkbd-mobintl --hidden --fn 'DejaVuSansMono Nerd Font 14' -l 'simple,special,emoji,arabic' -L 240
exec swayidle -w \ exec swayidle -w \
timeout 300 'swaylock -f' \ timeout 300 'swaylock -f' \
timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \ timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \

View file

@ -22,15 +22,16 @@
"temperature", "temperature",
"backlight", "backlight",
"custom/wl-gammarelay-temperature", "custom/wl-gammarelay-temperature",
"custom/wl-gammarelay-brightness", //"custom/wl-gammarelay-brightness",
"custom/wl-gammarelay-gamma", //"custom/wl-gammarelay-gamma",
"keyboard-state", //"keyboard-state",
"sway/language", //"sway/language",
"custom/events",
"clock",
"battery", "battery",
"battery#bat2", "battery#bat2",
"clock", "tray",
"custom/events", "custom/wvkbd"
"tray"
], ],
// Modules configuration // Modules configuration
"sway/workspaces": { "sway/workspaces": {
@ -247,5 +248,12 @@
}, },
"exec": "~/.config/waybar/waybar-khal.py", "exec": "~/.config/waybar/waybar-khal.py",
"return-type": "json" "return-type": "json"
},
"custom/wvkbd": {
"format": "{icon}",
"format-icons": {
"default": ""
},
"on-click": "pkill --signal SIGRTMIN wvkbd-mobintl"
} }
} }

View file

@ -91,6 +91,7 @@ button:hover {
#custom-wl-gammarelay-brightness, #custom-wl-gammarelay-brightness,
#custom-wl-gammarelay-gamma, #custom-wl-gammarelay-gamma,
#custom-events, #custom-events,
#custom-wvkbd,
#mpd { #mpd {
padding: 0 10px; padding: 0 10px;
color: #ffffff; color: #ffffff;
@ -166,6 +167,10 @@ label:focus {
background-color: #90b1b1; background-color: #90b1b1;
} }
#custom-wvkbd {
background-color: #2980b9;
}
#network { #network {
background-color: #2980b9; background-color: #2980b9;
} }