fix: change variable that hold dotfiles directory
This commit is contained in:
+3
-2
@@ -1,8 +1,9 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
${DOTFILE_DIR}/sync-config config/btop
|
||||
${DOTFILES_DIR}/sync-config config/btop
|
||||
THEMES_DIR="${HOME}/.local/share/themes"
|
||||
|
||||
# theme link
|
||||
mkdir -p ~/.config/btop/themes
|
||||
ln -snf ${DOTFILE_DIR}/themes/current/btop.theme ${HOME}/.config/btop/themes/current.theme
|
||||
ln -snf ${THEMES_DIR}/current/btop.theme ${HOME}/.config/btop/themes/current.theme
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
${DOTFILE_DIR}/sync-config config/emacs
|
||||
${DOTFILES_DIR}/sync-config config/emacs
|
||||
|
||||
|
||||
+3
-4
@@ -1,11 +1,10 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
if [[ ! -x "$(command -v sjb-orgmode-installer)" ]]; then
|
||||
echo "Error: sjb config script are not installed, run sjb-install.sh" >&2
|
||||
exit 1
|
||||
if [[ ! -x "$(command -v fish)" ]]; then
|
||||
paru -Sy --needed --noconfirm fish fisher
|
||||
fi
|
||||
|
||||
${DOTFILE_DIR}/sync-config config/fish
|
||||
${DOTFILES_DIR}/sync-config config/fish
|
||||
|
||||
if [[ -x /usr/bin/fisher ]]; then
|
||||
fisher install franciscolourenco/done
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
${DOTFILES_DIR}/sync-config config/fonts
|
||||
${DOTFILES_DIR}/sync-config config/fontconfig
|
||||
|
||||
rsync -av ${DOTFILES_DIR}/fonts/ ${HOME}/.local/share/fonts/
|
||||
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ if [[ ! -x "$(command -v git)" ]]; then
|
||||
paru -Sy --needed --noconfirm git
|
||||
fi
|
||||
|
||||
${DOTFILE_DIR}/sync-config config/git
|
||||
${DOTFILES_DIR}/sync-config config/git
|
||||
|
||||
GIT_CONFIG="${HOME}/.config/git/local"
|
||||
|
||||
|
||||
+2
-2
@@ -4,12 +4,12 @@ if [[ ! -x "$(command -v jj)" ]]; then
|
||||
paru -Sy --needed --noconfirm jj
|
||||
fi
|
||||
|
||||
${DOTFILE_DIR}/sync-config config/jj
|
||||
${DOTFILES_DIR}/sync-config config/jj
|
||||
|
||||
JJ_CONFIG="${HOME}/.config/jj/conf.d/local.toml"
|
||||
|
||||
mkdir -p "$(dirname ${JJ_CONFIG})"
|
||||
cp ${DOTFILE_DIR}/installer/templates/local.toml.tmpl ${JJ_CONFIG}
|
||||
cp ${DOTFILES_DIR}/installer/templates/local.toml.tmpl ${JJ_CONFIG}
|
||||
|
||||
if [[ -n "${SJB_USER_NAME//[[:space:]]/}" ]]; then
|
||||
sed -i "s/NAME_PLACEHOLDER/${SJB_USER_NAME}/g" ${JJ_CONFIG}
|
||||
|
||||
+3
-2
@@ -4,13 +4,14 @@ if [[ ! -x "$(command -v nvim)" ]]; then
|
||||
paru -Sy --noconfirm neovim harper tree-sitter-cli
|
||||
fi
|
||||
|
||||
${DOTFILE_DIR}/sync-config config/nvim
|
||||
${DOTFILES_DIR}/sync-config config/nvim
|
||||
|
||||
# Set specific app links for current theme
|
||||
PLUGINS_DIR="${HOME}/.config/nvim/lua/plugins"
|
||||
THEMES_DIR="${HOME}/.local/share/themes"
|
||||
|
||||
mkdir -p ${PLUGINS_DIR}
|
||||
ln -snf ${DOTFILE_DIR}/current/theme/neovim.lua ${PLUGINS_DIR}/theme.lua
|
||||
ln -snf ${THEMES_DIR}/current/theme/neovim.lua ${PLUGINS_DIR}/theme.lua
|
||||
|
||||
uv tool install vectorcode
|
||||
|
||||
|
||||
+2
-1
@@ -5,8 +5,9 @@ if [[ ! -x "$(command -v tmux)" ]]; then
|
||||
fi
|
||||
|
||||
${DOTFILES_DIR}/sync-config config/tmux
|
||||
THEMES_DIR="${HOME}/.local/share/themes"
|
||||
|
||||
ln -snf ${DOTFILES_DIR}/themes/current/tmux ${HOME}/.config/tmux/theme
|
||||
ln -snf ${THEMES_DIR}/current/theme/tmux ${HOME}/.config/tmux/theme
|
||||
|
||||
# setup tmux
|
||||
if [[ ! -d ~/.config/tmux/plugins/tpm ]]; then
|
||||
|
||||
Reference in New Issue
Block a user