home · contact · privacy
Add caps lock indicator to i3status bar.
[config] / dotfiles / user / thinkpad / W530 / i3status.conf
index c3cea4b3a16c2f524909063b227a0e76c954a125..f566ffe15ee3bd6da4ff94fd2f310f31b595a315 100644 (file)
@@ -2,67 +2,87 @@
 
 # Activate colors; set update interval of one second.
 general {
-        colors = true
-        interval = 1
+  colors = true
+  interval = 1
 }
 
 # Selection / order of status elements.
 order += "disk /"
 order += "disk /home"
-order += "wireless wlan0"
+order += "wireless wlp3s0"
 order += "ethernet enp0s25"
 order += "battery 0"
+order += "cpu_usage"
+order += "load"
 order += "cpu_temperature 0"
 order += "cpu_temperature 1"
-order += "cpu_temperature 2"
-order += "cpu_temperature 3"
-order += "load"
 order += "time"
+order += "volume master"
 
 # How much space is left in / ?
 disk "/" {
-    format = "%free"
+  format = "/: %avail available of %total"
+  separator_block_width = 10
 }
 
 # How much space is left in /home ?
 disk "/home" {
-    format = "%free"
+  format = "/home: %avail available of %total"
+  separator_block_width = 40
 }
 
 
 # WLAN status: show IP and connection quality or "down".
-wireless wlan0 {
-        format_up = "W: (%quality at %essid) %ip"
-        format_down = "W: down"
+wireless wlp3s0 {
+  format_up = "w: (%quality at %essid) %ip"
+  format_down = "w: down"
+  separator_block_width = 10
 }
 
 # Ethernet status: show IP or "down".
 ethernet enp0s25 {
-        format_up = "E: %ip"
-        format_down = "E: down"
+  format_up = "e: %ip"
+  format_down = "e: down"
+  separator_block_width = 40
 }
 
 # Battery status: show FULL/CHARGING/BATTERY, storage, time left.
 battery 0 {
-        format = "%status %percentage %remaining"
+  format = "b: %status %percentage %remaining"
+  separator_block_width = 40
 }
 
-# Show CPU temperature in degrees of celsius.
-cpu_temperature 0 {
-        format = "T: %degrees °C"
-}
-cpu_temperature 1 {
-        format = "T: %degrees °C"
+# Show CPU usage.
+cpu_usage {
+  format = "cpu: %usage"
+  separator_block_width = 10
 }
 
 # Show system load during last 1/5/15 minutes.
 load {
-    format = "L: %1min %5min %15min"
+  format = "%1min %5min %15min"
+  separator_block_width = 40
+}
+
+# Show CPU temperature in degrees of celsius.
+cpu_temperature 0 {
+  format = "%degrees °C"
+  separator_block_width = 10
+}
+cpu_temperature 1 {
+  format = "%degrees °C"
+  separator_block_width = 40
 }
 
 # Show date/time/timezone as "year-month-day hour:minute:second
 # timezone_numeric/timezone_alphabetic".
 time {
+  format = "%Y-%m-%d %H:%M:%S %z/%Z"
+  separator_block_width = 40
+}
 
-    format = "%Y-%m-%d %H:%M:%S %z/%Z"
+volume master {
+  format = "♪: %volume"
+  format_muted = "♪: muted (%volume)"
+  separator_block_width = 40
 }