50 lines
2.2 KiB
Bash
50 lines
2.2 KiB
Bash
#/bin/bash
|
|
|
|
# check sudoer for install
|
|
groups | grep -q sudo || echo "Please add $(whoami) to sudo group with : sudo usermod -aG sudo $(whoami), then reboot and relaunch this script"
|
|
groups | grep -q sudo || return
|
|
|
|
# sudo usermod -aG sudo $user # pour passer sudoers, puis reboot
|
|
sudo apt install -y vim-gtk3 python3-tldextract uuid-runtime webext-browserpass webext-ublock-origin-firefox vim vim-nox curl pass python3 ripgrep fonts-firacode fd-find tmux postgresql npm rsync nextcloud-desktop chromium tig locate htop
|
|
|
|
[ ! -f "$HOME/.local/bin/fd" ] && ln -s $(which fdfind) ~/.local/bin/fd
|
|
|
|
# Installation oh my bash
|
|
[ ! -d "$HOME/.oh-my-bash/" ] && bash -c "$(curl -fsSL https://raw.githubusercontent.com/ohmybash/oh-my-bash/master/tools/install.sh)" || echo "oh-my-bash installed"
|
|
|
|
# Installation config specif bash + aliases
|
|
grep -q "gil_specific" "$HOME/.bashrc" && echo "Bash configured" || sed -i -e '$asource "$HOME/.config/bash/gil_specific.sh"\' $HOME/.bashrc
|
|
|
|
# Installation sdkman
|
|
[ ! -d "$HOME/.sdkman/" ] && curl -s "https://get.sdkman.io" | bash
|
|
|
|
gsettings set org.gnome.desktop.interface gtk-theme "Nordic"
|
|
gsettings set org.gnome.desktop.wm.preferences theme "Nordic"
|
|
|
|
gsettings set org.gnome.desktop.interface monospace-font-name 'Fira Code 11'
|
|
gsettings set org.gnome.desktop.interface document-font-name 'Fira Code 10'
|
|
gsettings set org.gnome.desktop.interface font-name 'Fira Code 10'
|
|
gsettings set org.gnome.desktop.wm.keybindings close "['<Super>q']"
|
|
gsettings set org.gnome.desktop.wm.keybindings toggle-maximized "['<Super>f']"
|
|
|
|
git config --global user.email "gil.portenseigne@nereide.fr"
|
|
git config --global user.name "Gil Portenseigne"
|
|
|
|
|
|
echo "Maintenant à installer : Idea,
|
|
Nexcloud sync, parsec"
|
|
echo "https://github.com/nordtheme/gnome-terminal"
|
|
echo "https://fostips.com/install-latest-firefox-non-esr-debian/"
|
|
echo "https://freetubeapp.io/"
|
|
|
|
|
|
###### dwm install :
|
|
#sudo apt install libx11-dev libxinerama-dev libxft-dev libx11-xcb-dev libxcb-res0-dev arandr make gcc
|
|
### pulsemixer, unclutter libnotify-bin ncal stterm dmenu brightnessctl brightness-udev
|
|
# git clone git@git.portenseigne.ovh:pgil/dwm.git
|
|
# git clone git@git.portenseigne.ovh:pgil/dwm-to-gdm.git
|
|
|
|
|
|
|
|
|