fix: reload inputs, as they are somehow missing
This commit is contained in:
@@ -26,7 +26,9 @@ disable_integrated_display_if_connected_to_external_monitors() {
|
|||||||
waybar &
|
waybar &
|
||||||
|
|
||||||
# reload the inputs, as they somehow get lost when a second monitor is attached
|
# 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
|
disable_integrated_display_if_connected_to_external_monitors
|
||||||
|
|||||||
Reference in New Issue
Block a user