From 2bf47f0a432e0d97de497139a0e9872fe8ce8bcd Mon Sep 17 00:00:00 2001 From: Tim Wundenberg Date: Tue, 2 Dec 2025 09:24:05 +0100 Subject: [PATCH] fix: reload inputs, as they are somehow missing --- setup_screen_hypr.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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