02b0ca610d
- 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
9 lines
207 B
Bash
Executable File
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
|