1
0
Fork 0
mirror of https://github.com/Horhik/dotfiles.git synced 2024-11-23 00:31:26 +00:00
Dotfiles/.config/polybar/polybar-scripts/info-usbtoserial
2020-07-27 07:59:00 +03:00
..
95-usbtoserial.rules add all dotfiles 2020-07-27 07:59:00 +03:00
info-usbtoserial.sh add all dotfiles 2020-07-27 07:59:00 +03:00
README.md add all dotfiles 2020-07-27 07:59:00 +03:00

Script: info-usbtoserial

A small script which shows the USB-to-Serial converters that are connected.

This script is able to display device changes in real time. For this udev is being used.

Configuration

Copy 95-usbtoserial.rules to /etc/udev/rules.d/95-usbtoserial.rules. Make sure that the paths in the file have been modified properly.

Module

[module/info-usbtoserial]
type = custom/script
exec = ~/polybar-scripts/info-usbtoserial.sh
tail = true