From 841d7b1bd7949cefc6444caac80ce86ab7d95184 Mon Sep 17 00:00:00 2001 From: utensil Date: Sun, 15 Dec 2024 20:49:05 +0800 Subject: [PATCH] Try scripting kitty --- justfile | 7 +++++++ kitty.conf | 3 +++ 2 files changed, 10 insertions(+) diff --git a/justfile b/justfile index 2d91cf8..11c4d33 100644 --- a/justfile +++ b/justfile @@ -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: @@ -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 + diff --git a/kitty.conf b/kitty.conf index 24438db..73a90c8 100644 --- a/kitty.conf +++ b/kitty.conf @@ -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