From: Amin Bandali Date: Sat, 18 Aug 2018 19:49:05 +0000 (-0400) Subject: [rc/i3status] add pulseaudio volume and adjust battery low_threshold X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/25bd9e84a1abb4039767c41c0c07d56230874c70 [rc/i3status] add pulseaudio volume and adjust battery low_threshold --- 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" }