|
@@ -1,81 +1,54 @@
|
|
-# i3status configuration file.
|
|
|
|
-# see "man i3status" for documentation.
|
|
|
|
-
|
|
|
|
-# It is important that this file is edited as UTF-8.
|
|
|
|
-# The following line should contain a sharp s:
|
|
|
|
-# ß
|
|
|
|
-# If the above line is not correctly displayed, fix your editor first!
|
|
|
|
-
|
|
|
|
-general {
|
|
|
|
- colors = true
|
|
|
|
- interval = 5
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-# order += "ipv6"
|
|
|
|
-order += "disk /"
|
|
|
|
-# order += "run_watch DHCP"
|
|
|
|
-# order += "run_watch VPN"
|
|
|
|
-order += "wireless _first_"
|
|
|
|
-order += "ethernet _first_"
|
|
|
|
-order += "volume master"
|
|
|
|
-order += "battery 0"
|
|
|
|
-order += "cpu_temperature 0"
|
|
|
|
-order += "load"
|
|
|
|
-order += "tztime local"
|
|
|
|
-
|
|
|
|
-wireless _first_ {
|
|
|
|
- format_up = "W: %essid %ip %quality %bitrate"
|
|
|
|
- format_down = "W: down"
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-ethernet _first_ {
|
|
|
|
- # if you use %speed, i3status requires root privileges
|
|
|
|
- format_up = "E: %ip (%speed)"
|
|
|
|
- format_down = "E: down"
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-battery 0 {
|
|
|
|
- format = "%status %percentage %emptytime %consumption"
|
|
|
|
- status_bat = ⚡
|
|
|
|
- status_chr = ⚇
|
|
|
|
- status_full = ☻
|
|
|
|
- last_full_capacity = false # true
|
|
|
|
- integer_battery_capacity = true
|
|
|
|
- hide_seconds = true
|
|
|
|
- low_threshold = 30
|
|
|
|
- threshold_type = time
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-run_watch DHCP {
|
|
|
|
- pidfile = "/var/run/dhclient*.pid"
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-run_watch VPN {
|
|
|
|
- pidfile = "/var/run/vpnc/pid"
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-tztime local {
|
|
|
|
- format = "%Y-%m-%d %H:%M:%S"
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-load {
|
|
|
|
- format = "%1min %5min"
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-cpu_temperature 0 {
|
|
|
|
- format = "%degrees°C"
|
|
|
|
- path = "/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input"
|
|
|
|
- max_threshold = 80
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-disk "/" {
|
|
|
|
- format = "%avail"
|
|
|
|
- low_threshold = 8
|
|
|
|
- threshold_type = gbytes_avail
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-volume master {
|
|
|
|
- device = pulse # default sink
|
|
|
|
- format = "♪ %volume"
|
|
|
|
- format_muted = "♪ %volume" # yellow
|
|
|
|
-}
|
|
|
|
|
|
+command=/usr/share/i3blocks/$BLOCK_NAME
|
|
|
|
+separator_block_width=32
|
|
|
|
+markup=none
|
|
|
|
+
|
|
|
|
+[volume 5% pulse]
|
|
|
|
+label=♪
|
|
|
|
+interval=30
|
|
|
|
+signal=10
|
|
|
|
+
|
|
|
|
+# default alert threshold 10%
|
|
|
|
+[disk 4]
|
|
|
|
+label=
|
|
|
|
+interval=30
|
|
|
|
+
|
|
|
|
+[iface]
|
|
|
|
+label=eth
|
|
|
|
+instance=eth0
|
|
|
|
+color=#00FF80
|
|
|
|
+interval=10
|
|
|
|
+
|
|
|
|
+[iface]
|
|
|
|
+label=wifi
|
|
|
|
+instance=wlan0
|
|
|
|
+color=#BFFF00
|
|
|
|
+interval=10
|
|
|
|
+separator=false
|
|
|
|
+
|
|
|
|
+[wifi]
|
|
|
|
+label=
|
|
|
|
+interval=10
|
|
|
|
+
|
|
|
|
+[bandwidth]
|
|
|
|
+interval=5
|
|
|
|
+
|
|
|
|
+[cpu_usage]
|
|
|
|
+label=
|
|
|
|
+interval=10
|
|
|
|
+separator=false
|
|
|
|
+
|
|
|
|
+[load_average]
|
|
|
|
+interval=10
|
|
|
|
+separator=false
|
|
|
|
+
|
|
|
|
+[temperature]
|
|
|
|
+label=
|
|
|
|
+interval=10
|
|
|
|
+
|
|
|
|
+[battery]
|
|
|
|
+label=⚡
|
|
|
|
+interval=30
|
|
|
|
+
|
|
|
|
+[time]
|
|
|
|
+command=date '+%a %Y-%m-%d %H:%M:%S'
|
|
|
|
+interval=5
|