#!/bin/bash #the bare essentials sudo apt install -y vim ~/dotfiles/setup-vim.sh sudo apt install -y git cp ./scripts/vimv /usr/bin cp ./scripts/sync_keepass.sh #make home folders I'll need mkdir -p ~/screenshots mkdir -p ~/screenrecordings mkdir -p ~/pictures mkdir -p ~/shared mkdir -p ~/downloads mkdir -p ~/util mkdir -p ~/.config #window manager sudo apt install -y sway sudo apt install -y xwayland #honestly half the shit I'm running still needs that sudo apt install -y swaybg sudo apt install -y swaylock ln -sn ~/dotfiles/devuan_setup/config/sway ~/.config/sway rm -rf ~/.profile rm -rf ~/.bashrc ln -sn ~/dotfiles/devuan_setup/.profile ~/.profile ln -sn ~/dotfiles/devuan_setup/config/user-dirs.dirs ~/.config/ ln -sn ~/dotfiles/devuan_setup/.bashrc ~/.bashrc ln -sn ~/dotfiles/devuan_setup/scripts ~/scripts #so pasting works in the vim in the terminal sudo apt install -y wl-clipboard #install terminal emulator sudo apt install -y alacritty #dialog boxes sudo apt install -y zenity #let there be sound (over bluetooth too)! sudo apt install -y pipewire sudo apt install -y pipewire-pulse sudo apt install -y xdg-desktop-portal-wlr sudo apt install -y pulsemixer sudo apt install -y bluez sudo apt install -y bluez-firmware sudo apt install -y bluez-tools #screen brightness control sudo apt install -y brightnessctl #battery measurement sudo apt install -y acpi sudo apt install -y acpid #displays "progress" bars - used for brightness and volume #sway config contains the named pipes necessary for it to work with my shortcuts sudo apt install -y wob ln -sn ~/dotfiles/devuan_setup/config/wob ~/.config/wob #launcher sudo apt install -y wofi ln -sn ~/dotfiles/devuan_setup/config/wofi ~/.config/wofi #wofi will search for desktop files in here mkdir -p ~/desktop ln -sn ~/dotfiles/devuan_setup/desktop/applications.txt ~/desktop/applications.txt #automount external drives sudo apt install -y udiskie #love2d stuff sudo apt install -y love sudo apt install -y apktool #actual programs sudo apt install -y zsh sudo apt install -y firefox-esr sudo apt install -y inkscape sudo apt install -y keepassxc sudo apt install -y calibre sudo apt install -y filezilla sudo apt install -y thunar sudo apt install -y krita sudo apt install -y gimp sudo apt install -y lftp sudo apt install -y kdeconnect sudo apt install -y wf-recorder sudo apt remove -y thunar-volman #screenshots sudo apt install -y grimshot #work stuff sudo apt install -y git-flow sudo apt install -y docker.io sudo apt install -y npm curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash DOCKER_COMPOSE_VERSION=$(curl --silent https://api.github.com/repos/docker/compose/releases/latest | grep -Po '"tag_name": "\K.*\d') DOCKER_COMPOSE_PATH=/usr/local/bin/docker-compose curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-Linux-x86_64 -o $DOCKER_COMPOSE_PATH chmod 755 $DOCKER_COMPOSE_PATH #flatpak install flathub org.freedesktop.Platform/x86_64/19.08 #wifi and bluetooth sudo apt install -y connman-gtk sudo cp ./config/connman/main.conf /etc/connman/main.conf sudo apt purge -y isc-dhcp-client sudo apt purge -y isc-dhcp-common sudo systemctl start systemd-networkd sudo systemctl enable systemd-networkd echo "For every interface in 'ip link', create a File like '/etc/systemd/network/05-wlp1s0.network', with the following content, adjusted for the interface:" echo "[Match]" echo "Name=wlp1s0" echo "[Network]" echo "DHCP=yes" #give user ability to shutdown sudo groupadd wheel sudo adduser bc wheel #sudo adduser wf wheel echo "%wheel ALL= NOPASSWD: /sbin/shutdown" | sudo tee -a /etc/sudoers > /dev/null echo "%wheel ALL= NOPASSWD: /sbin/reboot" | sudo tee -a /etc/sudoers > /dev/null