1
0
Fork 0
mirror of https://github.com/Horhik/dotfiles.git synced 2024-11-26 18:11:33 +00:00
Dotfiles/.config/polybar/polybar-scripts/system-usb-udev/95-usb.rules
2020-07-27 07:59:00 +03:00

5 lines
221 B
Plaintext

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"