Browse Source

Also watch root partition

At least once I ran into problems, not realizing that full / was the
cause.

Not funny.
Alois Mahdal 9 years ago
parent
commit
9c2ac4c679
1 changed files with 7 additions and 0 deletions
  1. 7
    0
      dotfiles/i3status.conf

+ 7
- 0
dotfiles/i3status.conf View File

15
 order += "battery 1"
15
 order += "battery 1"
16
 order += "load"
16
 order += "load"
17
 order += "cpu_usage"
17
 order += "cpu_usage"
18
+order += "disk /"
18
 order += "disk /home"
19
 order += "disk /home"
19
 order += "volume master"
20
 order += "volume master"
20
 order += "tztime local"
21
 order += "tztime local"
49
     format = "%Y-%m-%d %H:%M"
50
     format = "%Y-%m-%d %H:%M"
50
 }
51
 }
51
 
52
 
53
+disk "/" {
54
+    format = "/:%avail"
55
+    threshold_type = "gbytes_avail"
56
+    low_threshold = 2
57
+}
58
+
52
 disk "/home" {
59
 disk "/home" {
53
     format = "~:%avail"
60
     format = "~:%avail"
54
     threshold_type = "gbytes_avail"
61
     threshold_type = "gbytes_avail"