clean up scripts
This commit is contained in:
9
.config/polybar/scripts/info-projecthamster.sh
Normal file
9
.config/polybar/scripts/info-projecthamster.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
activity=$(hamster current 2> /dev/null | cut -d " " -f 3- | sed 's/@.* / - /')
|
||||
|
||||
if [ -n "$activity" ]; then
|
||||
echo "$activity"
|
||||
else
|
||||
echo "No Activity"
|
||||
fi
|
||||
Reference in New Issue
Block a user