2020-05-09 13:43:39 +02:00
|
|
|
#!/bin/bash
|
2020-10-04 00:40:03 +02:00
|
|
|
choices="Left\nRight\nDuplicated\nHDMI\nMonitor\nTV\n"
|
2020-05-09 13:43:39 +02:00
|
|
|
|
|
|
|
chosen=$(echo -e "$choices" | dmenu -i)
|
|
|
|
|
|
|
|
case "$chosen" in
|
|
|
|
Monitor) mons -o ;;
|
|
|
|
Duplicated) mons -d ;;
|
|
|
|
Left) mons -e left ;;
|
|
|
|
Right) mons -e right ;;
|
2020-10-04 00:40:03 +02:00
|
|
|
HDMI) mons -s ;;
|
|
|
|
TV) xrandr --output HDMI-1 --left-of eDP-1 --mode 1366x768 --rate 60
|
2020-05-09 13:43:39 +02:00
|
|
|
esac
|