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:
parent
78e962efd5
commit
f996a044ef
3 changed files with 5 additions and 4 deletions
|
@ -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]
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue