dot_testing/builds/utils/tabletmenu

51 lines
639 B
Plaintext
Raw Permalink Normal View History

2024-02-04 07:48:42 -06:00
svkbd-mobile-intl &
choice=$(
printf "
vert-mode
hori-mode
keyb
nokeyb
musexplore
brave
chromium
run
2024-02-04 07:48:42 -06:00
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
;;
"run")
tmenu_run
;;
2024-02-04 07:48:42 -06:00
"close-wind")
bspc node -c
;;
esac