Browse Source

Also watch root partition

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

Not funny.
Alois Mahdal 8 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,6 +15,7 @@ order += "battery 0"
15 15
 order += "battery 1"
16 16
 order += "load"
17 17
 order += "cpu_usage"
18
+order += "disk /"
18 19
 order += "disk /home"
19 20
 order += "volume master"
20 21
 order += "tztime local"
@@ -49,6 +50,12 @@ tztime local {
49 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 59
 disk "/home" {
53 60
     format = "~:%avail"
54 61
     threshold_type = "gbytes_avail"