summaryrefslogtreecommitdiff
path: root/i3blocks.conf
diff options
context:
space:
mode:
Diffstat (limited to 'i3blocks.conf')
-rw-r--r--i3blocks.conf107
1 files changed, 107 insertions, 0 deletions
diff --git a/i3blocks.conf b/i3blocks.conf
new file mode 100644
index 0000000..54dc8d6
--- /dev/null
+++ b/i3blocks.conf
@@ -0,0 +1,107 @@
+# dotfiles -- i3blocks
+# author: johannst
+
+
+# NOTE:
+# Env Variables exported to scripts specified in 'command='
+# BLOCK_NAME=name # indicator block name '[name]'
+# BLOCK_INSTANCE=inst # value of 'instance=inst'
+# BLOCK_INTERVAL=10 # value of 'interval=10'
+# BLOCK_BUTTON=1 # set to '1' if script gets triggered by click event
+# BLOCK_X=795 # x coordinate of click event
+# BLOCK_Y=9 # y coordinate of click event
+#
+# Coloring indicator blocks
+# color=#FF0000 # sets text color
+# background=#222222 # sets block background
+# border=#9FBC00 # sets color of visible block border
+#
+# Trigger block action by signal
+# signal=1 # trigger command by sending SIGRTMIN+1
+# signal=8 # trigger command by sending SIGRTMIN+8
+
+
+#
+# Global settings
+#
+
+command=/usr/lib/i3blocks/$BLOCK_NAME
+markup=none
+separator_block_width=15
+#separator=false
+border_top=0
+border_left=0
+border_right=0
+border_bottom=2
+
+#
+# Network
+#
+
+[eth]
+command=$HOME/.scripts/eth.sh
+instance=enp0s25
+label=:
+interval=10
+# light green
+border=#9FBC00
+
+[wifi]
+command=$HOME/.scripts/wifi.sh --ap_quality --ap_name
+instance=wlp3s0
+label=:
+interval=10
+# bright grey
+border=#928374
+
+#
+# Load
+#
+
+[load_average]
+label=:
+interval=10
+# red
+border=#cc241d
+
+#
+# Battery
+#
+
+[battery]
+command=$HOME/.scripts/battery.sh
+label=:
+instance=BAT0
+interval=5
+# yellow - orange
+border=#d79921
+
+#
+# Volume
+#
+
+[volume]
+label=:
+instance=Master
+interval=5
+# light purple
+border=#b16286
+
+#
+# Date Time
+#
+
+[date]
+command=echo ":$(date '+%Y-%m-%d')"
+interval=60
+separator=false
+separator_block_width=5
+# blue
+border=#458588
+
+[time]
+command=echo ":$(date '+%H:%M:%S')"
+interval=5
+# olive
+border=#98971a
+