infinidoge/qtile: improve shell command spawn handling
Recreates old kitty behavior where it remains on screen until enter is pressed using echo and read.
This commit is contained in:
parent
d6c9d40a8a
commit
f718ee854c
1 changed files with 1 additions and 1 deletions
|
@ -294,7 +294,7 @@ keys = [
|
|||
),
|
||||
Key(
|
||||
[Keys.SUPER, Keys.SHIFT], "r",
|
||||
lazy.spawncmd(prompt="shell", command=Apps.terminal_command(Apps.shell_command("%s", args=("-ic",)), args=("--hold",))),
|
||||
lazy.spawncmd(prompt="shell", command=Apps.terminal_command(Apps.shell_command("%s; echo '\n---- Press enter to exit ----'; read", args=("-ic",))), shell=False),
|
||||
desc="Spawn a command in a shell using a prompt widget",
|
||||
),
|
||||
Key(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue