diff --git a/dot_config/herbstluftwm/executable_monitors b/dot_config/herbstluftwm/executable_monitors index cdc0d01..419f45f 100644 --- a/dot_config/herbstluftwm/executable_monitors +++ b/dot_config/herbstluftwm/executable_monitors @@ -17,7 +17,7 @@ monitor="$(echo "$monitors" | rofi -dmenu -p "Choose a monitor")" [[ -z "$monitor" ]] && exit -direction="$(echo -e 'left\nright\nabove\nbelow\noff' | rofi -dmenu -p "Where you want it")" +direction="$(echo -e 'left-of\nright-of\nabove\nbelow\noff' | rofi -dmenu -p "Where you want it")" [[ -z "$direction" ]] && exit @@ -26,7 +26,7 @@ if [[ "$direction" = off ]] then action=(--off) else - action=("--${direction}-of" "$primary" --auto) + action=("--${direction}" "$primary" --auto) fi xrandr --output "$monitor" "${action[@]}"