diff options
Diffstat (limited to 'i3status.conf')
| -rw-r--r-- | i3status.conf | 33 |
1 files changed, 31 insertions, 2 deletions
diff --git a/i3status.conf b/i3status.conf index 34a56d9..fd093ed 100644 --- a/i3status.conf +++ b/i3status.conf | |||
| @@ -8,11 +8,13 @@ | |||
| 8 | 8 | ||
| 9 | general { | 9 | general { |
| 10 | colors = true | 10 | colors = true |
| 11 | color_good = "#88ff88" | ||
| 12 | color_bad = "#880000" | ||
| 11 | interval = 5 | 13 | interval = 5 |
| 14 | output_format = i3bar | ||
| 12 | } | 15 | } |
| 13 | 16 | ||
| 14 | order += "ipv6" | 17 | order += "ipv6" |
| 15 | order += "disk /" | ||
| 16 | # order += "run_watch VPN" | 18 | # order += "run_watch VPN" |
| 17 | order += "path_exists VPN" | 19 | order += "path_exists VPN" |
| 18 | order += "run_watch DHCP" | 20 | order += "run_watch DHCP" |
| @@ -20,9 +22,24 @@ order += "run_watch DHCP" | |||
| 20 | order += "ethernet _first_" | 22 | order += "ethernet _first_" |
| 21 | order += "ethernet enp7s0" | 23 | order += "ethernet enp7s0" |
| 22 | # order += "battery 0" | 24 | # order += "battery 0" |
| 25 | order += "volume master" | ||
| 26 | order += "cpu_temperature 1" | ||
| 27 | order += "cpu_usage" | ||
| 23 | order += "load" | 28 | order += "load" |
| 29 | order += "disk /" | ||
| 24 | order += "tztime local" | 30 | order += "tztime local" |
| 25 | 31 | ||
| 32 | ipv6 | ||
| 33 | { | ||
| 34 | format_down = "" | ||
| 35 | } | ||
| 36 | |||
| 37 | cpu_temperature 1 | ||
| 38 | { | ||
| 39 | format = "%degrees°C" | ||
| 40 | path = "/sys/class/thermal/thermal_zone2/temp" | ||
| 41 | } | ||
| 42 | |||
| 26 | wireless _first_ { | 43 | wireless _first_ { |
| 27 | format_up = "W: (%quality at %essid) %ip" | 44 | format_up = "W: (%quality at %essid) %ip" |
| 28 | format_down = "W: down" | 45 | format_down = "W: down" |
| @@ -48,12 +65,14 @@ battery 0 { | |||
| 48 | 65 | ||
| 49 | run_watch DHCP { | 66 | run_watch DHCP { |
| 50 | pidfile = "/var/run/dhclient*.pid" | 67 | pidfile = "/var/run/dhclient*.pid" |
| 68 | format = "%title" | ||
| 51 | } | 69 | } |
| 52 | 70 | ||
| 53 | 71 | ||
| 54 | path_exists VPN { | 72 | path_exists VPN { |
| 55 | # path exists when a VPN tunnel launched by nmcli/nm-applet is active | 73 | # path exists when a VPN tunnel launched by nmcli/nm-applet is active |
| 56 | path = "/proc/sys/net/ipv4/conf/tun0" | 74 | path = "/proc/sys/net/ipv4/conf/tun0" |
| 75 | format_down = "" | ||
| 57 | } | 76 | } |
| 58 | 77 | ||
| 59 | run_watch VPN { | 78 | run_watch VPN { |
| @@ -65,9 +84,19 @@ tztime local { | |||
| 65 | } | 84 | } |
| 66 | 85 | ||
| 67 | load { | 86 | load { |
| 68 | format = "%1min" | 87 | format = "%5min" |
| 69 | } | 88 | } |
| 70 | 89 | ||
| 71 | disk "/" { | 90 | disk "/" { |
| 72 | format = "%avail" | 91 | format = "%avail" |
| 73 | } | 92 | } |
| 93 | |||
| 94 | volume master { | ||
| 95 | format = "♪: %volume" | ||
| 96 | format_muted = "♪: muted (%volume)" | ||
| 97 | device = "pulse:0" | ||
| 98 | } | ||
| 99 | |||
| 100 | cpu_usage { | ||
| 101 | format = "%usage" | ||
| 102 | } | ||
