From f1ee9580a227328e8866087abfc31a91530f4eac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Dudr?= Date: Tue, 19 Mar 2024 21:21:32 +0100 Subject: [PATCH] monitor menu --- dot_config/herbstluftwm/executable_monitors | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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[@]}"