Files
dotfiles/installer/desktop.sh
T
gitadmin 3d6393ae4b fix(gtk): update desktop file to include new script
allow select and paste in the terminal.
2026-04-24 20:43:13 -04:00

47 lines
1.3 KiB
Bash
Executable File

#!/bin/sh -e
if [[ ! -x "$(command -v sjb-orgmode-installer)" ]]; then
echo "Error: sjb config script are not installed, run sjb-install.sh" >&2
exit 1
fi
if [[ -x "$(command -v systemctl)" ]]; then
systemctl --user enable --now syncthing
fi
THEMES_DIR="${HOME}/.local/share/themes"
${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 systemctl)" ]]; then
${DOTFILES_DIR}/sync-config config/systemd
systemctl --user enable --now wallpaper.timer
fi
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 ${THEMES_DIR}/current/theme/mako.ini ${HOME}/.config/mako/config
${DOTFILES_DIR}/sync-config config/ghostty
ln -snf ${THEMES_DIR}/current/theme/ghostty ${HOME}/.config/ghostty/theme
${DOTFILES_DIR}/sync-config config/chromium-flags.conf
xdg-settings set default-web-browser firefox.desktop