1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-04 14:04:17 +00:00
dotfiles/dot-local/bin/setup

43 lines
1.8 KiB
Plaintext
Raw Normal View History

#!/bin/bash
2021-10-26 19:01:32 +00:00
alias s=sudo se="sudo eopkg -y" g=git
2021-10-26 19:01:32 +00:00
gnome="$(echo eog file-roller gnome-{calendar,photos,mpv,terminal} nautilus rhythmbox)"
audio="audacious audacious-plugins audacity opus-tools quodlibet spek"
dev="ccache docker-compose git-extras llvm-clang neovim parallel solbuild tig upx"
2021-10-08 19:24:27 +00:00
gui="bleachbit caja gmic-gimp engrampa keepassxc kitty lutris vorta"
media="avidemux gaupol jpegoptim mpv playerctl usbmuxd viewnior zathura-poppler"
2021-10-26 19:01:32 +00:00
rice="ant-dracula-gtk-theme font-ubuntu-ttf rofi starship stow"
term="advancecomp autojump fd fish fzf innoextract most ncdu p7zip ranger ripgrep tmux"
2021-09-29 19:06:56 +00:00
sys="corectrl ifuse linux-tools-cpupower python-wheel rsync tlp"
web="arcanist aria2 nicotine-plus qutebrowser openssh-server rclone subliminal syncthing-gtk"
2021-10-26 19:01:32 +00:00
se up
se it -c system.devel $audio $dev $gui $media $rice $sys $term $web
se rm $gnome firefox hexchat onboard thunderbird
se rm --ignore-dependency plata-theme tracker
parallel stow --no-folding -d ~/.dotfiles/dot-{} -t ~/.{} . ::: config local
2021-10-26 19:01:32 +00:00
echo 'source ~/.config/bashrc' > ~/.parallel/will-cite > ~/.bashrc
2021-10-26 19:01:32 +00:00
un(){ F=$(mktemp); mkdir -p $2; curl https://api.github.com/repos/$1/releases |\
grep -om1 http.\*zip | wget -i- -O$F; unzip $F -d $2;}
un bloc97/Anime4k ~/.config/mpv/shaders
un mozilla/pdf.js ~/.local/share/qutebrowser/pdfjs
2021-09-29 19:06:56 +00:00
pip3 install adblock pipx-in-pipx readability-lxml sh
parallel pipx install ::: deemix soundscrape tldr yt-dlp
2021-10-26 19:01:32 +00:00
s usermod -aG docker $USER
s systemctl enable --now docker
s systemctl mask tracker-{store,miner-{fs,rss,apps},extra,writeback}
2021-10-26 19:01:32 +00:00
g g p:appdwarf ~/.appdwarf
g g p:solus-stuff ~/.solus
g g p:phantop.github.io ~/.site
g g p:haiku-icons ~/.local/share/icons/Haiku
g g h:junegunn/vim-plug ~/.config/nvim/autoload
nvim +PlugUpdate +q +q
2021-10-26 19:01:32 +00:00
chsh -s $(which fish)
fish -c "aliases;clean"