feat: properly reload inputs

This commit is contained in:
2025-12-09 21:57:27 +01:00
parent 4111a7d090
commit 61017666ae
2 changed files with 9 additions and 4 deletions

View File

@@ -26,10 +26,7 @@ disable_integrated_display_if_connected_to_external_monitors() {
waybar &
# reload the inputs, as they somehow get lost when a second monitor is attached
sleep 5
sudo udevadm trigger --action=remove --subsystem-match=input
sleep 0.5
sudo udevadm trigger --action=add --subsystem-match=input
sudo /home/tim/.local/bin/reload_inputs.sh
}
disable_integrated_display_if_connected_to_external_monitors