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

@@ -29,7 +29,7 @@ return {
ensure_installed = {
"clangd",
"lua_ls",
"ruby_lsp",
-- "ruby_lsp",
-- "gopls",
-- "tailwindcss",
},

View File

@@ -1,7 +1,6 @@
return {
{
"nvim-treesitter/nvim-treesitter",
branch = 'master',
lazy = false,
build = ":TSUpdate",
config = function()

View File

@@ -27,6 +27,7 @@ export XDG_DATA_DIRS="/usr/local/share:/usr/share"
# directory for theme/style stuff
export DIR_THEME_SETTINGS="$XDG_CONFIG_HOME/zz-this-box/themes"
export DEFAULT_THEME_NAME="tokyodark"
# zsh
export ZDOTDIR="$XDG_CONFIG_HOME/zsh" # may already be set, set anyway

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