Finished hacker theme mostly and added some other configs
This commit is contained in:
parent
0c499ecbd6
commit
ad06f5284e
91 changed files with 1928 additions and 3 deletions
8
themes/base/.config/waybar/modules/update-check.sh
Executable file
8
themes/base/.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