13 lines
300 B
Bash
13 lines
300 B
Bash
|
#!/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 & ;;
|
||
|
dual) xrandr --output DP-4 --auto --output LVDS-1-1 --right-of DP-4 ;;
|
||
|
LVDS_on) xrandr --output LVDS-1-1 --auto ;;
|
||
|
esac
|