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/info-softwarecounter/README.md

26 lines
694 B
Markdown
Raw Normal View History

2020-07-27 04:59:00 +00:00
# Script: info-softwarecounter
A script that counts the number of specified running software including GUIs and processes.
Options to only monitor GUI applications or only processes exist. Users can add their own applications or processes they wish to watch simply by updating the existing dictionaries at the start of the script.
Arbitrary program counts can be combined, for example, the vim/nvim or chrome/chromium counts can be added together and the total displayed.
![info-softwarecounter](screenshots/1.png)
## Dependencies
* `wmctrl`
* `pgrep`
## Module
```
[module/info-softwarecounter]
type = custom/script
exec = ~/polybar-scripts/info-softwarecounter.py
interval = 10
```