Additional swipe gestures to use with Phosh using lisgd, and quick menu overlay using eww (also used as a little hack to partially block input on the right edge with blank transparent narrow widget, so the swipes would not be passed to the underlying application)
Made for use with Droidian port for Poco X3 Pro and available in it's apt repo, though I think it should work anywhere with Phosh (or maybe even without, nothing Phosh-specific here, maybe only keybinding emulation)
- rofi-wayland
- lisgd
- eww
- wtype
- roboto-mono-nerd (I'm not sure I used this exact variation of the font)
- LISGD_INPUT_DEVICE variable should be exported pointing your touchscreen device, can be found with
libinput debug-events
. For example:
export LISGD_INPUT_DEVICE="/dev/input/event4"
phosh-overlay-launch.sh
launches the whole thing
Right edge:
-
Right-to-Left short swipe - Emulate Escape
-
Right-to-Left long swipe - Emulate Alt+F4
-
Short vertical swipe up - Toggle Rofi with drun/window/web search modes
-
Short vertical swipe down - Toggle the notification drawer
Bottom edge:
- Horizontal swipes - Switch windows back and forth
Bottom left corner:
- Down-Left-to-Up-Right short swipe - Toggle custom quick menu visibility
Bottom right corner:
- Down-Right-to-Up-Left swipe - Keyboard layout change