From 0d7726e1a153a8b454ab674faeecf16b3ef90ba5 Mon Sep 17 00:00:00 2001 From: Simon Date: Tue, 12 Nov 2024 21:55:47 -0500 Subject: updated for color coordination --- i3blocks.conf | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) (limited to 'i3blocks.conf') 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 -- cgit v1.3.1-4-g156e