Some config files added
This commit is contained in:
commit
7e2ddc1054
33 changed files with 1470 additions and 0 deletions
8
.config/waybar/modules/update-check.sh
Executable file
8
.config/waybar/modules/update-check.sh
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
updates=$(($(checkupdates 2>/dev/null | wc -l) + $(paru -Qum 2>/dev/null | wc -l)))
|
||||
|
||||
if [ "$updates" -gt 0 ]; then
|
||||
echo '{"text":"⟳","class":"updates-available"}'
|
||||
else
|
||||
echo '{"text":"⟳","class":"no-updates"}'
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue