• 0 Posts
  • 30 Comments
Joined 2 years ago
cake
Cake day: September 14th, 2023

help-circle




  • Here’s some useful defaults for Sway: (the default mod key is meta, aka the windows key)

    • Mod+d: open application menu
    • Mod+arrows: switch active windows
    • Mod+shift+arrows: move window (rearrange within a screen, or move between screens)
    • Mod+1-9: switches workspaces
    • Mod+shift+1-9: moves active window to that workspace (does not activate that workspace)
    • Mod+space: make the window a regular floating window. Using Mod+arrows on a window that’s floating will move that window (I think) 10 pixels at a time. You can also drag this window around with the mouse.

    Lay-out:

    • Mod+w: tabbed lay-out
    • Mod+e: split lay-out (default)
    • Mod+s: stacking lay-out

    When using split lay-out (these take a little getting used to):

    • Mod+b: split the current “container” horizontally
    • Mod+v: split vertically

    Placing windows next to each other will put them in a “group” together, which you can see by them sharing the same blue title bar thing. Using these shortcuts changes how the windows in the group are represented.

    I found getting windows in/out of the group I want, and especially splitting and re-arranging groups within groups, to be a little unpredictable, but after using Sway for a while you do get used to it.