1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-12-27 15:36:49 +00:00
dotfiles/dot-local/bin/setup

45 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
gnome="$(echo eog file-roller gnome-{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"
gui="abiword caja gmic-gimp engrampa keepassxc kitty lutris vorta"
2021-11-19 05:25:35 +00:00
media="avidemux gaupol jpegoptim mpv playerctl usbmuxd viewnior yt-dlp 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"
sys="bleachbit corectrl ifuse linux-tools-cpupower python-wheel rsync tlp"
2021-09-29 19:06:56 +00:00
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 libreoffice-common onboard thunderbird
2021-10-27 06:58:27 +00:00
echo source ~/.config/bashrc > ~/.bashrc
install -D <(echo set -g mouse on) ~/.config/tmux/tmux.conf
mkdir -p ~/.parallel/will-cite
parallel stow --no-folding -d ~/.dotfiles/dot-{} -t ~/.{} . ::: config local
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
2021-11-19 05:25:35 +00:00
parallel pipx install ::: deemix soundscrape tldr
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"