summarylogtreecommitdiffstats
path: root/waylyrics-launch
blob: 78d831b6a84e0b2e0ef72a90fc53856280c266e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

# inspired by https://aur.archlinux.org/cgit/aur.git/tree/hmcl-launch-script?h=hmcl

WORKDIR=${XDG_CONFIG_HOME:-$HOME/.config}/waylyrics
mkdir -p $WORKDIR
cd $WORKDIR
[ -f "config.toml" ] || cp /usr/share/waylyrics/config.toml .
[ -f "style.css" ] || cp /usr/share/waylyrics/style.css .

exec /usr/bin/waylyrics