#!/bin/sh -e if [[ -x "$(command -v systemctl)" ]]; then systemctl --user enable --now syncthing fi THEME_DIR="${HOME}/.config/omarchy/current/theme" ${DOTFILES_DIR}/sync-config config/hypr ${DOTFILES_DIR}/sync-script script/hyprland-activeworkspace ${DOTFILES_DIR}/sync-script script/hyprland-keybindings ${DOTFILES_DIR}/sync-script script/hyprland-fetch-client ${DOTFILES_DIR}/sync-script script/hyprland-focus-client ${DOTFILES_DIR}/sync-script script/rofi-pass sjb-script-installer ${SJB_CONF_DIR}/bin/bing-wallpaper ${DOTFILES_DIR}/sync-script script/bing-wallpaper if [[ ! -x "$(command -v gsettings)" ]]; then gsettings set org.gnome.desktop.interface gtk-enable-primary-paste true fi ${DOTFILES_DIR}/sync-config config/rofi ${DOTFILES_DIR}/sync-config config/mako ln -snf ${THEME_DIR}/current/theme/mako.ini ${HOME}/.config/mako/config ${DOTFILES_DIR}/sync-config config/ghostty ln -snf ${THEME_DIR}/current/theme/ghostty ${HOME}/.config/ghostty/theme ${DOTFILES_DIR}/sync-config config/chromium-flags.conf xdg-settings set default-web-browser firefox.desktop if [[ -x "$(command -v systemctl)" ]]; then ${DOTFILES_DIR}/sync-config config/systemd systemctl --user enable mako.service systemctl --user enable hypridle.service systemctl --user enable awww-daemon.service systemctl --user enable gnome-keyring-daemon.service systemctl --user enable hyprpolkitagent.service systemctl --user enable wallpaper.timer fi