aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <anhgelus.morhtuuzh@gmx.com>2022-07-31 17:48:59 +0200
committerAnhgelus Morhtuuzh <anhgelus.morhtuuzh@gmx.com>2022-07-31 17:48:59 +0200
commit86029904e686e15500883766e257c95300201192 (patch)
tree72b601c3b9629293940f86d5db4438120147264e
parentc0153d718994e96563ef2da8ff7a8de7e4ed4e24 (diff)
feat custom i3bar
-rw-r--r--.config/i3/config2
-rw-r--r--.config/i3/i3status.conf35
2 files changed, 36 insertions, 1 deletions
diff --git a/.config/i3/config b/.config/i3/config
index 83b6b90..0f6b76b 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -198,7 +198,7 @@ client.urgent $urgent-bg-color $urgent-bg-color $text-color
# finds out, if available)
bar {
position top
- status_command i3status
+ status_command i3status --config /home/anhgelus/.config/i3/i3status.conf
colors {
background $bg-color
separator #757575
diff --git a/.config/i3/i3status.conf b/.config/i3/i3status.conf
new file mode 100644
index 0000000..46a54a5
--- /dev/null
+++ b/.config/i3/i3status.conf
@@ -0,0 +1,35 @@
+# 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 += "load"
+order += "disk /"
+order += "memory"
+order += "tztime local"
+
+disk "/" {
+ format = "%free (%avail) / %total"
+}
+
+load {
+ format = "%1min"
+}
+
+memory {
+ format = "%free / %total"
+ threshold_degraded = "1G"
+ format_degraded = "MEMORY < %available"
+}
+
+tztime local {
+ format = "%H:%M:%S \- %d/%m/%Y"
+}