feat: make the script secure, as it needs root access and I don't want to enable NOPASSWD for the setup_screen_hypr script
This commit is contained in:
@@ -26,7 +26,13 @@ disable_integrated_display_if_connected_to_external_monitors() {
|
||||
waybar &
|
||||
|
||||
# reload the inputs, as they somehow get lost when a second monitor is attached
|
||||
sudo /home/tim/.local/bin/reload_inputs.sh
|
||||
sudo /usr/local/bin/reload_inputs.sh
|
||||
# contents of the script
|
||||
##!/bin/bash
|
||||
#sleep 5
|
||||
#udevadm trigger --action=remove --subsystem-match=input
|
||||
#sleep 0.5
|
||||
#udevadm trigger --action=add --subsystem-match=input
|
||||
}
|
||||
|
||||
disable_integrated_display_if_connected_to_external_monitors
|
||||
|
||||
Reference in New Issue
Block a user