mirror of
https://github.com/Phantop/dotfiles
synced 2025-03-24 10:59:21 +00:00
fish: clean up some aliases, setup: clean up pkgs
This commit is contained in:
parent
ea60793808
commit
05f3d2f223
|
@ -16,7 +16,7 @@ a base64d 'echo (echo $argv | base64 -d 2>/dev/null) | tee /dev/stderr 2>| clip;
|
||||||
a catbox 'curl https://catbox.moe/user/api.php -F reqtype=fileupload -F fileToUpload=@$argv;:'
|
a catbox 'curl https://catbox.moe/user/api.php -F reqtype=fileupload -F fileToUpload=@$argv;:'
|
||||||
a clip 'xclip -sel clip'
|
a clip 'xclip -sel clip'
|
||||||
a cpugov 's cpupower frequency-set -g performance'
|
a cpugov 's cpupower frequency-set -g performance'
|
||||||
a dirdl 'wget -r -k -p -np -nc 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'
|
a dl 'not test "$argv" && cd ~/Downloads || aria2c -c -{j,s,x}16'
|
||||||
a drivedl 'dl https://docs.google.com/uc?export=download&id=(echo $argv | cut -d/ -f6)&confirm=t'
|
a drivedl 'dl https://docs.google.com/uc?export=download&id=(echo $argv | cut -d/ -f6)&confirm=t'
|
||||||
a dot 'cd ~/.dotfiles'
|
a dot 'cd ~/.dotfiles'
|
||||||
|
@ -47,9 +47,8 @@ a se 's eopkg'
|
||||||
a tar bsdtar
|
a tar bsdtar
|
||||||
a tcsv 'curl -sL http://torrents-csv.ml/service/search?q=$argv | jq ".[]|.name,.infohash,.seeders";:'
|
a tcsv 'curl -sL http://torrents-csv.ml/service/search?q=$argv | jq ".[]|.name,.infohash,.seeders";:'
|
||||||
a temp 'curl temp.sh -T'
|
a temp 'curl temp.sh -T'
|
||||||
a tldrl 'curl -s https://raw.githubusercontent.com/tldr-pages/tldr/main/pages/{common,linux}/$argv.md;:'
|
a tldr 'curl -s https://raw.githubusercontent.com/tldr-pages/tldr/main/pages/{common,linux}/$argv.md;:'
|
||||||
a transfer 'curl https://transfer.sh/(basename $argv) -T'
|
a transfer 'curl https://transfer.sh/(basename $argv) -T'
|
||||||
a twitch 'mpv https://twitch.tv/$argv & disown ;:'
|
|
||||||
a uneopkg 'parallel "unzip -op {} install.tar.xz | tar xf -" ::: *.eopkg'
|
a uneopkg 'parallel "unzip -op {} install.tar.xz | tar xf -" ::: *.eopkg'
|
||||||
a up 'se up --y'
|
a up 'se up --y'
|
||||||
a v vi
|
a v vi
|
||||||
|
@ -70,7 +69,6 @@ a redwarf 'mkdwarfs -o redwarf.dwarfs --recompress -i'
|
||||||
a squash 'mksquashfs . $PWD.squashfs -comp zstd -b 1M -Xcompression-level 22'
|
a squash 'mksquashfs . $PWD.squashfs -comp zstd -b 1M -Xcompression-level 22'
|
||||||
a undwarfs 'mkdir dwarfs-root; dwarfsextract -o dwarfs-root -i'
|
a undwarfs 'mkdir dwarfs-root; dwarfsextract -o dwarfs-root -i'
|
||||||
a xcompress 'fxz -T0 -9 -k'
|
a xcompress 'fxz -T0 -9 -k'
|
||||||
a zipmount 'fuse-zip -f $argv (mktemp -d | tee /dev/tty /dev/stderr 2>| clip);:'
|
|
||||||
|
|
||||||
for i in (cat ~/.config/qutebrowser/quickmarks | cut -d ' ' -f1)
|
for i in (cat ~/.config/qutebrowser/quickmarks | cut -d ' ' -f1)
|
||||||
a $i "qutebrowser / \":open $i\""
|
a $i "qutebrowser / \":open $i\""
|
||||||
|
|
13
bin/setup
13
bin/setup
|
@ -5,13 +5,12 @@ alias s=sudo se="s eopkg -y" g=git
|
||||||
gnome="gnome-photos gnome-mpv gnome-terminal nautilus rhythmbox"
|
gnome="gnome-photos gnome-mpv gnome-terminal nautilus rhythmbox"
|
||||||
se rm $gnome firefox libreoffice-common onboard thunderbird
|
se rm $gnome firefox libreoffice-common onboard thunderbird
|
||||||
|
|
||||||
a="advancecomp arcanist archivemount aria2 audacious audacity avidemux bleachbit"
|
pkgs="advancecomp arcanist aria2 audacious audacity avidemux bleachbit caja ccache
|
||||||
b="caja ccache corectrl fd fish fuse-zip fzf gifsicle gimp git-extras ifuse"
|
corectrl fd fish fzf gifsicle gimp git-extras ifuse innoextract jpegoptim keepassxc
|
||||||
c="innoextract jpegoptim keepassxc kitty linux-tools-cpupower llvm-clang lrzip lynx"
|
kitty linux-tools-cpupower llvm-clang lrzip lynx mkvtoolnix moreutils mpv ncdu neovim
|
||||||
d="mkvtoolnix moreutils mpv ncdu neovim nicotine-plus nnn opus-tools p7zip parallel"
|
nicotine-plus nnn opus-tools p7zip parallel qt-creator qutebrowser ripgrep solbuild
|
||||||
e="qt-creator qutebrowser ripgrep solbuild spek syncthing tig tlp tor upx usbmuxd"
|
spek syncthing tig tlp tor upx usbmuxd yt-dlp zathura-mupdf"
|
||||||
f="yt-dlp zathura-mupdf"
|
se up; se it -c system.devel $pkgs
|
||||||
se up; se it -c system.devel $a $b $c $d $e $f
|
|
||||||
pip3 install adblock pipx-in-pipx readability-lxml
|
pip3 install adblock pipx-in-pipx readability-lxml
|
||||||
|
|
||||||
stow --no-folding -d ~/.dotfiles -t ~/.config .
|
stow --no-folding -d ~/.dotfiles -t ~/.config .
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
fish_add_path -g ~/.appdwarf/{,apps} ~/{.dotfiles,.local,,Games}/bin /usr/lib64/ccache/bin
|
fish_add_path -g ~/.appdwarf/{,apps/bin} ~/{.dotfiles,.local,,Games}/bin /usr/lib64/ccache/bin
|
||||||
export EDITOR=nvim MANPAGER='nvim +Man!' USE_CCACHE=1
|
export EDITOR=nvim MANPAGER='nvim +Man!' USE_CCACHE=1
|
||||||
|
|
||||||
set fish_greeting
|
set fish_greeting
|
||||||
|
|
Loading…
Reference in a new issue