Compare commits

..

No commits in common. "4efdbc6d431d0ce746bd9ae50fc1e1038321e776" and "5374bcadee4ad19574b91713cdb26fdd69f5eca2" have entirely different histories.

4 changed files with 12 additions and 16 deletions

View File

@ -26,18 +26,16 @@
separator_color = frame
gap_size = 5
frame_width = 1
origin = bottom-right
offset = 60x70
origin = top-right
offset = 30x30
[urgency_low]
background = "#000000aa"
background = "#000000"
foreground = "#dddddd"
timeout = 10
[urgency_normal]
background = "#000000aa"
background = "#000000"
foreground = "#ffffff"
timeout = 10

View File

@ -29,4 +29,4 @@ function TypstWatch()
endfunc
nnoremap <silent><leader>fc :call TypstWatch()<cr>
au Filetype typst let g:AutoPairs = {'(':')', '[':']', '{':'}',"'":"'",'"':'"', '$':'$'}
au Filetype FILETYPE let b:AutoPairs = {"(": ")"}

View File

@ -51,7 +51,7 @@ snippet proj "template for project documents" bi
endsnippet
snippet ss "superscript" i
^($1)
^$1
endsnippet
snippet link "link" w

View File

@ -58,14 +58,12 @@ r.encoding = "utf-8"
print(r.text)
EOF`
printf "\n\nResult (copied to clipboard):\n\n"
python -c "$c" "$TMPF" \
> "$XDG_CACHE_HOME"/msrec.out
printf "\n\nRaw output:\n"
cat "$XDG_CACHE_HOME"/msrec.out | jq
printf "Links:\n"
cat "$XDG_CACHE_HOME"/msrec.out \
| jq -r '"https://youtu.be/" + .metadata.music[].external_metadata.youtube.vid'
| tee "$XDG_CACHE_HOME"/msrec.out \
| jq -r '"https://youtube.com/watch?v=" + .metadata.music[-1].external_metadata.youtube.vid' \
| tee /dev/tty \
| xsel -ib
rm "$TMPF"