Skip to content

Commit 04c5cd9

Browse files
committed
i3statusを意味のある情報だけにした
1 parent cb5aa48 commit 04c5cd9

File tree

3 files changed

+29
-21
lines changed

3 files changed

+29
-21
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
__pycache__/
22
*~
33
*.pyc
4+
config/nvim/dein/

config/i3/config

+4-3
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,12 @@ bar {
8484
tray_output primary
8585
}
8686

87-
exec --no-startup-id nitrogen --restore
88-
exec --no-startup-id pulseaudio --start
87+
exec --no-startup-id sh -c "pulseaudio -k && sleep 5 && pulseaudio --start"
8988
exec --no-startup-id nm-applet
9089
exec --no-startup-id fcitx
91-
exec --no-startup-id xautolock -time 3 -locker "sh -c 'i3lock -c 000000'"
90+
exec --no-startup-id picom -b
9291
exec --no-startup-id pasystray
9392
exec --no-startup-id blueman-applet
9493
exec --no-startup-id google-musicmanager
94+
exec --no-startup-id xset -dpms
95+
exec --no-startup-id sh -c "sleep 3 && /home/nomuken/.screenlayout/default.sh && nitrogen --restore"

config/i3status/config

+24-18
Original file line numberDiff line numberDiff line change
@@ -7,41 +7,47 @@
77
# If the above line is not correctly displayed, fix your editor first!
88

99
general {
10-
colors = true
11-
interval = 5
10+
colors = true
11+
interval = 1
1212
}
1313

14-
order += "ipv6"
15-
order += "disk /"
1614
order += "wireless _first_"
1715
order += "ethernet _first_"
18-
order += "battery all"
19-
order += "load"
16+
order += "cpu_usage"
17+
order += "cpu_temperature 0"
18+
order += "memory"
19+
order += "disk /"
2020
order += "tztime local"
2121

2222
wireless _first_ {
23-
format_up = "W: (%quality at %essid) %ip"
24-
format_down = "W: down"
23+
format_up = "W: (%quality at %essid) %ip"
24+
format_down = "W: down"
2525
}
2626

2727
ethernet _first_ {
28-
# if you use %speed, i3status requires root privileges
29-
format_up = "E: %ip (%speed)"
30-
format_down = "E: down"
28+
# if you use %speed, i3status requires root privileges
29+
format_up = "E: %ip (%speed)"
30+
format_down = "E: down"
3131
}
3232

33-
battery all {
34-
format = "%status %percentage %remaining"
33+
cpu_temperature 0 {
34+
format = "T: %degrees °C"
3535
}
3636

37-
tztime local {
38-
format = "%Y-%m-%d %H:%M:%S"
37+
cpu_usage {
38+
format = "CPU: %usage"
3939
}
4040

41-
load {
42-
format = "%1min"
41+
memory {
42+
format = "Memory: %percentage_used used, %percentage_free free, %percentage_shared shared"
43+
threshold_degraded = "10%"
44+
format_degraded = "MEMORY: %free"
45+
}
46+
47+
tztime local {
48+
format = "%Y-%m-%d %H:%M:%S"
4349
}
4450

4551
disk "/" {
46-
format = "%avail"
52+
format = "Disk: %avail"
4753
}

0 commit comments

Comments
 (0)