Super / Move Focused Window To Workspace
Move Focused Window To Workspace
Super command syntax to move focused window to workspace. Copyable examples, output expectations, and common mistakes.
$
Terminal <Super Shift <Number>> <Super Shift <Number>> #!/bin/bash
# Move Focused Window To Workspace
<Super Shift {{Number}}> import subprocess
# Move Focused Window To Workspace
# Make sure to replace <placeholders> with actual values
def run_command():
cmd = [
"super",
"Shift",
"<Number>>"
]
try:
print(f"Executing: {' '.join(cmd)}")
subprocess.run(cmd, check=True)
except subprocess.CalledProcessError as e:
print(f"Error: {e}")
except FileNotFoundError:
print("Error: super not found. Please install it first.")
if __name__ == "__main__":
run_command() Command Builder
Tune the command before you copy it
$
Generated Command <Super Shift <Number>> Command Breakdown
What each part is doing
-
<Super - Base Command
- The executable that performs this operation. Here it runs Super before the shell applies any redirect operators.
-
<Number> - Number
- The value supplied for Number.