Fix XWayland primary monitor retry
This commit is contained in:
parent
ecb3438cfd
commit
fc811cda63
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ monitor = $SIDE,1920x1080@60,-1400x-1080,1
|
|||
# Autostart
|
||||
exec-once = waybar & hyprpaper & dbus-launch kdeconnect-indicator
|
||||
exec-once = /run/current-system/sw/bin/antimicrox --tray --hidden --eventgen uinput --profile /etc/antimicrox/controller-mouse.amgp
|
||||
exec-once = sh -lc 'sleep 5; for _ in $(seq 1 10); do out="$(/run/current-system/sw/bin/hyprctl monitors | /run/current-system/sw/bin/awk ''/^Monitor / { name=$2 } /description: LG Electronics LG ULTRAWIDE 512AZWSDD473/ { print name; exit }'')"; [ -z "$out" ] && sleep 2 && continue; /run/current-system/sw/bin/xrandr --query | /run/current-system/sw/bin/grep -q "^$out connected primary " && exit 0; /run/current-system/sw/bin/xrandr --output "$out" --primary --auto >/dev/null 2>&1 && exit 0; sleep 2; done'
|
||||
exec-once = sh -lc 'for _ in $(seq 1 60); do out="$(/run/current-system/sw/bin/hyprctl monitors | /run/current-system/sw/bin/awk '"'"'/^Monitor / { name=$2 } /description: LG Electronics LG ULTRAWIDE 512AZWSDD473/ { print name; exit }'"'"')"; if [ -n "$out" ] && /run/current-system/sw/bin/xrandr --query >/dev/null 2>&1; then /run/current-system/sw/bin/xrandr --output "$out" --primary --auto >/dev/null 2>&1; fi; sleep 2; done'
|
||||
|
||||
# Source a file (multi-file configs)
|
||||
# source = ~/.config/hypr/myColors.conf
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue