1
0
Fork 0
mirror of https://github.com/Horhik/dotfiles.git synced 2024-11-30 03:51:28 +00:00
Dotfiles/.config/polybar/polybar-scripts/system-usb-udev/95-usb.rules

5 lines
221 B
Plaintext
Raw Normal View History

2020-07-27 04:59:00 +00:00
KERNEL=="sd*", ACTION=="add", ATTR{removable}=="1", \
RUN+="/home/user/.config/polybar/system-usb-udev.sh --update"
KERNEL=="sd*", ACTION=="remove", \
RUN+="/home/user/.config/polybar/system-usb-udev.sh --update"