fix: reload inputs, as they are somehow missing

This commit is contained in:
2025-12-02 09:24:05 +01:00
parent 23be4c3748
commit 2bf47f0a43

View File

@@ -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