Adjust install, file-copy, and theme logic after first run on arch linux
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user