Add documentation to Omarchy commands

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

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)