diff --git a/setup_screen_hypr.sh b/setup_screen_hypr.sh index 69c8633..77b5708 100755 --- a/setup_screen_hypr.sh +++ b/setup_screen_hypr.sh @@ -26,7 +26,9 @@ disable_integrated_display_if_connected_to_external_monitors() { waybar & # reload the inputs, as they somehow get lost when a second monitor is attached - hyprctl devices + sudo udevadm trigger --action=remove --subsystem-match=input + sleep 0.5 + sudo udevadm trigger --action=add --subsystem-match=input } disable_integrated_display_if_connected_to_external_monitors