Add documentation to Omarchy commands

This commit is contained in:
David Heinemeier Hansson committed 2026-01-05 10:17:32 +01:00
1 parent 3801e0e633
commit ca40676657
78 files changed
+192 -10

No files matched your search

+3
View File
@@ -1,5 +1,8 @@
#!/bin/bash
# Returns the current working directory of the active terminal window,
# so a new terminal window can be started in the same directory.
# Go from current active terminal to its child shell process and run cwd there
terminal_pid=$(hyprctl activewindow | awk '/pid:/ {print $2}')
shell_pid=$(pgrep -P "$terminal_pid" | tail -n1)