This is a collection of dotfiles and scripts for my bspwm setup
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

13 lines
374 B

# -*- conf -*-
# When usb keyboard is plugged in, run inputctl script
# Requires: run as local user with X variables set (DISPLAY and XAUTHORITY)
SUBSYSTEM=="usb",
ACTION=="add",
ATTRS{idVendor}=="04d9",
ATTRS{idProduct}=="0169",
OWNER="rick",
RUN+="/home/rick/.scripts/inputctl.sh -k on"
# https://wiki.archlinux.org/index.php/Udev#Execute_on_VGA_cable_plug_in