diff options
| author | simon <vesspa0330@gmail.com> | 2026-10-25 13:43:10 -0500 |
|---|---|---|
| committer | simon <vesspa0330@gmail.com> | 2026-10-25 13:43:10 -0500 |
| commit | 3c45a0af5e933a7b432a4a1022bcb5bca9bfa4f2 (patch) | |
| tree | 11934766efeb98d4047489417b2d09660920c3dc /blade/i3blocks.conf | |
| parent | 4d2c37fe27dd73ca1f101c3d290881d53c83ce57 (diff) | |
Diffstat (limited to 'blade/i3blocks.conf')
| -rw-r--r-- | blade/i3blocks.conf | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/blade/i3blocks.conf b/blade/i3blocks.conf new file mode 100644 index 0000000..b6ec925 --- /dev/null +++ b/blade/i3blocks.conf @@ -0,0 +1,47 @@ +# 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=30 + +[weather] +command=curl -Ss 'https://wttr.in?0&T&Q' | cut -c 16- | head -2 | xargs echo +interval=1800 +# color=#c0caf5 + +[brightness] +command=echo " $(brightnessctl get | awk '{print $0 / 24000 * 100}')" +signal=11 +interval=once +# color=#c0caf5 + +[volume] +command=i3blocks_volume +# 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 + +[date] +command=date '+%a, %b %d' +interval=once +# color=#c0caf5 +# color=#c0caf5 + +[time] +command=date '+%H:%M:%S' +interval=1 +# color=#c0caf5 + +# [battery] +command=echo "$(sudo cat /sys/class/power_supply/BAT0/capacity)%" +interval=30 +color=#c0caf5 + |
