env scripts and ghostty properly divided between mac and linux
This commit is contained in:
+3
-11
@@ -1,5 +1,5 @@
|
|||||||
theme = "rose-pine-moon"
|
config-file = ?~/.config/ghostty/macos/config
|
||||||
|
config-file = ?~/.config/ghostty/linux/config
|
||||||
font-family = "Maple Mono SemiBold"
|
font-family = "Maple Mono SemiBold"
|
||||||
font-thicken = true
|
font-thicken = true
|
||||||
|
|
||||||
@@ -8,16 +8,8 @@ background = 000000
|
|||||||
confirm-close-surface = false
|
confirm-close-surface = false
|
||||||
window-padding-x = 6
|
window-padding-x = 6
|
||||||
window-padding-y = 6
|
window-padding-y = 6
|
||||||
window-decoration = none
|
|
||||||
mouse-hide-while-typing = true
|
mouse-hide-while-typing = true
|
||||||
adjust-cell-height = 15%
|
adjust-cell-height = 15%
|
||||||
alpha-blending = linear-corrected
|
alpha-blending = linear-corrected
|
||||||
bold-is-bright = true
|
bold-is-bright = true
|
||||||
|
mouse-hide-while-typing = true
|
||||||
[macos]
|
|
||||||
font-size = 12
|
|
||||||
option-macos = true
|
|
||||||
|
|
||||||
[linux]
|
|
||||||
font-size = 10
|
|
||||||
option-linux = true
|
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
font-size = 10
|
||||||
|
window-decoration = none
|
||||||
|
theme = "rose-pine-moon"
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
font-size = 12
|
||||||
|
theme = "rose pine moon"
|
||||||
|
macos-titlebar-style = tabs
|
||||||
@@ -10,7 +10,7 @@ require("lazy").setup({
|
|||||||
{ "echasnovski/mini.pairs", version = '*' },
|
{ "echasnovski/mini.pairs", version = '*' },
|
||||||
{ "ibhagwan/fzf-lua", dependencies = { "nvim-tree/nvim-web-devicons" } },
|
{ "ibhagwan/fzf-lua", dependencies = { "nvim-tree/nvim-web-devicons" } },
|
||||||
{ "saghen/blink.cmp", version = "v1.*", opts = {} },
|
{ "saghen/blink.cmp", version = "v1.*", opts = {} },
|
||||||
{ dir = "~/personal/Projects/Lua/Polydev/", opts = {
|
{ "DarthMooMancer/Polydev", opts = {
|
||||||
terminal = {
|
terminal = {
|
||||||
mode = "floating",
|
mode = "floating",
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -34,10 +34,10 @@ alias grep="rg"
|
|||||||
alias comp="make && doas make install && make clean"
|
alias comp="make && doas make install && make clean"
|
||||||
alias update_world='doas emerge --ask --update --newuse --deep @world'
|
alias update_world='doas emerge --ask --update --newuse --deep @world'
|
||||||
if [[ $(uname) != "Darwin" ]]; then
|
if [[ $(uname) != "Darwin" ]]; then
|
||||||
alias env="sh /home/andrew/personal/dotfiles/env.sh"
|
alias env="sh /home/andrew/personal/dotfiles/env_linux.sh"
|
||||||
myfetch.sh
|
myfetch.sh
|
||||||
else
|
else
|
||||||
alias env='sh ~/personal/env/setup.sh'
|
alias env='sh ~/personal/dotfiles/env_mac.sh'
|
||||||
export LIBRARY_PATH="$LIBRARY_PATH:$(brew --prefix)/lib"
|
export LIBRARY_PATH="$LIBRARY_PATH:$(brew --prefix)/lib"
|
||||||
export PATH="$(brew --prefix llvm)/bin:$PATH"
|
export PATH="$(brew --prefix llvm)/bin:$PATH"
|
||||||
export GOOGLE_CLOUD_PROJECT="development-477121"
|
export GOOGLE_CLOUD_PROJECT="development-477121"
|
||||||
|
|||||||
@@ -49,3 +49,5 @@ done
|
|||||||
|
|
||||||
echo -e "${GREEN}Re-caching fonts${RESET}"
|
echo -e "${GREEN}Re-caching fonts${RESET}"
|
||||||
fc-cache -f
|
fc-cache -f
|
||||||
|
|
||||||
|
rm -rf ~/.config/ghostty/macos
|
||||||
Executable
+70
@@ -0,0 +1,70 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
CONFIG_DIR=~/personal/dotfiles/.config
|
||||||
|
LOCAL_DIR=~/personal/dotfiles/.local/bin
|
||||||
|
DEST_DIR="${XDG_CONFIG_HOME:-$HOME/.config}"
|
||||||
|
|
||||||
|
for dir in "$CONFIG_DIR"/*/; do
|
||||||
|
[ -d "$dir" ] || continue
|
||||||
|
|
||||||
|
name=$(basename "$dir")
|
||||||
|
target="$DEST_DIR/$name"
|
||||||
|
|
||||||
|
rm -rf "$target"
|
||||||
|
echo "Removing: $target"
|
||||||
|
done
|
||||||
|
|
||||||
|
echo
|
||||||
|
|
||||||
|
for dir in "$CONFIG_DIR"/*/; do
|
||||||
|
[ -d "$dir" ] || continue
|
||||||
|
|
||||||
|
name=$(basename "$dir")
|
||||||
|
target="$DEST_DIR/$name"
|
||||||
|
|
||||||
|
cp -r "$dir" "$target"
|
||||||
|
echo "Copying: $dir → $target"
|
||||||
|
done
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo "Copying executables from $LOCAL_DIR to ~/.local/bin"
|
||||||
|
|
||||||
|
mkdir -p "$HOME/.local/bin"
|
||||||
|
for file in "$LOCAL_DIR"/*; do
|
||||||
|
[ -f "$file" ] || continue
|
||||||
|
|
||||||
|
name=$(basename "$file")
|
||||||
|
target="$HOME/.local/bin/$name"
|
||||||
|
|
||||||
|
rm -f "$target"
|
||||||
|
cp "$file" "$target"
|
||||||
|
chmod +x "$target"
|
||||||
|
echo "Copied: $file → $target"
|
||||||
|
done
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo "Copying .zshrc to $HOME"
|
||||||
|
|
||||||
|
target="$HOME/.zshrc"
|
||||||
|
rm -f "$target"
|
||||||
|
cp "$HOME/personal/env/.zshrc" "$target"
|
||||||
|
echo "Copied: .zshrc → $target"
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo "Copying tmux config"
|
||||||
|
|
||||||
|
target="$HOME/.config/tmux/tmux.conf"
|
||||||
|
mkdir -p "$(dirname "$target")"
|
||||||
|
rm -f "$target"
|
||||||
|
cp "$HOME/personal/env/.config/tmux/tmux.conf" "$target"
|
||||||
|
echo "Copied: tmux.conf → $target"
|
||||||
|
|
||||||
|
echo
|
||||||
|
|
||||||
|
echo "Copying starship config"
|
||||||
|
target="$HOME/.config/starship.toml"
|
||||||
|
mkdir -p "$(dirname "$target")"
|
||||||
|
rm -f "$target"
|
||||||
|
cp "$HOME/personal/env/.config/starship.toml" "$target"
|
||||||
|
echo "Copied: starship.toml → $target"
|
||||||
|
rm -rf ~/.config/ghostty/linux
|
||||||
Reference in New Issue
Block a user