Skip to content

Instantly share code, notes, and snippets.

@Vaults
Vaults / pywal-logseq.md
Created October 20, 2023 12:22
Pywal or Wal Logseq integration

This example only works with dark mode, but feel free to edit this to your heart's desire. To integrate PyWal with Logseq create a script like this:

#!/bin/bash
# Run this script whenever updating your wal configuration
# ./wal-logseq.sh <logseq custom.css folder>;

LOGSEQ=$1
cat ~/.cache/wal/colors.css > $LOGSEQ/custom.css
cat $LOGSEQ/colors.css > $LOGSEQ/custom.css
@Vaults
Vaults / mszc-to-ly.sh
Last active July 13, 2023 07:20
Musescore to Lilypond (.mszc to .ly)
#!/bin/bash
#./mszc-to-ly.sh musescore-file.mszc
# will output a corresponding lilypond file with the same name in the same folder
MUSESCORE="<path to musescore>"
FILE=$1
FILE_BASE=$(echo $FILE | sed 's/.mscz//')
LILY_FILE="$FILE_BASE.ly"
MUSICXML_OUTPUT=/tmp/tmp.musicxml