Compare commits
No commits in common. "4efdbc6d431d0ce746bd9ae50fc1e1038321e776" and "5374bcadee4ad19574b91713cdb26fdd69f5eca2" have entirely different histories.
4efdbc6d43
...
5374bcadee
@ -26,18 +26,16 @@
|
|||||||
separator_color = frame
|
separator_color = frame
|
||||||
gap_size = 5
|
gap_size = 5
|
||||||
|
|
||||||
frame_width = 1
|
origin = top-right
|
||||||
|
offset = 30x30
|
||||||
origin = bottom-right
|
|
||||||
offset = 60x70
|
|
||||||
|
|
||||||
[urgency_low]
|
[urgency_low]
|
||||||
background = "#000000aa"
|
background = "#000000"
|
||||||
foreground = "#dddddd"
|
foreground = "#dddddd"
|
||||||
timeout = 10
|
timeout = 10
|
||||||
|
|
||||||
[urgency_normal]
|
[urgency_normal]
|
||||||
background = "#000000aa"
|
background = "#000000"
|
||||||
foreground = "#ffffff"
|
foreground = "#ffffff"
|
||||||
timeout = 10
|
timeout = 10
|
||||||
|
|
||||||
|
@ -29,4 +29,4 @@ function TypstWatch()
|
|||||||
endfunc
|
endfunc
|
||||||
nnoremap <silent><leader>fc :call TypstWatch()<cr>
|
nnoremap <silent><leader>fc :call TypstWatch()<cr>
|
||||||
|
|
||||||
au Filetype typst let g:AutoPairs = {'(':')', '[':']', '{':'}',"'":"'",'"':'"', '$':'$'}
|
au Filetype FILETYPE let b:AutoPairs = {"(": ")"}
|
||||||
|
@ -51,7 +51,7 @@ snippet proj "template for project documents" bi
|
|||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet ss "superscript" i
|
snippet ss "superscript" i
|
||||||
^($1)
|
^$1
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet link "link" w
|
snippet link "link" w
|
||||||
|
@ -58,14 +58,12 @@ r.encoding = "utf-8"
|
|||||||
print(r.text)
|
print(r.text)
|
||||||
EOF`
|
EOF`
|
||||||
|
|
||||||
|
printf "\n\nResult (copied to clipboard):\n\n"
|
||||||
|
|
||||||
python -c "$c" "$TMPF" \
|
python -c "$c" "$TMPF" \
|
||||||
> "$XDG_CACHE_HOME"/msrec.out
|
| tee "$XDG_CACHE_HOME"/msrec.out \
|
||||||
|
| jq -r '"https://youtube.com/watch?v=" + .metadata.music[-1].external_metadata.youtube.vid' \
|
||||||
printf "\n\nRaw output:\n"
|
| tee /dev/tty \
|
||||||
cat "$XDG_CACHE_HOME"/msrec.out | jq
|
| xsel -ib
|
||||||
|
|
||||||
printf "Links:\n"
|
|
||||||
cat "$XDG_CACHE_HOME"/msrec.out \
|
|
||||||
| jq -r '"https://youtu.be/" + .metadata.music[].external_metadata.youtube.vid'
|
|
||||||
|
|
||||||
rm "$TMPF"
|
rm "$TMPF"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user