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/info-softwarecounter
2020-07-27 07:59:00 +03:00
..
screenshots add all dotfiles 2020-07-27 07:59:00 +03:00
info-softwarecounter.py 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-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

Dependencies

  • wmctrl
  • pgrep

Module

[module/info-softwarecounter]
type = custom/script
exec = ~/polybar-scripts/info-softwarecounter.py
interval = 10