improve dmenu_displays to enforce specific mode as well (fuck EDID!)
This commit is contained in:
parent
75da38d8d8
commit
8c4aaaff92
1 changed files with 3 additions and 3 deletions
|
@ -7,9 +7,9 @@ fi
|
||||||
|
|
||||||
selection=$(printf "%s\n" $VARIANTS|/usr/bin/dmenu -p display "$@")
|
selection=$(printf "%s\n" $VARIANTS|/usr/bin/dmenu -p display "$@")
|
||||||
case $selection in
|
case $selection in
|
||||||
($VARIANTS[1]) /usr/bin/xrandr --output $DISPLAY_RIGHT --off --output $DISPLAY_LEFT --auto ;;
|
($VARIANTS[1]) /usr/bin/xrandr --output $EXT --off --output $BUILTIN $BUILTIN_MODE[@];;
|
||||||
($VARIANTS[2]) /usr/bin/xrandr --output $DISPLAY_LEFT --off --output $DISPLAY_RIGHT --auto ;;
|
($VARIANTS[2]) /usr/bin/xrandr --output $BUILTIN --off --output $EXT $EXT_MODE[@];;
|
||||||
($VARIANTS[3]) /usr/bin/xrandr --output $DISPLAY_LEFT --auto --output $DISPLAY_RIGHT --auto --right-of $DISPLAY_LEFT ;;
|
($VARIANTS[3]) /usr/bin/xrandr --output $BUILTIN $BUILTIN_MODE[@] --auto --output $EXT $EXT_MODE[@] --right-of $BUILTIN;;
|
||||||
(*) exit 1 ;;
|
(*) exit 1 ;;
|
||||||
esac
|
esac
|
||||||
/usr/bin/feh --bg-${WP_MODE-scale} $WALLPAPER
|
/usr/bin/feh --bg-${WP_MODE-scale} $WALLPAPER
|
||||||
|
|
Loading…
Reference in a new issue