Files
dotfiles/dot_local/bin/kitty_up.sh
T
Dmitry 02b0ca610d refactor: remove restic timers, add scripts/configs, update docs
- resticprofile: remove all schedules (manual backups via backup-menu)
- resticprofile: fix hardcoded /home/ada paths → ~/
- proj(): find git repos by .git presence up to depth 4
- bootstrap.sh: add fzf, fd, bat, ripgrep, kitty, htop to packages
- README.md: rewrite for chezmoi (remove stow references)
- add: htoprc, betterbird_up.sh, kitty_up.sh, tg_up.sh
2026-05-13 19:47:46 +03:00

9 lines
207 B
Bash
Executable File

#!/bin/bash
SOCKET="unix:/tmp/kitty"
if kitty @ --to "$SOCKET" focus-window 2>/dev/null; then
kdotool search --class kitty | head -1 | xargs kdotool windowactivate
else
kitty --listen-on "$SOCKET" &
fi