mirror of
https://github.com/Phantop/dotfiles
synced 2024-12-26 15:06:50 +00:00
Fish: allow ? and use youtube-dlc
This commit is contained in:
parent
cf157de82f
commit
a4a4d7e0b1
2
.bashrc
2
.bashrc
|
@ -124,7 +124,7 @@ alias ta='tmux attach -t'
|
|||
alias up='se up --y'
|
||||
alias vi=nvim
|
||||
alias v=vi
|
||||
alias ydl="youtube-dl --continue --ignore-errors --no-overwrites --write-sub --embed-subs -o '%(title)s.%(ext)s'"
|
||||
alias ydl="youtube-dlc --continue --ignore-errors --no-overwrites --write-sub --embed-subs -o '%(title)s.%(ext)s'"
|
||||
alias ydl4='ydl --format mp4'
|
||||
|
||||
#functions
|
||||
|
|
|
@ -27,6 +27,7 @@ SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrbl
|
|||
SETUVAR fish_color_status:red
|
||||
SETUVAR fish_color_user:brgreen
|
||||
SETUVAR fish_color_valid_path:\x2d\x2dunderline
|
||||
SETUVAR fish_features:3\x2e0
|
||||
SETUVAR fish_greeting:\x1d
|
||||
SETUVAR fish_key_bindings:fish_default_key_bindings
|
||||
SETUVAR fish_pager_color_completion:\x1d
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Defined in /tmp/fish.J0dXw4/ydl.fish @ line 2
|
||||
function ydl --wraps=youtube-dl
|
||||
youtube-dl --continue --ignore-errors --no-overwrites --write-auto-sub --write-sub --embed-subs --sub-lang=en -o '%(title)s.%(ext)s' $argv
|
||||
# Defined in /tmp/fish.L1Go55/ydl.fish @ line 2
|
||||
function ydl --wraps=youtube-dl --wraps=youtube-dlc
|
||||
youtube-dlc --continue --ignore-errors --no-overwrites --write-auto-sub --write-sub --embed-subs --sub-lang=en -o '%(title)s.%(ext)s' $argv
|
||||
end
|
||||
|
|
|
@ -3,8 +3,8 @@ nittr = 'nitter.snopyta.org'
|
|||
|
||||
# BEGIN MAIN CONFIGURATION #
|
||||
c.url.default_page = "https://feedly.com/i/my"
|
||||
c.url.start_pages = ["https://duckduckgo.com/?q=20m+timer"]
|
||||
c.url.searchengines = {"DEFAULT": "duckduckgo.com/?q={}", "y": "localhost:3000" + "/search?q={}"}
|
||||
c.url.start_pages = ["https://duck.com/?q=20m+timer"]
|
||||
c.url.searchengines = {"DEFAULT": "duck.com/?q={}", "y": "localhost:3000" + "/search?q={}"}
|
||||
|
||||
c.completion.open_categories = ["quickmarks", "bookmarks", "history"]
|
||||
c.tabs.show = "multiple"
|
||||
|
@ -54,7 +54,7 @@ c.aliases['remove-sticky'] = "jseval -u -q javascript:(function()%7B%20let%20i%2
|
|||
config.bind('sr', "remove-sticky")
|
||||
|
||||
config.bind('st', 'config-cycle -t content.proxy socks://localhost:9050/ system')
|
||||
config.bind('sca', 'config-cycle -t content.user_stylesheets adapta.css ""')
|
||||
config.bind('sc', 'config-cycle -t content.user_stylesheets adapta.css ""')
|
||||
|
||||
|
||||
# APPEARANCE #
|
||||
|
|
Loading…
Reference in a new issue