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"