mirror of
https://github.com/Phantop/dotfiles
synced 2025-11-28 07:06:37 +00:00
fish: some convenient web aliases
This commit is contained in:
parent
ecae12c372
commit
2bfab878ac
|
|
@ -17,6 +17,7 @@ a awall 'xwinwrap -fdt -fs -- mpv -wid WID ~/Pictures/Wall/Anim/$argv* --loop --
|
||||||
a base64d 'echo (echo $argv | base64 -d 2>/dev/null) | tee /dev/stderr 2>| clip;:'
|
a base64d 'echo (echo $argv | base64 -d 2>/dev/null) | tee /dev/stderr 2>| clip;:'
|
||||||
a clip 'xsel -ib'
|
a clip 'xsel -ib'
|
||||||
a cpugov 's cpupower frequency-set -g performance'
|
a cpugov 's cpupower frequency-set -g performance'
|
||||||
|
a curlflux 'eval curl (cat ~/.config/miniflux)/$argv;:'
|
||||||
a dirdl 'wget -r -k -p -np -e robots=off'
|
a dirdl 'wget -r -k -p -np -e robots=off'
|
||||||
a dl 'not test "$argv" && cd ~/Downloads || aria2c -c -{j,s,x}16 --http-accept-gzip'
|
a dl 'not test "$argv" && cd ~/Downloads || aria2c -c -{j,s,x}16 --http-accept-gzip'
|
||||||
a dot 'cd ~/.dotfiles'
|
a dot 'cd ~/.dotfiles'
|
||||||
|
|
@ -40,6 +41,7 @@ a nix '. ~/.nix-profile/etc/profile.d/nix.fish; command nix'
|
||||||
a nsmd 'netsurf (md2html $argv | psub -s .html);:'
|
a nsmd 'netsurf (md2html $argv | psub -s .html);:'
|
||||||
a nsp 'netsurf (pandoc $argv -s -t html | psub -s .html);:'
|
a nsp 'netsurf (pandoc $argv -s -t html | psub -s .html);:'
|
||||||
a off shutdown
|
a off shutdown
|
||||||
|
a pill 's powerpill -Syu'
|
||||||
a png2webp 'fd -e png -x cwebp -z 9 -mt {} -o {.}.webp \; -x rm'
|
a png2webp 'fd -e png -x cwebp -z 9 -mt {} -o {.}.webp \; -x rm'
|
||||||
a qb 'qutebrowser --target auto'
|
a qb 'qutebrowser --target auto'
|
||||||
a qutainer 'qutebrowser --temp-basedir'
|
a qutainer 'qutebrowser --temp-basedir'
|
||||||
|
|
@ -50,6 +52,8 @@ a s 'doas env "PATH=$PATH"'
|
||||||
a ssh 'kitty +kitten ssh'
|
a ssh 'kitty +kitten ssh'
|
||||||
a sus 'systemctl suspend'
|
a sus 'systemctl suspend'
|
||||||
a tar bsdtar
|
a tar bsdtar
|
||||||
|
a tcsv 'curl -sL https://torrents-csv.com/service/search?q=$argv | jq ".[]|.name,.infohash,.seeders";:'
|
||||||
|
a urldecode 'python3 -c "import sys; from urllib.parse import unquote; print(unquote(sys.stdin.read()))"'
|
||||||
a v vi
|
a v vi
|
||||||
a venv 'python3 -m venv venv && source venv/bin/activate.fish && pip3 install -r requirements.txt'
|
a venv 'python3 -m venv venv && source venv/bin/activate.fish && pip3 install -r requirements.txt'
|
||||||
a vi nvim
|
a vi nvim
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
fish_add_path -g ~/{.dotfiles,.local{/appdwarf,},Games}/bin /usr/lib64/ccache/bin
|
fish_add_path -g ~/{.dotfiles,.local{/appdwarf,},Games}/bin /usr/lib64/ccache/bin
|
||||||
export EDITOR=nvim MANPAGER='nvim +Man!' USE_CCACHE=1 PAGER=nvimpager
|
export EDITOR=nvim MANPAGER='nvim +Man!' USE_CCACHE=1 PAGER=most
|
||||||
export QT_STYLE_OVERRIDE=kvantum GTK_THEME=Dracula
|
export QT_STYLE_OVERRIDE=kvantum GTK_THEME=Dracula
|
||||||
export NNN_PLUG='f:fzcd;i:imgur;j:autojump;m:nmount;s:imgview'
|
export NNN_PLUG='f:fzcd;i:imgur;j:autojump;m:nmount;s:imgview'
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue