Misc tweaks
This commit is contained in:
parent
50f6350f2f
commit
2a3ced9900
4 changed files with 5 additions and 1 deletions
1
aliases
1
aliases
|
@ -12,6 +12,7 @@ if date --version > /dev/null 2>&1 ;then
|
||||||
alias ip='ip --color'
|
alias ip='ip --color'
|
||||||
alias ipa='ip route && echo && ip --brief address'
|
alias ipa='ip route && echo && ip --brief address'
|
||||||
alias ipr='ip --brief address && echo && ip route'
|
alias ipr='ip --brief address && echo && ip route'
|
||||||
|
alias cal='cal -m -3'
|
||||||
else
|
else
|
||||||
alias ls='ls -FGh'
|
alias ls='ls -FGh'
|
||||||
alias ipa='ip address'
|
alias ipa='ip address'
|
||||||
|
|
|
@ -38,6 +38,6 @@ fi
|
||||||
|
|
||||||
notify-send -t 3000 "mp3dl" "Downloading $url..."
|
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:' \
|
| grep 'ERROR:' \
|
||||||
| notify_err
|
| notify_err
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
# Download current video as mp3 using youtube-dl
|
# Download current video as mp3 using youtube-dl
|
||||||
g-d run mp3dl ${path}
|
g-d run mp3dl ${path}
|
||||||
|
#y-y run yank url
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
defaultBranch = dev
|
defaultBranch = dev
|
||||||
[core]
|
[core]
|
||||||
excludesfile = ~/.gitignore_global
|
excludesfile = ~/.gitignore_global
|
||||||
|
[user]
|
||||||
|
useConfigOnly = true
|
||||||
[include]
|
[include]
|
||||||
path = ~/.git_user
|
path = ~/.git_user
|
||||||
[master]
|
[master]
|
||||||
|
|
Loading…
Reference in a new issue