Files
dotfiles/installer/theme.sh
T
steveandgitadmin 02a5e0df28 init: new dotfile configuration
Remove all org files using a new script to more config over, The old org
file configuaration were great but required org. This new version only
requires the scripts that is included in the repo.

The configuration are all done but have not ported the theming system
yet.

Signed-off-by: Steve Beaulac <steve@sagacity.ca>
Change-Id: I14cd7fe058a71c8ba9d6d35397dc8d7e6a6a6964
2026-03-02 13:26:21 -05:00

26 lines
850 B
Bash
Executable File

#!/bin/sh -e
# Use dark mode for QT apps too (like kdenlive)
# Allow icons to match the theme
# Prefer dark mode everything
if [[ ! -x "$(command -v paru)" ]]; then
paru -Sy --needed --noconfirm kvantum-qt5 gnome-themes-extra yaru-icon-theme
fi
if [[ ! -x "$(command -v gsettings)" ]]; then
gsettings set org.gnome.desktop.interface gtk-theme "Adwaita-dark"
gsettings set org.gnome.desktop.interface color-scheme "prefer-dark"
gsettings set org.gnome.desktop.interface icon-theme "Yaru-blue"
fi
${DOTFILES_DIR}/sync-script script/omarchy-theme-bg-next
${DOTFILES_DIR}/sync-script script/omarchy-theme-list
${DOTFILES_DIR}/sync-script script/omarchy-theme-set
# Set initial theme
THEMES_DIR="$HOME/.local/share/themes"
mkdir -p ${THEMES_DIR}
ln -snf ${DOTFILES_DIR}/themes/ ${THEMES_DIR}/available
omarchy-theme-set "tokyo-night"