Rename scripts
Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
This commit is contained in:
parent
df6b44e541
commit
410d0b33c6
46 changed files with 566 additions and 249 deletions
17
system/.config/polybar/scripts/update-count
Executable file
17
system/.config/polybar/scripts/update-count
Executable file
|
@ -0,0 +1,17 @@
|
|||
#!/usr/bin/env bash
|
||||
#
|
||||
# SCRIPT NAME:
|
||||
# update-count
|
||||
#
|
||||
# AUTHOR:
|
||||
# Severin Kaderli <severin.kaderli@gmail.com>
|
||||
#
|
||||
# DESCRIPTION:
|
||||
# Returns the outstanding system updates.
|
||||
#
|
||||
# USAGE:
|
||||
# ./update-count
|
||||
UPDATES=$(pacman -Qu | wc -l)
|
||||
AUR_UPDATES=$(yay -Qua --devel | wc -l)
|
||||
|
||||
echo "${UPDATES} / ${AUR_UPDATES}"
|
Loading…
Add table
Add a link
Reference in a new issue