Volume widget is a program, which shows system volume levels. It needs pulseaudio, alsa-utils, python3 and python-pyqt5 as dependencies. Note that dependencies might be different depending on your distribution.
#Volume widget Copyright (c) 2017 JJ Posti <techtimejourney.net>
#Volume widget comes with ABSOLUTELY NO WARRANTY;
#for details see: http://www.gnu.org/copyleft/gpl.html.
#This is free software, and you are welcome to redistribute it under
#GPL Version 2, June 1991″
Here are some screenshots
By default I have set Volume widget to a fixed position. If the position I have chosen does not work for you, then look at the code and change the coordinates. As always, the code is commented and easy to follow. I have also set Volume widget to ignore the close event. ALT+F4 will not work by default. If you need that functionality then comment out these lines
#Ignore ALT+F4. We want to avoid accidental closing.
def closeEvent(self, event):
event.ignore()
March 18 release is a code bug-fix release.
Download Volume widget(March 18 version).
Executing:
After downloading, decompress the archive and cd into the resulted directory.
If needed, make files executable:
chmod +x filename.py
OR
chmod +x filename.sh
Run with: python filename_location.py