Update aerospace keybinds, remove skhd, consolidate some theme scripts

This commit is contained in:
2025-11-02 22:28:18 -06:00
parent 392b24e18b
commit f4baf50cf1
14 changed files with 96 additions and 101 deletions

View File

@@ -10,7 +10,7 @@ sym_link() {
echo "---- configuring themes ----------------"
source src_files/.config/zsh/.zshenv
# bring in the theme-files from Omarchy which i want to use
echo "copying theme imports into config dirs"
omarchy_themes=(`find src_files/imports/themes-omarchy-* -mindepth 1 -maxdepth 1 -type d`)
for dir in $omarchy_themes; do
target_theme_dir="$DIR_THEME_SETTINGS/$(basename $dir)"
@@ -20,16 +20,14 @@ for dir in $omarchy_themes; do
for f in $dir_theme_files; do cp -RPp $f $target_theme_dir/; done
done
# rename imported chromium.theme files
chromium_filenames=(`find $DIR_THEME_SETTINGS -mindepth 2 -maxdepth 2 -name "chromium.theme"`)
for f in $chromium_filenames; do mv $f $(dirname $f)/brave.theme; done
# copy over custom neovim themes
nvim_themes_dir=$XDG_CONFIG_HOME/nvim/themes
[[ ! -d "$nvim_themes_dir/pina/colors" ]] && mkdir -p "$nvim_themes_dir/pina/colors"
cp -p src_files/imports/themes-omarchy-extra/pina/pina.nvim/colors/pina.vim $nvim_themes_dir/pina/colors/
# set links for theme-switching
echo "setting sym-links for theme-switching"
default_theme="tokyodark"
sym_link $DIR_THEME_SETTINGS/$default_theme $DIR_THEME_SETTINGS/.current-theme
sym_link $DIR_THEME_SETTINGS/.current-theme/kitty.conf $XDG_CONFIG_HOME/kitty/theme.conf
@@ -37,6 +35,6 @@ sym_link $DIR_THEME_SETTINGS/.current-theme/tmux.conf $XDG_CONFIG_HOME/tmux/them
sym_link $DIR_THEME_SETTINGS/.current-theme/neovim.lua $XDG_CONFIG_HOME/nvim/current-theme
# TODO: finish theme work, set needed links per theme-set script
# once everything is in place, run theme-set with the default_theme
echo "setting the default theme: $default_theme"
$DIR_SCRIPTS/theme-set $default_theme