#!/bin/bash

dotfiles=$1

scripts=$dotfiles/scripts

echo "Enabling syncthing..."
sudo systemctl enable --now syncthing@$USER

echo "Enabling pipewire pulse backend..."
systemctl enable --now --user pipewire-pulse

echo "Adding user to docker group..."
sudo usermod -aG docker $USER

echo "Setting locale"
$scripts/set-locale

echo "Enabling ly..."
sudo systemctl enable ly

echo "Installing rofi theme..."
$scripts/install/rofi

echo "Installing vscode extensions..."
$scripts/install/vscode $dotfiles