summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <amin@gnu.org>2018-08-18 15:49:05 -0400
committerAmin Bandali <amin@gnu.org>2018-08-18 15:49:05 -0400
commit25bd9e84a1abb4039767c41c0c07d56230874c70 (patch)
treea0d13d6d89e543d7ebc9b639da3178f96caa531d
parent63073abd20bc940f6e0228a62ffc321b796e1519 (diff)
downloadconfigs-25bd9e84a1abb4039767c41c0c07d56230874c70.tar.gz
configs-25bd9e84a1abb4039767c41c0c07d56230874c70.tar.xz
configs-25bd9e84a1abb4039767c41c0c07d56230874c70.zip
[rc/i3status] add pulseaudio volume and adjust battery low_threshold
Diffstat (limited to '')
-rw-r--r--rc.org13
1 files 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"
}