1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-04 22:14:21 +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"
2021-09-29 19:06:56 +00:00
gui="abiword bleachbit caja gmic-gimp engrampa keepassxc 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"
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"
sudo eopkg up -y
sudo eopkg it -y -c system.devel $audio $dev $gui $media $rice $sys $term $web
2021-09-29 19:06:56 +00:00
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
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
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"