home · contact · privacy
Add caps lock indicator to i3status bar.
[config] / dotfiles / user / thinkpad / W530 / i3status.conf
1 # plomlompom's i3 status bar configuration
2
3 # Activate colors; set update interval of one second.
4 general {
5   colors = true
6   interval = 1
7 }
8
9 # Selection / order of status elements.
10 order += "disk /"
11 order += "disk /home"
12 order += "wireless wlp3s0"
13 order += "ethernet enp0s25"
14 order += "battery 0"
15 order += "cpu_usage"
16 order += "load"
17 order += "cpu_temperature 0"
18 order += "cpu_temperature 1"
19 order += "time"
20 order += "volume master"
21
22 # How much space is left in / ?
23 disk "/" {
24   format = "/: %avail available of %total"
25   separator_block_width = 10
26 }
27
28 # How much space is left in /home ?
29 disk "/home" {
30   format = "/home: %avail available of %total"
31   separator_block_width = 40
32 }
33
34
35 # WLAN status: show IP and connection quality or "down".
36 wireless wlp3s0 {
37   format_up = "w: (%quality at %essid) %ip"
38   format_down = "w: down"
39   separator_block_width = 10
40 }
41
42 # Ethernet status: show IP or "down".
43 ethernet enp0s25 {
44   format_up = "e: %ip"
45   format_down = "e: down"
46   separator_block_width = 40
47 }
48
49 # Battery status: show FULL/CHARGING/BATTERY, storage, time left.
50 battery 0 {
51   format = "b: %status %percentage %remaining"
52   separator_block_width = 40
53 }
54
55 # Show CPU usage.
56 cpu_usage {
57   format = "cpu: %usage"
58   separator_block_width = 10
59 }
60
61 # Show system load during last 1/5/15 minutes.
62 load {
63   format = "%1min %5min %15min"
64   separator_block_width = 40
65 }
66
67 # Show CPU temperature in degrees of celsius.
68 cpu_temperature 0 {
69   format = "%degrees °C"
70   separator_block_width = 10
71 }
72 cpu_temperature 1 {
73   format = "%degrees °C"
74   separator_block_width = 40
75 }
76
77 # Show date/time/timezone as "year-month-day hour:minute:second
78 # timezone_numeric/timezone_alphabetic".
79 time {
80   format = "%Y-%m-%d %H:%M:%S %z/%Z"
81   separator_block_width = 40
82 }
83
84 volume master {
85   format = "♪: %volume"
86   format_muted = "♪: muted (%volume)"
87   separator_block_width = 40
88 }