Move all config files from .config/ into themes/dracula/.config/ so the dm tool can manage them as file-level symlinks. Removes .bak file. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
8 lines
236 B
Bash
Executable file
8 lines
236 B
Bash
Executable file
#!/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
|