dotfiles/.config/polybar/scripts/95-usb.rules

5 lines
273 B
Plaintext
Raw Normal View History

2020-07-04 22:48:06 +00:00
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"