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

45 lines
1.8 KiB
Plaintext
Raw Normal View History

#!/bin/bash
gnome="$(echo eog file-roller gnome-{calendar,photos,mpv,terminal} nautilus rhythmbox)"
sudo eopkg rm -y firefox $gnome hexchat onboard thunderbird
audio="audacious audacious-plugins audacity opus-tools quodlibet spek"
dev="ccache docker-compose git-extras llvm-clang neovim parallel solbuild tig upx"
gui="abiword bleachbit caja gmic-gimp engrampa keepassx kitty lutris vorta"
media="avidemux gaupol jpegoptim mpv playerctl usbmuxd viewnior zathura-poppler"
rice="adapta-gtk-theme ant-dracula-gtk-theme font-ubuntu-ttf rofi starship stow"
term="advancecomp autojump fd fish fzf innoextract most ncdu p7zip ranger ripgrep tmux"
sys="corectrl ifuse linux-tools-cpupower rsync tlp"
web="arcanist aria2 nicotine-plus qutebrowser openssh-server rclone subliminal"
sudo eopkg up -y
sudo eopkg it -y -c system.devel $audio $dev $gui $media $rice $sys $term $web
echo 'source ~/.config/bashrc' > .bashrc
parallel stow --no-folding -d ~/.dotfiles/dot-{} -t ~/.{} . ::: config local
mkdir -p ~/.config/mpv/shaders ~/.local/share/qutebrowser/pdfjs ~/.parallel/will-cite
un(){ F=$(mktemp); 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
git g gh:junegunn/vim-plug ~/.config/nvim/autoload
nvim +PlugUpdate +q +q
parallel pip3 install -U ::: adblock pipipxx readability-lxml sh
parallel pipx install ::: deemix soundscrape tldr
sudo eopkg rm -y --ignore-dependency tracker
sudo systemctl mask tracker-{store,miner-{fs,rss,apps},extra,writeback}
sudo systemctl enable --now docker
sudo usermod -aG docker $USER
git g p:appdwarf ~/.appdwarf
git g p:haiku-icons ~/.local/share/icons/Haiku
git g p:phantop.github.io ~/.site
git g p:solus-stuff ~/.solus
chsh -s /usr/bin/fish
fish -c "aliases;clean"