mirror of
https://github.com/roles-ansible/ansible_role_sway.git
synced 2024-08-16 13:49:49 +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
|
||||
|
||||
[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]
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue