Skip to content

Commit

Permalink
Try scripting kitty
Browse files Browse the repository at this point in the history
  • Loading branch information
utensil committed Dec 15, 2024
1 parent eb6b0b8 commit 841d7b1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,14 @@ prep-kitty:
# curl -L https://sw.kovidgoyal.net/kitty/installer.sh | sh /dev/stdin

@sync-kitty:
#!/usr/bin/env bash
# configure kitty
# https://sw.kovidgoyal.net/kitty/conf.html
mkdir -p ~/.config/kitty
cp -f kitty.conf ~/.config/kitty/kitty.conf
cp -f kitty_session.conf ~/.config/kitty/kitty_session.conf
# this should make kitty reload the config
kill -SIGUSR1 $KITTY_PID
[macos]
prep-warp:
Expand Down Expand Up @@ -561,4 +564,8 @@ date: prep-date
alias date=gdate
git backdate origin/main "7 days ago..today" --no-business-hours
# based on https://github.com/zachdaniel/dotfiles/blob/main/priv_scripts/project
proj:
fd --type d --max-depth 1 --base-directory {{home_directory()}}/projects|fzf --prompt 'Select a directory: '|xargs kitty @ launch --type os-window --cwd {{home_directory()}}/projects/forest --hold just lvim


3 changes: 3 additions & 0 deletions kitty.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ initial_window_height 800

font_size 18.0

# for just proj
allow_remote_control yes

# background_opacity 0.8

placement_strategy center
Expand Down

0 comments on commit 841d7b1

Please sign in to comment.