mirror of
https://github.com/Phantop/dotfiles
synced 2024-12-25 06:36:42 +00:00
51 lines
2.1 KiB
Bash
Executable file
51 lines
2.1 KiB
Bash
Executable file
#!/bin/bash
|
|
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"
|
|
dev="ccache docker-compose git-extras llvm-clang neovim parallel qt-creator solbuild tig upx"
|
|
gui="abiword caja gmic-gimp engrampa keepassxc kitty lutris"
|
|
media="avidemux gaupol jpegoptim mkvtoolnix mpv playerctl usbmuxd viewnior yt-dlp zathura-poppler"
|
|
rice="ant-dracula-gtk-theme font-ubuntu-ttf rofi starship stow"
|
|
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"
|
|
web="arcanist aria2 nicotine-plus qutebrowser openssh-server rclone subliminal syncthing-gtk"
|
|
|
|
se up
|
|
se it -c system.devel $audio $dev $gui $media $rice $sys $term $web
|
|
se rm $gnome firefox hexchat libreoffice-common onboard thunderbird
|
|
|
|
echo source ~/.config/bashrc > ~/.bashrc
|
|
ln -s ~/.config/gtkrc ~/.gtkrc-2.0
|
|
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
|
|
|
|
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
|
|
wget https://adsbypasser.github.io/releases/adsbypasser.full.es7.user.js -P ~/.config/qutebrowser/greasemonkey/
|
|
|
|
pip3 install adblock pipx-in-pipx readability-lxml sh
|
|
parallel pipx install ::: deemix soundscrape tldr
|
|
|
|
s usermod -aG docker $USER
|
|
s systemctl enable --now docker
|
|
s systemctl mask tracker-{store,miner-{fs,rss,apps},extra,writeback}
|
|
|
|
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
|
|
|
|
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
|