diff --git a/hosts/phone/modules/sway/sway.conf b/hosts/phone/modules/sway/sway.conf index c1ff445..29d9e6e 100644 --- a/hosts/phone/modules/sway/sway.conf +++ b/hosts/phone/modules/sway/sway.conf @@ -1,7 +1,5 @@ set $mod Mod1 -bindsym $mod+Return workspace $ws1; exec foot -c /etc/xdg/foot/foot.ini -T terminal-sway - output DSI-1 scale 1.5 exec squeekboard @@ -13,8 +11,8 @@ exec lisgd \ -g "1,d,u, false" \ -g "2,l,r, swaymsg workspace prev" \ -g "2,r,l, swaymsg workspace next" \ - -g "2,u,d, swaymsg exec swayphone_keyboard_hide" \ - -g "2,d,u, swaymsg exec swayphone_keyboard_show" \ + -g "2,u,d, swaymsg exec busctl call --user sm.puri.OSK0 /sm/puri/OSK0 sm.puri.OSK0 SetVisible b false" \ + -g "2,d,u, swaymsg exec pidof squeekboard || squeekboard & busctl call --user sm.puri.OSK0 /sm/puri/OSK0 sm.puri.OSK0 SetVisible b true" \ -g "2,l,u, swaymsg fullscreen" \ -g "2,r,d, swaymsg kill" \ -g "3,l,r, swaymsg focus right" \