From 956df69d7496081db5e7b3621a0bcc7b9d7f7dfc Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Wed, 8 Dec 2021 11:52:16 +0100 Subject: move to .config folder --- .config/i3blocks/config | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .config/i3blocks/config (limited to '.config/i3blocks/config') diff --git a/.config/i3blocks/config b/.config/i3blocks/config new file mode 100644 index 0000000..6653643 --- /dev/null +++ b/.config/i3blocks/config @@ -0,0 +1,39 @@ +command=/usr/share/i3blocks/$BLOCK_NAME +separator_block_width=15 + +[weather] +command=curl -Ss 'https://wttr.in/Catania?0&T&Q' | cut -c 16- | head -2 | xargs echo +interval=3600 +color=#A4C2F4 + +[memory] +label=MEM +separator=false +interval=30 + +[disk] +label=DISK +interval=30 + +[cpu_usage] +label=CPU +interval=10 +min_width=CPU: 100.00% + +[wifi] +command=iwgetid -r | tr '\n' ' ' && grep $(iwgetid -m | awk '{ printf "%s", $1 }') /proc/net/wireless | awk '{ printf "%i%\n", int($3 * 100 / 70) }';exit 0 instance=wlp2s0 +interval=5 +label= + +[battery] +command=i3_battery.sh +interval=10 + +[volume] +command=pulsemixer --get-volume | cut -d " " -f 1; exit 0 +interval=1 +label= + +[time] +command=date +interval=1 -- cgit v1.2.3-18-g5258