Add arch-updates to i3bar
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
b6afc444f9
commit
035cfc8b33
2 changed files with 9 additions and 0 deletions
6
.config/i3blocks/arch-update
Executable file
6
.config/i3blocks/arch-update
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
u=$(checkupdates | wc -l)
|
||||
[ $u -gt 0 ] || exit
|
||||
|
||||
printf "\uf94f %d %s" $u $(/home/luzifer/bin/pluralize Update $u)
|
|
@ -29,6 +29,9 @@ separator_block_width=15
|
|||
markup=none
|
||||
|
||||
|
||||
[arch-update]
|
||||
interval=600
|
||||
|
||||
[disk]
|
||||
interval=30
|
||||
|
||||
|
|
Loading…
Reference in a new issue