dotfiles/.config/polybar/scripts/95-usb.rules
2020-07-05 00:48:06 +02:00

5 lines
273 B
Plaintext

KERNEL=="sd*", ACTION=="add", ATTR{removable}=="1", \
RUN+="/home/ishaan/.config/polybar/scripts/system-usb-udev/system-usb-udev.sh --update"
KERNEL=="sd*", ACTION=="remove", \
RUN+="/home/ishaan/.config/polybar/scripts/system-usb-udev/system-usb-udev.sh --update"