Is there a "Focus follows window when moved to another workspace" option or workaround? #196
Answered
by
unsecretised
itouchdennis
asked this question in
Q&A
-
|
basically the title, "Alt + Shift + 1" = { exec = "rift-cli execute workspace move-window 0 && rift-cli execute workspace switch 0" } but it seems like 2 commands in one exec aren't working that way, sure I could now start to make scripts and bind them into, this might work, but a native solution would be nice |
Beta Was this translation helpful? Give feedback.
Answered by
unsecretised
Jan 12, 2026
Replies: 1 comment 6 replies
-
|
You could use a shell script for this... maybe something like: #!/bin/sh
rift-cli execute workspace move-window $1
rift-cli execute workspace switch $1(don't forget to "Alt + Shift + 1" = { exec "./path_to_shellscript 1" }
"Alt + Shift + 2" = { exec "./path_to_shellscript 2" } |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
acsandmann
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You could use a shell script for this... maybe something like:
(don't forget to
chmoditthen in Your config: