47 lines
610 B
Plaintext
47 lines
610 B
Plaintext
|
svkbd-mobile-intl &
|
||
|
|
||
|
choice=$(
|
||
|
printf "
|
||
|
vert-mode
|
||
|
hori-mode
|
||
|
keyb
|
||
|
nokeyb
|
||
|
musexplore
|
||
|
brave
|
||
|
chromium
|
||
|
close-wind
|
||
|
" | tmenu
|
||
|
)
|
||
|
|
||
|
pkill svkbd
|
||
|
|
||
|
case "$choice" in
|
||
|
"vert-mode")
|
||
|
xrandr --output LVDS-1 --rotate left
|
||
|
xinput set-prop "Wacom ISDv4 E6 Finger" 178 0 -1 1 1 0 0 0 0 1
|
||
|
sleep 4
|
||
|
;;
|
||
|
"hori-mode")
|
||
|
xrandr --output LVDS-1 --rotate normal
|
||
|
xinput set-prop "Wacom ISDv4 E6 Finger" 178 1 0 0 0 1 0 0 0 1
|
||
|
;;
|
||
|
"nokeyb")
|
||
|
pkill svkbd
|
||
|
;;
|
||
|
"keyb")
|
||
|
svkbd-mobile-intl & disown
|
||
|
;;
|
||
|
"musexplore")
|
||
|
musexplore
|
||
|
;;
|
||
|
"brave")
|
||
|
brave
|
||
|
;;
|
||
|
"chromium")
|
||
|
chromium
|
||
|
;;
|
||
|
"close-wind")
|
||
|
bspc node -c
|
||
|
;;
|
||
|
esac
|