Fix waybar not visible on second monitor after toggling mirroring twice
Some checks failed
Update Nix Flake / update-flake (push) Failing after 15s
Some checks failed
Update Nix Flake / update-flake (push) Failing after 15s
This commit is contained in:
parent
9af362b5c8
commit
67d68a9946
@ -62,5 +62,6 @@ if [ "$MIRROR_SETTING" = "none" ]; then
|
|||||||
echo "mirroring..."
|
echo "mirroring..."
|
||||||
hyprctl keyword monitor "$EXTERNAL_MONITOR, preferred, auto, 1, mirror, $INTERNAL_MONITOR"
|
hyprctl keyword monitor "$EXTERNAL_MONITOR, preferred, auto, 1, mirror, $INTERNAL_MONITOR"
|
||||||
else
|
else
|
||||||
|
hyprctl keyword monitor "$EXTERNAL_MONITOR, disable" # shortly disable monitor so waybar recognizes the new monitor again # TODO: find better solution
|
||||||
hyprctl keyword monitor "$EXTERNAL_MONITOR, preferred, auto, 1"
|
hyprctl keyword monitor "$EXTERNAL_MONITOR, preferred, auto, 1"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user