summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan T <keppinakki@gmail.com>2015-06-10 15:29:14 +0300
committerJan T <keppinakki@gmail.com>2015-06-10 15:29:14 +0300
commit8299290ce024cae2ece883e77f92ff0487380ef7 (patch)
tree48c3789c02e0e0115394de40f76321e2a2ac1f17
parent06f8ed3d9f63c171fdda0205eef5e8d9ee4247f7 (diff)
Added hashbang and encoding.
Added alsa-utils package as a dependency.
-rw-r--r--py3status/modules/volume_status.py5
1 files changed, 5 insertions, 0 deletions
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