Skip to content

Commit

Permalink
feat(utils/process): support auto-cwd for a few more terminal emulators
Browse files Browse the repository at this point in the history
  • Loading branch information
aravinda0 committed Jan 4, 2024
1 parent fe8f397 commit 672d45a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/qtile_bonsai/utils/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ def modify_terminal_cmd_with_cwd(cmd: str, parent_pid: int) -> str:
terminal_dir_switches = {
"alacritty": "--working-directory",
"kitty": "--directory",
"gnome-terminal": "--working-directory",
"urxvt": "-cd",
"rxvt": "-cd",
}

# TODO: Maybe handle things like preceding env var assignments, full program path as
Expand Down

0 comments on commit 672d45a

Please sign in to comment.