Compare commits
3 Commits
e5c07186ac
...
ee81307555
Author | SHA1 | Date | |
---|---|---|---|
ee81307555 | |||
0a181246e5 | |||
5452e196a6 |
@ -122,7 +122,7 @@ call plug#end()
|
||||
|
||||
lua << EOF
|
||||
require'nvim-treesitter.configs'.setup {
|
||||
ensure_installed = { "c", "cpp", "javascript", "python", "vim", "latex", "fish" },
|
||||
ensure_installed = { "c", "cpp", "javascript", "python", "vim", "latex", "fish", "bash" },
|
||||
sync_install = false,
|
||||
auto_install = false,
|
||||
highlight = {
|
||||
|
@ -6,3 +6,4 @@ TMPFILE="$(mktemp)"
|
||||
xsel -b > "$TMPFILE"
|
||||
nvim "$TMPFILE"
|
||||
cat "$TMPFILE" | xsel -ib
|
||||
rm "$TMPFILE"
|
||||
|
@ -5,6 +5,9 @@
|
||||
if [ "$DUNST_APP_NAME" = "soundboard" ]; then
|
||||
exit
|
||||
fi
|
||||
if [ "$DUNST_APP_NAME" = "prod" ]; then
|
||||
exit
|
||||
fi
|
||||
|
||||
if pactl list short sinks | grep -q virtual_mic; then
|
||||
mpv ~/.local/bin/deskutils/notif.wav --audio-device=pulse/alsa_output.usb-C-Media_Electronics_Inc._USB_Audio_Device-00.analog-stereo
|
||||
|
7
src/.local/bin/deskutils/prod.sh
Executable file
7
src/.local/bin/deskutils/prod.sh
Executable file
@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
# visual reminder of watson status
|
||||
|
||||
while true; do
|
||||
notify-send -a "prod" -r 13371234 "$(watson status)"
|
||||
sleep 5
|
||||
done
|
13
src/.local/bin/tag.sh
Executable file
13
src/.local/bin/tag.sh
Executable file
@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
TMPFILE="$(mktemp)"
|
||||
nvim "$TMPFILE"
|
||||
cat "$TMPFILE" | while read line; do
|
||||
link="$(echo $line | awk -F";" '{print $1}')"
|
||||
artist="$(echo $line | awk -F";" '{print $2}')"
|
||||
alb="$(echo $line | awk -F";" '{print $3}')"
|
||||
file="$artist-$alb"
|
||||
yt-dlp "$link" -x --audio-format mp3 --no-playlist -o "$file.%(ext)s"
|
||||
mid3v2 -a "$artist" "$file"*
|
||||
mid3v2 -A "$alb" "$file"*
|
||||
mid3v2 -t "$alb" "$file"*
|
||||
done
|
Loading…
x
Reference in New Issue
Block a user