From f718ee854c5730be0c9a45986f37c50729f4729a Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Fri, 11 Aug 2023 00:28:31 -0400 Subject: [PATCH] infinidoge/qtile: improve shell command spawn handling Recreates old kitty behavior where it remains on screen until enter is pressed using echo and read. --- users/infinidoge/config/qtile/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/infinidoge/config/qtile/config.py b/users/infinidoge/config/qtile/config.py index cd4e23c..f26169c 100644 --- a/users/infinidoge/config/qtile/config.py +++ b/users/infinidoge/config/qtile/config.py @@ -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(