Skip to content

Instantly share code, notes, and snippets.

@jigpu
jigpu / xorg-hotplug.sh
Created June 1, 2020 20:54
Wacom Autoconfig on Hotplug
#!/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