2020-08-01 19:13:25 +00:00
|
|
|
#!/bin/dash
|
|
|
|
|
|
|
|
choices="arandr\nLVDS_off\ndual\nLVDS_on"
|
|
|
|
|
|
|
|
chosen=$(echo "$choices" | dmenu -i)
|
|
|
|
|
|
|
|
case "$chosen" in
|
|
|
|
arandr) arandr ;;
|
|
|
|
LVDS_off) xrandr --output LVDS-1-1 --off & ;;
|
2021-02-06 10:46:32 +00:00
|
|
|
dual) xrandr --output DP-4 --auto --output VGA-1-1 --right-of DP-4 ;;
|
2020-08-01 19:13:25 +00:00
|
|
|
LVDS_on) xrandr --output LVDS-1-1 --auto ;;
|
|
|
|
esac
|