From 8299290ce024cae2ece883e77f92ff0487380ef7 Mon Sep 17 00:00:00 2001 From: Jan T Date: Wed, 10 Jun 2015 15:29:14 +0300 Subject: Added hashbang and encoding. Added alsa-utils package as a dependency. --- py3status/modules/volume_status.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'py3status') diff --git a/py3status/modules/volume_status.py b/py3status/modules/volume_status.py index f61e7df..2ef59fe 100644 --- a/py3status/modules/volume_status.py +++ b/py3status/modules/volume_status.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- """ Display current sound volume using amixer. Expands on the standard i3status volume module by adding color and percentage threshold settings. @@ -6,6 +8,9 @@ NOTE: If you want to refresh the module quicker than the i3status interval, send a USR1 signal to py3status in the keybinding. Example: killall -s USR1 py3status +Dependencies: + alsa-utils (tested with alsa-utils 1.0.29-1) + Configuration parameters: - format : format the output, available variables: {percentage} - format_mute : format the output when the volume is muted -- cgit v1.3