1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-19 05:12:47 +00:00
dotfiles/dot-local/bin/setup

51 lines
2.1 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 spek"
2022-01-11 18:12:14 +00:00
dev="ccache docker-compose git-extras llvm-clang neovim parallel qt-creator solbuild tig upx"
gui="abiword caja gmic-gimp engrampa keepassxc kitty lutris"
2022-01-11 18:12:14 +00:00
media="avidemux gaupol jpegoptim mkvtoolnix 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"
2022-01-11 18:12:14 +00:00
term="advancecomp autojump fd fish fzf innoextract micro most ncdu nnn p7zip ripgrep tmux"
sys="bleachbit corectrl ifuse linux-tools-cpupower python-wheel rsync screen 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
ln -s ~/.config/gtkrc ~/.gtkrc-2.0
2021-10-27 06:58:27 +00:00
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
2022-01-11 18:12:14 +00:00
wget https://adsbypasser.github.io/releases/adsbypasser.full.es7.user.js -P ~/.config/qutebrowser/greasemonkey/
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"
gsettings set org.gnome.desktop.interface cursor-theme Haiku
gsettings set org.gnome.desktop.interface icon-theme Haiku
gsettings set org.gnome.desktop.interface gtk-theme Ant-Dracula