From 25bd9e84a1abb4039767c41c0c07d56230874c70 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sat, 18 Aug 2018 15:49:05 -0400 Subject: [PATCH] [rc/i3status] add pulseaudio volume and adjust battery low_threshold --- rc.org | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/rc.org b/rc.org index ce39dff..e9a7fd2 100644 --- a/rc.org +++ b/rc.org @@ -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" } -- 2.20.1