Dotfiles/.config/polybar/themes/monolit-dracula/polybar-scripts/system-usb-udev/95-usb.rules

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"