Browse Source

Misc tweaks

master
lara 3 years ago
parent
commit
2a3ced9900
  1. 1
      aliases
  2. 2
      bin/mp3dl
  3. 1
      config/mpv/input.conf
  4. 2
      gitconfig

1
aliases

@ -12,6 +12,7 @@ if date --version > /dev/null 2>&1 ;then
alias ip='ip --color'
alias ipa='ip route && echo && ip --brief address'
alias ipr='ip --brief address && echo && ip route'
alias cal='cal -m -3'
else
alias ls='ls -FGh'
alias ipa='ip address'

2
bin/mp3dl

@ -38,6 +38,6 @@ fi
notify-send -t 3000 "mp3dl" "Downloading $url..."
youtube-dl -x --audio-format mp3 --no-playlist -o "$dest/%(title)s.%(ext)s" "$url" 2>&1 \
youtube-dl -x --audio-format mp3 --no-playlist --add-metadata -o "$dest/%(title)s.%(ext)s" "$url" 2>&1 \
| grep 'ERROR:' \
| notify_err

1
config/mpv/input.conf

@ -1,2 +1,3 @@
# Download current video as mp3 using youtube-dl
g-d run mp3dl ${path}
#y-y run yank url

2
gitconfig

@ -2,6 +2,8 @@
defaultBranch = dev
[core]
excludesfile = ~/.gitignore_global
[user]
useConfigOnly = true
[include]
path = ~/.git_user
[master]

Loading…
Cancel
Save