Adjust install, file-copy, and theme logic after first run on arch linux

This commit is contained in:
2025-11-14 00:29:18 -06:00
parent 91cc2cf14a
commit bb97234f1b
12 changed files with 32 additions and 24 deletions

View File

@@ -50,7 +50,7 @@ theme_update_browser() {
# actually applied, leaving here as is for now; TODO: fix or just remove
defaults write com.brave.browser $policy -string "$color_hex"
}
brave --refresh-platform-policy --no-startup-window
brave --refresh-platform-policy --no-startup-window > /dev/null
}
[[ ! -z $1 ]] && raw_target="$1" ||
@@ -62,7 +62,7 @@ theme_update_browser() {
target_theme="$DIR_THEME_SETTINGS/$(echo $raw_target | tr ' ' '-' | tr '[:upper:]' '[:lower:]')"
[[ ! -d "$target_theme" ]] && echo "theme not found: $target_theme" && exit 1
ln -sF "$target_theme" $DIR_THEME_SETTINGS/.current-theme
ln -snf "$target_theme" $DIR_THEME_SETTINGS/.current-theme
theme_update_terminal
theme_update_tmux