👽
This commit is contained in:
1 parent
0b17aa140b
commit
dde4ef218a
136 files changed
+9796
No files matched your search
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
title=$(playerctl metadata --format '{{ title }}')
|
||||
count=$(echo -n "$title" | wc -c)
|
||||
if [ -z "$title" ]; then
|
||||
echo "Nothing Playing...";
|
||||
else
|
||||
if [ "$count" -le 18 ]; then
|
||||
echo $title
|
||||
else
|
||||
echo $(playerctl metadata --format '{{ title }}' | cut -c-18)...
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user