diff options
author | Max Christian Pohle | 2018-08-25 00:20:38 +0200 |
---|---|---|
committer | Max Christian Pohle | 2018-08-25 00:20:38 +0200 |
commit | e39a2344ba9629f35958a9e7bea8f3f536e521f4 (patch) | |
tree | 71a29b7e748e5a39c319f8df743ef5a1e325c358 /i3status.conf | |
parent | 63c808c572f800357f3e82f6ee2c58292088d9ea (diff) | |
download | i3-e39a2344ba9629f35958a9e7bea8f3f536e521f4.tar.bz2 i3-e39a2344ba9629f35958a9e7bea8f3f536e521f4.zip |
base16 .Xresources compatible colors and more
improved shortcuts and window borders
Diffstat (limited to 'i3status.conf')
-rw-r--r-- | i3status.conf | 71 |
1 files changed, 44 insertions, 27 deletions
diff --git a/i3status.conf b/i3status.conf index aeee8ee..127af25 100644 --- a/i3status.conf +++ b/i3status.conf | |||
@@ -10,11 +10,11 @@ general { | |||
10 | colors = true | 10 | colors = true |
11 | #color_good = "#88ff88" | 11 | #color_good = "#88ff88" |
12 | #color_bad = "#880000" | 12 | #color_bad = "#880000" |
13 | color_good = "#00aa00" | 13 | color_good = "#ffffff" |
14 | color_bad = "#aa0000" | 14 | color_bad = "#666666" |
15 | color_degraded = "#aaaaaa" | ||
16 | interval = 1 | 15 | interval = 1 |
17 | output_format = i3bar | 16 | output_format = i3bar |
17 | separator = 'X' | ||
18 | } | 18 | } |
19 | 19 | ||
20 | order += "ipv6" | 20 | order += "ipv6" |
@@ -25,12 +25,14 @@ order += "run_watch DHCP" | |||
25 | order += "ethernet _first_" | 25 | order += "ethernet _first_" |
26 | order += "ethernet enp7s0" | 26 | order += "ethernet enp7s0" |
27 | # order += "battery 0" | 27 | # order += "battery 0" |
28 | order += "volume master" | ||
29 | order += "cpu_temperature 1" | 28 | order += "cpu_temperature 1" |
30 | order += "cpu_usage" | 29 | order += "cpu_usage" |
31 | order += "load" | 30 | order += "cpu_temperature 2" |
31 | # order += "load" | ||
32 | order += "disk /" | 32 | order += "disk /" |
33 | order += "tztime local" | 33 | order += "volume master" |
34 | order += "tztime localdate" | ||
35 | order += "tztime localtime" | ||
34 | 36 | ||
35 | ipv6 | 37 | ipv6 |
36 | { | 38 | { |
@@ -39,68 +41,83 @@ ipv6 | |||
39 | 41 | ||
40 | cpu_temperature 1 | 42 | cpu_temperature 1 |
41 | { | 43 | { |
42 | format = "%degrees°C" | 44 | format = " %degrees°C " |
43 | path = "/sys/class/thermal/thermal_zone2/temp" | 45 | path = "/sys/class/thermal/thermal_zone2/temp" |
44 | } | 46 | } |
45 | 47 | ||
48 | cpu_temperature 2 | ||
49 | { | ||
50 | format = " %degrees°C" | ||
51 | path = "/sys/class/drm/card0/device/hwmon/hwmon1/temp1_input" | ||
52 | } | ||
53 | |||
46 | wireless _first_ { | 54 | wireless _first_ { |
47 | format_up = "W: (%quality at %essid) %ip" | 55 | format_up = "W: (%quality at %essid) %ip" |
48 | format_down = "W: down" | 56 | format_down = "W: down" |
49 | } | 57 | } |
50 | 58 | ||
51 | ethernet _first_ { | 59 | ethernet _first_ { |
60 | |||
52 | # if you use %speed, i3status requires root privileges | 61 | # if you use %speed, i3status requires root privileges |
53 | format_up = " %ip (%speed)" | 62 | format_up = " %interface %ip (%speed)" |
54 | format_down = "E1: down" | 63 | format_down = " %interface" |
55 | } | 64 | } |
56 | 65 | ||
57 | 66 | ||
58 | # ethernet enp7s0 { | 67 | ethernet enp7s0 { |
59 | # # if you use %speed, i3status requires root privileges | 68 | # if you use %speed, i3status requires root privileges |
60 | # format_up = "E2: %ip (%speed)" | 69 | format_up = " %interface %ip (%speed)" |
61 | # format_down = "E2: down" | 70 | format_down = " %interface" |
62 | # | 71 | } |
63 | # } | ||
64 | 72 | ||
65 | 73 | ||
66 | battery 0 { | 74 | battery 0 { |
67 | format = "%status %percentage %remaining" | 75 | format = "%status %percentage %remaining" |
68 | } | 76 | } |
69 | 77 | ||
70 | # run_watch DHCP { | 78 | run_watch DHCP { |
71 | # pidfile = "/var/run/dhclient*.pid" | 79 | pidfile = "/var/run/dhclient*.pid" |
72 | # format = "%title" | 80 | format = "%title" |
73 | # } | 81 | format_down = "" |
82 | } | ||
74 | 83 | ||
75 | 84 | ||
76 | path_exists VPN { | 85 | path_exists VPN { |
77 | # path exists when a VPN tunnel launched by nmcli/nm-applet is active | 86 | # path exists when a VPN tunnel launched by nmcli/nm-applet is active |
78 | path = "/proc/sys/net/ipv4/conf/tun0" | 87 | path = "/proc/sys/net/ipv4/conf/tun0" |
79 | format_down = "" | 88 | separator = false |
89 | separator_block_width = 8 | ||
90 | format = " " | ||
91 | format_down = " " | ||
80 | } | 92 | } |
81 | 93 | ||
82 | run_watch VPN { | 94 | run_watch VPN { |
83 | pidfile = "/var/run/NetworkManager/nm-openvpn-*" | 95 | pidfile = "/var/run/NetworkManager/nm-openvpn-*" |
84 | } | 96 | } |
85 | 97 | ||
86 | tztime local { | 98 | tztime localtime { |
87 | format = "%Y-%m-%d %H:%M" | 99 | format = " %H:%M" |
88 | } | 100 | } |
89 | 101 | ||
90 | load { | 102 | tztime localdate { |
91 | format = "%5min" | 103 | format = " %Y-%m-%d:%A" |
92 | } | 104 | } |
93 | 105 | ||
106 | # load { | ||
107 | # format = "%5min" | ||
108 | # } | ||
109 | |||
94 | disk "/" { | 110 | disk "/" { |
95 | format = "%avail" | 111 | format = " %avail" |
112 | prefix_type = custom | ||
96 | } | 113 | } |
97 | 114 | ||
98 | volume master { | 115 | volume master { |
99 | format = "♪: %volume" | 116 | format = " %volume" |
100 | format_muted = "♪: muted (%volume)" | 117 | format_muted = "♪: muted (%volume)" |
101 | device = "pulse:0" | 118 | device = "pulse:0" |
102 | } | 119 | } |
103 | 120 | ||
104 | cpu_usage { | 121 | cpu_usage { |
105 | format = "%usage" | 122 | format = " %usage" |
106 | } | 123 | } |