summaryrefslogtreecommitdiff
path: root/.i3blocks.conf
diff options
context:
space:
mode:
authorDanny Holman <dholman@gymli.xyz>2021-05-21 14:08:34 -0500
committerDanny Holman <dholman@gymli.xyz>2021-05-21 14:08:34 -0500
commite9717375ea0f22ac273218eaead2857fbb5be960 (patch)
treed1ae5282e651256cceb2ad9c0980374f3f93433b /.i3blocks.conf
parentf950f7345dcd091d276f39e92b38b88c37e4f6da (diff)
Switch from polybar to i3blocks
Switch my top bar from polybar to i3blocks. Polybar requires a separate startup script while i3blocks runs as a child process of i3 itself. Signed-off-by: Danny Holman <dholman@gymli.xyz>
Diffstat (limited to '.i3blocks.conf')
-rw-r--r--.i3blocks.conf35
1 files changed, 35 insertions, 0 deletions
diff --git a/.i3blocks.conf b/.i3blocks.conf
new file mode 100644
index 0000000..9fce72f
--- /dev/null
+++ b/.i3blocks.conf
@@ -0,0 +1,35 @@
+# i3blocks configuration file
+#
+# The i3blocks man page describes the usage of the binary,
+# and its website describes the configuration:
+#
+# https://vivien.github.io/i3blocks
+
+
+# Global properties
+separator=true
+separator_block_width=15
+
+[volume]
+command=~/bin/volume
+LABEL=VOL
+MIXER=default
+interval=1
+
+[cpu]
+command=~/bin/cpu_usage
+LABEL=CPU
+DECIMALS=2
+interval=3
+
+[mem]
+command=~/bin/memory
+interval=3
+
+[updates]
+command=echo "UPD" $(pacman -Qu | wc -l)
+interval=10
+
+[time]
+command=date '+%D %H:%M'
+interval=1