This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Usage: | |
# xorg-hotplug.sh [device] | |
# | |
# device - Name of an Xorg device to configure. | |
# | |
# xorg-hotplug should be added to your window manager's list of startup programs. If | |
# run with no arguments, it will sit in the background monitoring for hotplug events | |
# by monitoring the Xorg log file. When a new device is connected, it will automatically |