summaryrefslogtreecommitdiff
path: root/i3blocks.conf
diff options
context:
space:
mode:
authorSimon <vesspa0330@gmail.com>2024-11-12 21:55:47 -0500
committerSimon <vesspa0330@gmail.com>2024-11-12 21:55:47 -0500
commit0d7726e1a153a8b454ab674faeecf16b3ef90ba5 (patch)
treebcbcee79ab4aa94d21927011c4db6bd5108fdc10 /i3blocks.conf
parent4bd057a6e72d9c400b7c36291d539f337a05344f (diff)
updated for color coordination
Diffstat (limited to 'i3blocks.conf')
-rwxr-xr-xi3blocks.conf30
1 files changed, 25 insertions, 5 deletions
diff --git a/i3blocks.conf b/i3blocks.conf
index 5ca3899..99fd0f5 100755
--- a/i3blocks.conf
+++ b/i3blocks.conf
@@ -10,11 +10,31 @@
separator=true
separator_block_width=25
+[brightness]
+command=echo "dim: $(brightnessctl get | awk '{print $0 / 24000 * 100}')"
+signal=11
+interval=once
+color=#c0caf5
+
+[volume]
+# command=echo "vol: $(pactl get-sink-volume @DEFAULT_SINK@ | awk '{printf "%s", substr($5, 1, length($5) - 1)}')"
+command=echo "vol: $(wpctl get-volume 50 | awk '{print $2*100}')"
+signal=10
+interval=once
+color=#c0caf5
+
+# [battery]
+# command=echo "bat: $(sudo cat /sys/class/power_supply/BAT0/capacity)%"
+# interval=30
+# color=#c0caf5
+
[weather]
-command=curl -Ss 'https://wttr.in?0&T&Q' | cut -c 16- | head -3 | xargs echo
-interval=3600
-color=#A4C2F4
+command=curl -Ss 'https://wttr.in?0&T&Q' | cut -c 16- | head -2 | xargs echo
+interval=1800
+color=#c0caf5
-[time]
-command=date '+%Y-%m-%d %H:%M:%S'
+[date]
+command=date '+%a, %b %d - %H:%M:%S '
interval=1
+# color=#c0caf5
+color=#c0caf5