1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_i3wm.git synced 2024-08-16 10:09:53 +02:00

update i3blocks

This commit is contained in:
L3D 2021-11-08 12:19:37 +01:00
parent 78e962efd5
commit f996a044ef
Signed by: l3d
GPG key ID: CD08445BFF4313D1
3 changed files with 5 additions and 4 deletions

View file

@ -3,8 +3,8 @@ separator_block_width=15
markup=pango markup=pango
[weather] [weather]
command=curl -Ss 'https://wttr.in?0&T' | cut -c 16- | head -4 | tail -2 | xargs echo command=curl -Ss 'wttr.in?format="%l:+%c%t+%w\n"' | xargs echo
interval=1800 interval=600
color=#A4C2F4 color=#A4C2F4
[volume] [volume]

View file

@ -10,7 +10,8 @@ if [[ -z "$IFACE" ]] ; then
elif ( ip a s dev wlan0 ) > /dev/null 2>& 1 ; then elif ( ip a s dev wlan0 ) > /dev/null 2>& 1 ; then
IFACE="wlan0" IFACE="wlan0"
else else
exit 1 # No wlan interface found
exit 0
fi fi
fi fi

View file

@ -33,5 +33,5 @@ __i3_workspaces:
user: "{{ i3wm_user }}" 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' playbook_version_path: 'role-i3wm_chaos-bodensee_github.com.version'