add base dotfiles
This commit is contained in:
commit
968449de49
31 changed files with 2121 additions and 0 deletions
8
.config/eww/scripts/songcardplayrender
Executable file
8
.config/eww/scripts/songcardplayrender
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
button=$(spt playback --status -f "%s" 2>/dev/null)
|
||||
if [ "$button" == "▶" ]; then
|
||||
echo "(image :path \"img/musicpause.png\" :image-width 40 :image-height 40)"
|
||||
else
|
||||
echo "(image :path \"img/musicplay.png\" :image-width 40 :image-height 40)"
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue