reorganise

This commit is contained in:
tristan 2023-04-15 13:55:16 +01:00
parent 98af4d5664
commit 744f70fc87
14 changed files with 72 additions and 64 deletions

View file

@ -1,11 +0,0 @@
#!/bin/sh
if [ "$(playerctl --list-all | wc -l)" -lt 2 ]
then
playerctl play-pause
else
playerctl --list-all | \
xargs -I _ playerctl --player _ metadata --format '_ - {{title}}' | \
wofi --dmenu | awk '{print $1}' | \
xargs -I _ playerctl --player _ play-pause
fi