From 1ccbdebd34d0b62365291c998ffe410d5685e621 Mon Sep 17 00:00:00 2001 From: Riyyi Date: Tue, 23 Oct 2018 23:44:53 +0200 Subject: [PATCH] Clean up blocks config --- .config/i3/blocks | 40 +++++++++------------------------------- 1 file changed, 9 insertions(+), 31 deletions(-) diff --git a/.config/i3/blocks b/.config/i3/blocks index fb103cf..b184901 100644 --- a/.config/i3/blocks +++ b/.config/i3/blocks @@ -24,52 +24,30 @@ # # The top properties below are applied to every block, but can be overridden. # Each block command defaults to the script name to avoid boilerplate. -command=/usr/lib/i3blocks/$BLOCK_NAME -separator_block_width=15 +command=$HOME/.scripts/wm/$BLOCK_NAME +separator_block_width=20 markup=none +# separator=false +align=center -# Volume indicator -# -[volume] -command=$HOME/.scripts/wm/volume.sh +[volume.sh] markup=pango -instance=Master interval=once signal=1 -# Brightness indicator -# -[brightness] -command=$HOME/.scripts/wm/brightness.sh +[brightness.sh] interval=once signal=2 -# Network interface monitoring -# -# If the instance is not specified, use the interface used for default route. -# The address can be forced to IPv4 or IPv6 with -4 or -6 switches. -[wifi] -command=$HOME/.scripts/wm/wifi.sh -#instance=wlp3s0 +[wifi.sh] interval=10 -separator=true -[iface] -command=$HOME/.scripts/wm/iface.sh -#instance=wlan0 -#color=#00FF00 +[iface.sh] interval=10 -separator=true -# Battery indicator -# -# The battery instance defaults to 0. -[battery] -command=$HOME/.scripts/wm/battery.sh +[battery.sh] interval=30 -# Date Time -# [time] label= command=date '+%I:%M %p '