summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <amin@gnu.org>2018-08-17 19:05:12 -0400
committerAmin Bandali <amin@gnu.org>2018-08-17 19:05:12 -0400
commite939ef1a57eb3717398d32f9c3fd3ed71bb4ad72 (patch)
tree8c46b4bec0962f7cbc8286538788014529263fb6
parent40085087bfc85bf447146336efe4e4b8de44b572 (diff)
downloadconfigs-e939ef1a57eb3717398d32f9c3fd3ed71bb4ad72.tar.gz
configs-e939ef1a57eb3717398d32f9c3fd3ed71bb4ad72.tar.xz
configs-e939ef1a57eb3717398d32f9c3fd3ed71bb4ad72.zip
[rc/i3status] customizations
-rw-r--r--rc.org39
1 files changed, 25 insertions, 14 deletions
diff --git a/rc.org b/rc.org
index 8bf9622..ce39dff 100644
--- a/rc.org
+++ b/rc.org
@@ -923,31 +923,38 @@ general {
interval = 5
}
-order += "ipv6"
+# order += "ipv6"
order += "disk /"
+order += "disk /data"
order += "wireless _first_"
-order += "ethernet _first_"
-order += "battery all"
+# order += "ethernet _first_"
+order += "battery 0"
order += "load"
order += "tztime local"
wireless _first_ {
- format_up = "W: (%quality at %essid) %ip"
+ format_up = "W:%quality %essid %ip"
format_down = "W: down"
}
-ethernet _first_ {
- # if you use %speed, i3status requires root privileges
- format_up = "E: %ip (%speed)"
- format_down = "E: down"
-}
-
-battery all {
- format = "%status %percentage %remaining"
+# ethernet _first_ {
+# # if you use %speed, i3status requires root privileges
+# format_up = "E: %ip (%speed)"
+# format_down = "E: down"
+# }
+
+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
+ integer_battery_capacity = true
+ hide_seconds = true
}
tztime local {
- format = "%Y-%m-%d %H:%M:%S"
+ format = "%-I:%M%P %a %b %d"
}
load {
@@ -955,7 +962,11 @@ load {
}
disk "/" {
- format = "%avail"
+ format = "/ %avail"
+}
+
+disk "/data" {
+ format = "/data %avail"
}
#+end_src