scripts reorganize

This commit is contained in:
djaidjai committed 2026-10-06 22:34:05 +02:00
1 parent a2a056a68d
commit 0734bee219
60 files changed
+824 -5

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
#!/usr/bin/env sh
# launch a new kitty window.
# If a kitty window is active, sets the new CWD to the current one.
# Else just launch a new one.
case "$XDG_CURRENT_DESKTOP" in
"Hyprland")
pid=$(hyprctl activewindow -j | jq '. | if .initialTitle == "kitty" then .pid else -1 end')
;;
*)
pid="-1"
;;
esac
if [[ "$pid" == "-1" ]]; then
kitty &
else
kitten @ --to unix:@kitty-$pid launch --cwd current --type os-window &
fi
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.