changing
This commit is contained in:
parent
7eabb86773
commit
75bc98fd3f
@ -72,6 +72,12 @@ import = [
|
|||||||
"~/.config/alacritty/themes/catpuccin-latte.toml",
|
"~/.config/alacritty/themes/catpuccin-latte.toml",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[keyboard]
|
||||||
|
bindings = [
|
||||||
|
{ key = "Right", mods = "Alt", chars = "\u001BF" },
|
||||||
|
{ key = "Left", mods = "Alt", chars = "\u001BB" },
|
||||||
|
]
|
||||||
|
|
||||||
[terminal.shell]
|
[terminal.shell]
|
||||||
program="/usr/local/bin/tmux"
|
program="/usr/local/bin/tmux"
|
||||||
args=['new-session', '-s', "gMac"]
|
args=['new-session', '-s', "gMac"]
|
||||||
|
11
configs/alacritty.yaml
Normal file
11
configs/alacritty.yaml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
- link:
|
||||||
|
~/.config/alacritty/alacritty.toml:
|
||||||
|
path: alacritty/alacritty.toml
|
||||||
|
|
||||||
|
~/.config/alacritty/alacritty.toml:
|
||||||
|
if: '[ `hostname` = esancakt-mac.roam.internal ]'
|
||||||
|
path: alacritty/alacritty.gmac.toml
|
||||||
|
|
||||||
|
~/.config/alacritty/themes:
|
||||||
|
path: alacritty/themes
|
||||||
|
|
21
configs/base.yaml
Normal file
21
configs/base.yaml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
- defaults:
|
||||||
|
link:
|
||||||
|
relink: true
|
||||||
|
create: true
|
||||||
|
|
||||||
|
- clean: ['~']
|
||||||
|
- link:
|
||||||
|
~/.zshrc: zsh/.zshrc
|
||||||
|
~/.zprofile: zsh/.zprofile
|
||||||
|
|
||||||
|
|
||||||
|
~/.aliasrc: shell/.aliasrc
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# - create:
|
||||||
|
# - ~/downloads
|
||||||
|
# - ~/.vim/undo-history
|
||||||
|
|
||||||
|
# - shell:
|
||||||
|
# - [git submodule update --init --recursive, Installing submodules]
|
9
configs/tmux.yaml
Normal file
9
configs/tmux.yaml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
- link:
|
||||||
|
~/.tmux.conf: tmux/tmux.conf
|
||||||
|
|
||||||
|
- shell:
|
||||||
|
- [tmux source-file ~/.tmux.conf || true, Sourcing Updates]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# vim: set filetype=yaml ts=4 sw=4 tw=0 et :
|
26
install
26
install
@ -2,14 +2,30 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
CONFIG="config.yaml"
|
BASE_CONFIG="base"
|
||||||
|
CONFIG_SUFFIX=".yaml"
|
||||||
|
CONFIG_DIR="configs"
|
||||||
|
|
||||||
|
PROFILES_DIR="profiles"
|
||||||
|
PROFILE=$(hostname|cut -d"." -f1)
|
||||||
|
|
||||||
DOTBOT_DIR="dotbot"
|
DOTBOT_DIR="dotbot"
|
||||||
|
|
||||||
DOTBOT_BIN="bin/dotbot"
|
DOTBOT_BIN="bin/dotbot"
|
||||||
BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
||||||
|
|
||||||
cd "${BASEDIR}"
|
BASE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||||
|
|
||||||
|
cd "${BASEi_DIR}"
|
||||||
git -C "${DOTBOT_DIR}" submodule sync --quiet --recursive
|
git -C "${DOTBOT_DIR}" submodule sync --quiet --recursive
|
||||||
git submodule update --init --recursive "${DOTBOT_DIR}"
|
git submodule update --init --recursive "${DOTBOT_DIR}"
|
||||||
|
|
||||||
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" "${@}"
|
"${BASE_DIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASE_DIR}" -c "${CONFIG_DIR}/${BASE_CONFIG}${CONFIG_SUFFIX}"
|
||||||
|
|
||||||
|
echo "Setting Profile for Host: ${PROFILE}"
|
||||||
|
if [[ ! -f "${BASE_DIR}/${PROFILES_DIR}/${PROFILE}" ]]; then
|
||||||
|
echo "Machine Profile $PROFILE not found."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
while IFS= read -r config; do
|
||||||
|
"${BASE_DIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASE_DIR}" -c "${CONFIG_DIR}/${config}${CONFIG_SUFFIX}"
|
||||||
|
done < "${BASE_DIR}/${PROFILES_DIR}/${PROFILE}"
|
||||||
|
1
profiles/errol
Normal file
1
profiles/errol
Normal file
@ -0,0 +1 @@
|
|||||||
|
tmux
|
@ -1 +0,0 @@
|
|||||||
Subproject commit aa59077c635ab21b251bd8cb4dc24c415e64a58e
|
|
@ -1 +0,0 @@
|
|||||||
Subproject commit 243704b048668fa0dcf34ebd4857fe8e9500e88a
|
|
@ -1 +0,0 @@
|
|||||||
Subproject commit 1547f18083ead1b235680aa5f98427ccaf5beb21
|
|
@ -1 +0,0 @@
|
|||||||
Subproject commit 4e37358be51b22078e9361fd6ad0ae199cf03587
|
|
@ -1 +0,0 @@
|
|||||||
Subproject commit 763d0a852e6703ce0f5090a508330012a7e6788e
|
|
@ -1 +0,0 @@
|
|||||||
Subproject commit 071a9774861a61fc86b687b06cb208e0f2d3ac2b
|
|
@ -1 +0,0 @@
|
|||||||
Subproject commit 1f419775caf136a60aac8e3a269b51ad10b51eb6
|
|
@ -1 +0,0 @@
|
|||||||
Subproject commit acfd36e4fcba99f8310a7dfb432111c242fe7392
|
|
@ -1 +0,0 @@
|
|||||||
Subproject commit 99469c4a9b1ccf77fade25842dc7bafbc8ce9946
|
|
@ -99,6 +99,9 @@ bind-key h split-window -h "vim ~/scratch/notes.md"
|
|||||||
bind -n S-Pageup send-keys S-Pageup
|
bind -n S-Pageup send-keys S-Pageup
|
||||||
bind -n S-Pagedown send-keys S-Pagedown
|
bind -n S-Pagedown send-keys S-Pagedown
|
||||||
|
|
||||||
|
bind '\e\eOD' backward-word
|
||||||
|
bind '\e\eOC' forward-word
|
||||||
|
|
||||||
# ===================
|
# ===================
|
||||||
# Copy-Paste Settings
|
# Copy-Paste Settings
|
||||||
# ===================
|
# ===================
|
6
tmux/tmux.sh
Normal file
6
tmux/tmux.sh
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
if [[ -z "$SSH_CLIENT" ]]; then
|
||||||
|
# Not an SSH session, start tmux
|
||||||
|
if command -v tmux &> /dev/null && [[ -z "$TMUX" ]]; then
|
||||||
|
tmux attach -t Errol || tmux new-session -s Errol
|
||||||
|
fi
|
||||||
|
fi
|
Loading…
Reference in New Issue
Block a user