Compare commits

..

2 Commits

Author SHA1 Message Date
dbb837cef3 Enable parallel building
Some checks failed
Build / build (push) Has been cancelled
2025-10-16 21:29:27 +02:00
c3267c9de8 Add & build archive 2025-10-16 21:29:27 +02:00

10
manage
View File

@@ -1,6 +1,6 @@
#!/bin/bash
SONGS_PATH="content/"
SONGS_PATH="content/current/"
usage() {
cat <<EOF
@@ -49,7 +49,7 @@ case "$1" in
;;
edit)
if [ "$#" -eq 2 ]; then
xdg-open "content/$2/$2.cho"
xdg-open "$SONGS_PATH/$2/$2.cho"
else
echo -e "Missing song name\n"
usage
@@ -57,9 +57,9 @@ case "$1" in
;;
iedit)
if [ "$#" -eq 2 ]; then
touch "content/$2/$2.pdf"
xdg-open "content/$2/$2.pdf" &
xdg-open "content/$2/$2.cho"
touch "$SONGS_PATH/$2/$2.pdf"
xdg-open "$SONGS_PATH/$2/$2.pdf" &
xdg-open "$SONGS_PATH/$2/$2.cho"
else
echo -e "Missing song name\n"
usage