~earboxer/osk0-wvkbd-wrapper

05dc45a8c8992e35f8ff608d2f3d86e3f6e900f8 — Zach DeCook 1 year, 2 months ago c5983b0
minor fixes
3 files changed, 4 insertions(+), 4 deletions(-)

M Makefile
M osk0-wvkbd-wrapper.desktop
M osk0-wvkbd-wrapper.sh
M Makefile => Makefile +2 -2
@@ 1,7 1,7 @@
install: dbus_request_name
	cp dbus_request_name /usr/bin/
	cp osk0-wvkbd-wrapper.sh /usr/bin/
	cp osk0-wvkbd-wrapper.desktop /usr/share/applications/
	cp osk0-wvkbd-wrapper.sh /usr/bin/
	cp dbus_request_name /usr/bin/

link:
	test -L /etc/alternatives/Phosh-OSK && ln -fs /usr/share/applications/osk0-wvkbd-wrapper.desktop /etc/alternatives/Phosh-OSK

M osk0-wvkbd-wrapper.desktop => osk0-wvkbd-wrapper.desktop +1 -1
@@ 2,7 2,7 @@
Type=Application
Name=osk0 Wayland Virtual Keyboard wrapper
Comment=Launches wvkbd when needed
Exec=/usr/bin/osk0-wvkbd-wrapper --allow-replacement
Exec=/usr/bin/osk0-wvkbd-wrapper.sh --allow-replacement
Categories=System;GNOME;Core;
OnlyShowIn=Phosh;
Icon=input-keyboard-symbolic

M osk0-wvkbd-wrapper.sh => osk0-wvkbd-wrapper.sh +1 -1
@@ 29,7 29,7 @@ close() {

dbus_request_name 'sm.puri.OSK0' &
pid="$(echo $!)"
dbus-monitor "interface='sm.puri.OSK0',member='SetVisible'" |
stdbuf -oL dbus-monitor "interface='sm.puri.OSK0',member='SetVisible'" |
	while read -r line; do
		echo "$line" | grep -i "boolean.*true" && open
		echo "$line" | grep -i "boolean.*false" && close