?
This commit is contained in:
parent
a4fba5634e
commit
f8e17020e6
36
debian.sh
36
debian.sh
@ -27,14 +27,20 @@ check_dir_exists() {
|
|||||||
is_macbook=false
|
is_macbook=false
|
||||||
install_themes=false
|
install_themes=false
|
||||||
install_nerdfonts=false
|
install_nerdfonts=false
|
||||||
confirm "\033[94mSwap Left Super & Left Control? (Mac keyboard)\033[0m" && is_macbook=true
|
install_dotfiles=false
|
||||||
confirm "\033[94mInstall GTK themes?\033[0m" && install_themes=true
|
# colored text stopped working? idk
|
||||||
confirm "\0cc[94mInstall Nerd Fonts?\033[0m" && install_nerdfonts=true
|
# confirm "\033[94mSwap Left Super & Left Control? (Mac keyboard)\033[0m" && is_macbook=true
|
||||||
|
# confirm "\033[94mInstall GTK themes?\033[0m" && install_themes=true
|
||||||
|
# confirm "\0cc[94mInstall Nerd Fonts?\033[0m" && install_nerdfonts=true
|
||||||
|
confirm "Swap Left Super & Left Control <for mac keyboard> (Y/N)" && is_macbook=true
|
||||||
|
confirm "Install GTK themes? (Y/N)" && install_themes=true
|
||||||
|
confirm "Install Nerd Fonts? (Y/N)" && install_nerdfonts=true
|
||||||
|
confirm "Install billypom dotfiles? (Y/N)" && install_dotfiles=true
|
||||||
|
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt upgrade
|
sudo apt upgrade
|
||||||
sudo apt purge nano evolution nautilus
|
sudo apt purge nano evolution nautilus
|
||||||
sudo apt install vim git cifs-utils nfs-common ripgrep stow virtualenv wget npm zip unzip kitty libfuse-dev python3-pip nemo
|
sudo apt install vim git cifs-utils nfs-common ripgrep stow virtualenv wget nvm zip unzip kitty libfuse-dev python3-pip nemo
|
||||||
# wayland specific packages
|
# wayland specific packages
|
||||||
if "$XDG_SESSION_TYPE" == "wayland"; then
|
if "$XDG_SESSION_TYPE" == "wayland"; then
|
||||||
echo "Installing wayland specific packages"
|
echo "Installing wayland specific packages"
|
||||||
@ -49,6 +55,7 @@ if "$DESKTOP_SESSION" == "gnome"; then
|
|||||||
gsettings set org.gnome.desktop.interface icon-theme breeze
|
gsettings set org.gnome.desktop.interface icon-theme breeze
|
||||||
gsettings set org.gnome.desktop.default-applications.terminal exec ‘kitty’
|
gsettings set org.gnome.desktop.default-applications.terminal exec ‘kitty’
|
||||||
# better alt tab functionality
|
# better alt tab functionality
|
||||||
|
echo "Making alt-tab better :)"
|
||||||
gsettings set org.gnome.desktop.wm.keybindings switch-windows "['<Alt>Tab']"
|
gsettings set org.gnome.desktop.wm.keybindings switch-windows "['<Alt>Tab']"
|
||||||
gsettings set org.gnome.desktop.wm.keybindings switch-windows-backward "['<Shift><Alt>Tab', '<Alt>Above_Tab']"
|
gsettings set org.gnome.desktop.wm.keybindings switch-windows-backward "['<Shift><Alt>Tab', '<Alt>Above_Tab']"
|
||||||
gsettings set org.gnome.desktop.wm.keybindings switch-applications "[]"
|
gsettings set org.gnome.desktop.wm.keybindings switch-applications "[]"
|
||||||
@ -69,6 +76,7 @@ if "$DESKTOP_SESSION" == "gnome"; then
|
|||||||
fi
|
fi
|
||||||
# nerdfonts
|
# nerdfonts
|
||||||
if $install_nerdfonts; then
|
if $install_nerdfonts; then
|
||||||
|
echo "Installing nerdfonts"
|
||||||
bash nerdfonts.sh
|
bash nerdfonts.sh
|
||||||
fi
|
fi
|
||||||
# themes
|
# themes
|
||||||
@ -96,15 +104,17 @@ if ! grep -q "alias vim" ~/.bash_aliases; then echo ‘alias vim=“~/applicatio
|
|||||||
echo "Installed latest neovim"
|
echo "Installed latest neovim"
|
||||||
|
|
||||||
# install my dotfiles
|
# install my dotfiles
|
||||||
if check_dir_exists ~/code/dotfiles; then
|
if $install_dotfiles; then
|
||||||
cd ~/code/dotfiles
|
if check_dir_exists ~/code/dotfiles; then
|
||||||
git pull
|
cd ~/code/dotfiles
|
||||||
echo "Pulled billypom/dotfiles from github"
|
git pull
|
||||||
else
|
echo "Pulled billypom/dotfiles from github"
|
||||||
mkdir -p ~/code
|
else
|
||||||
cd ~/code
|
mkdir -p ~/code
|
||||||
git clone https://github.com/billypom/dotfiles.git
|
cd ~/code
|
||||||
echo "Cloned billypom/dotfiles from github"
|
git clone https://github.com/billypom/dotfiles.git
|
||||||
|
echo "Cloned billypom/dotfiles from github"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
cd ~/code
|
cd ~/code
|
||||||
stow --adopt dotfiles/
|
stow --adopt dotfiles/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user