diff --git a/files/i3blocks/config b/files/i3blocks/config index 5ff1bf4..53806a6 100644 --- a/files/i3blocks/config +++ b/files/i3blocks/config @@ -3,8 +3,8 @@ separator_block_width=15 markup=pango [weather] -command=curl -Ss 'https://wttr.in?0&T' | cut -c 16- | head -4 | tail -2 | xargs echo -interval=1800 +command=curl -Ss 'wttr.in?format="%l:+%c%t+%w\n"' | xargs echo +interval=600 color=#A4C2F4 [volume] diff --git a/files/i3blocks/wlan b/files/i3blocks/wlan index 246e421..a51b6ae 100755 --- a/files/i3blocks/wlan +++ b/files/i3blocks/wlan @@ -10,7 +10,8 @@ if [[ -z "$IFACE" ]] ; then elif ( ip a s dev wlan0 ) > /dev/null 2>& 1 ; then IFACE="wlan0" else - exit 1 + # No wlan interface found + exit 0 fi fi diff --git a/vars/main.yml b/vars/main.yml index 5200357..c42b734 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -33,5 +33,5 @@ __i3_workspaces: user: "{{ i3wm_user }}" -playbook_version_number: 9020 # should be int +playbook_version_number: 9021 # should be int playbook_version_path: 'role-i3wm_chaos-bodensee_github.com.version'