aboutsummaryrefslogtreecommitdiff
path: root/misc/.config/i3status/config
diff options
context:
space:
mode:
authorYuchen Pei <id@ypei.org>2023-06-20 00:22:29 +1000
committerYuchen Pei <id@ypei.org>2023-06-20 00:23:00 +1000
commit351ce98112731d18d73876acf1050bd8e4f487ee (patch)
treed8ee277e6f9f9a9fa3eb8c56d91934d5b7fc1bef /misc/.config/i3status/config
parent06914aff2b0011d41bc50447965a8d7c6ef52c9b (diff)
Adding a buncha misc files
Also .gitignore
Diffstat (limited to 'misc/.config/i3status/config')
-rw-r--r--misc/.config/i3status/config81
1 files changed, 81 insertions, 0 deletions
diff --git a/misc/.config/i3status/config b/misc/.config/i3status/config
new file mode 100644
index 0000000..a276e19
--- /dev/null
+++ b/misc/.config/i3status/config
@@ -0,0 +1,81 @@
+# i3status configuration file.
+# see "man i3status" for documentation.
+
+# It is important that this file is edited as UTF-8.
+# The following line should contain a sharp s:
+# ß
+# If the above line is not correctly displayed, fix your editor first!
+
+general {
+ colors = true
+ interval = 5
+}
+
+order += "read_file emms"
+order += "wireless _first_"
+order += "battery all"
+order += "disk /"
+order += "disk /home"
+order += "cpu_usage"
+order += "load"
+order += "memory"
+order += "tztime local"
+order += "volume master"
+
+read_file emms {
+ format = "emms playing: %content"
+ format_bad = "emms not playing"
+ path = "~/.emacs.d/emms-i3bar"
+}
+
+wireless _first_ {
+ format_up = "W: (%quality at %essid, %bitrate / %frequency) %ip"
+ format_down = "W: down"
+}
+
+ethernet _first_ {
+ format_up = "E: %ip (%speed)"
+ format_down = "E: down"
+}
+
+battery all {
+ format = "%status %percentage %remaining"
+}
+
+disk "/" {
+ format = "/%avail"
+}
+
+disk "/home" {
+ format = "~%avail"
+}
+
+cpu_usage {
+ format = "CPU: %usage 0: %cpu0 1: %cpu1"
+ max_threshold = 75
+ format_above_threshold = "Warning CPU: %usage"
+ degraded_threshold = 25
+ format_above_degraded_threshold = "Warning CPU: %usage"
+}
+
+load {
+ format = "%1min"
+}
+
+memory {
+ format = "%available"
+ threshold_degraded = "1G"
+ format_degraded = "MEMORY < %available"
+}
+
+tztime local {
+ format = "%Y-%m-%d %H:%M:%S"
+}
+
+volume master {
+ format = "♪: %volume"
+ format_muted = "♪: muted (%volume)"
+ device = "default"
+ mixer = "Master"
+ mixer_idx = 0
+}