fuck yes :)
This commit is contained in:
16
alacritty/files/alacritty.toml
Normal file
16
alacritty/files/alacritty.toml
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
[font]
|
||||
size = 12.0
|
||||
|
||||
[font.normal]
|
||||
family = "IosevkaTermSlab Nerd Font"
|
||||
style = "Regular"
|
||||
|
||||
[general]
|
||||
import = ["~/.config/alacritty/dank-theme.toml"]
|
||||
|
||||
[terminal.shell]
|
||||
program = "zellij"
|
||||
|
||||
[window]
|
||||
opacity = 0.9
|
||||
@@ -1,2 +1,2 @@
|
||||
|
||||
source "$HOME/.local/bin/env.fish"
|
||||
test -f "$HOME/.local/bin/env.fish"; and source "$HOME/.local/bin/env.fish"
|
||||
|
||||
@@ -80,6 +80,11 @@ status is-interactive; and begin
|
||||
|
||||
end
|
||||
|
||||
# Add user local bin to PATH
|
||||
if test -d "$HOME/.local/bin"
|
||||
fish_add_path "$HOME/.local/bin"
|
||||
end
|
||||
|
||||
# pnpm
|
||||
switch (uname)
|
||||
case Linux
|
||||
@@ -149,4 +154,4 @@ set --export PATH $BUN_INSTALL/bin $PATH
|
||||
# opencode
|
||||
fish_add_path /home/thomasgl/.opencode/bin
|
||||
|
||||
source ~/.safe-chain/scripts/init-fish.fish # Safe-chain Fish initialization script
|
||||
test -f ~/.safe-chain/scripts/init-fish.fish; and source ~/.safe-chain/scripts/init-fish.fish # Safe-chain Fish initialization script
|
||||
|
||||
@@ -45,4 +45,4 @@ output_path = '~/.config/jjui/themes/matugen.toml'
|
||||
[templates.nvim]
|
||||
input_path = '~/.config/matugen/templates/neovim.lua'
|
||||
output_path = '~/.config/nvim/lua/plugins/dankcolors.lua'
|
||||
post_hook = '(scp -i ~/.ssh/mac-attio ~/.config/nvim/lua/plugins/dankcolors.lua thomasglopes@192.168.1.205:~/.config/nvim/lua/plugins/ >/dev/null 2>&1 &)'
|
||||
post_hook = 'nohup ~/.config/matugen/scripts/sync-nvim-mac.sh >/dev/null 2>&1 &'
|
||||
|
||||
16
matugen/files/scripts/sync-nvim-mac.sh
Executable file
16
matugen/files/scripts/sync-nvim-mac.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env sh
|
||||
set -eu
|
||||
|
||||
lock_dir="$HOME/.cache/matugen-sync-nvim.lock"
|
||||
log_file="$HOME/.cache/matugen-sync-nvim.log"
|
||||
|
||||
mkdir -p "$HOME/.cache"
|
||||
|
||||
if mkdir "$lock_dir" 2>/dev/null; then
|
||||
{
|
||||
ssh -i "$HOME/.ssh/mac-attio" thomasglopes@192.168.1.205 "mkdir -p ~/.config/nvim/lua/plugins"
|
||||
scp -i "$HOME/.ssh/mac-attio" "$HOME/.config/nvim/lua/plugins/dankcolors.lua" \
|
||||
thomasglopes@192.168.1.205:~/.config/nvim/lua/plugins/
|
||||
} >>"$log_file" 2>&1
|
||||
rmdir "$lock_dir"
|
||||
fi
|
||||
@@ -110,7 +110,7 @@ keybinds clear-defaults=true {
|
||||
}
|
||||
SwitchToMode "normal"
|
||||
}
|
||||
bind "Ctrl o" { SwitchToMode "normal"; }
|
||||
bind "Ctrl e" { SwitchToMode "normal"; }
|
||||
bind "p" {
|
||||
LaunchOrFocusPlugin "plugin-manager" {
|
||||
floating true
|
||||
@@ -160,7 +160,7 @@ keybinds clear-defaults=true {
|
||||
bind "Ctrl h" { SwitchToMode "move"; }
|
||||
}
|
||||
shared_except "locked" "session" {
|
||||
bind "Ctrl o" { SwitchToMode "session"; }
|
||||
bind "Ctrl e" { SwitchToMode "session"; }
|
||||
}
|
||||
shared_except "locked" "scroll" "search" "tmux" {
|
||||
bind "Ctrl b" { SwitchToMode "tmux"; }
|
||||
|
||||
Reference in New Issue
Block a user