diff options
author | Amin Bandali <amin@gnu.org> | 2018-08-18 15:49:05 -0400 |
---|---|---|
committer | Amin Bandali <amin@gnu.org> | 2018-08-18 15:49:05 -0400 |
commit | 25bd9e84a1abb4039767c41c0c07d56230874c70 (patch) | |
tree | a0d13d6d89e543d7ebc9b639da3178f96caa531d | |
parent | 63073abd20bc940f6e0228a62ffc321b796e1519 (diff) | |
download | configs-25bd9e84a1abb4039767c41c0c07d56230874c70.tar.gz configs-25bd9e84a1abb4039767c41c0c07d56230874c70.tar.xz configs-25bd9e84a1abb4039767c41c0c07d56230874c70.zip |
[rc/i3status] add pulseaudio volume and adjust battery low_threshold
-rw-r--r-- | rc.org | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -929,6 +929,7 @@ order += "disk /data" order += "wireless _first_" # order += "ethernet _first_" order += "battery 0" +order += "volume master" order += "load" order += "tztime local" @@ -946,9 +947,9 @@ wireless _first_ { battery 0 { format = "%status %percentage %remaining (%consumption)" path = "/sys/class/power_supply/BAT%d/uevent" - low_threshold = "30" - threshold_type = "time" - last_full_capacity = false + low_threshold = "10" + threshold_type = "percentage" + last_full_capacity = true integer_battery_capacity = true hide_seconds = true } @@ -957,6 +958,12 @@ tztime local { format = "%-I:%M%P %a %b %d" } +volume master { + format = "♪ %volume" + format_muted = "🔇 %volume" + device = "pulse" +} + load { format = "%1min" } |