feat: added polybar config

This commit is contained in:
oxypomme
2023-10-09 14:35:45 +02:00
parent b19acae9be
commit 5627c6fd64
3 changed files with 681 additions and 0 deletions

13
polybar/scripts/dunst.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
status=$(dunstctl history | jq '.data[0] | length' || echo '?')
# todo clear
if [ "$status" = '?' ]; then
echo "$status"
elif [ "$status" -gt 0 ]; then
echo "%{F#4B8783}%{F-} $status"
else
echo "%{F#4B8783}%{F-}"
fi