aboutsummaryrefslogtreecommitdiff
path: root/sway/commands
AgeCommit message (Collapse)Author
2018-04-06Implement move [left|right|up|down]Drew DeVault
The exact semantics of this command are complicated. I'll describe each test scenario as s-expressions. Everything assumes L_HORIZ if not specified, but if you rotate everything 90 degrees the same test cases hold. ``` (container (view a) (view b focus) (view c)) -> move left (container (view b focus) (view a) (view c)) (container (view a) (view b focus) (view c)) -> move right (container (view a) (view c) (view b focus)) (container L_VERT (view a)) (container L_HORIZ (view b) (view c focus)) -> move up (container L_VERT (view a) (view c focus)) (container L_HORIZ (view b)) (workspace (view a) (view b focus) (view c)) -> move up (workspace [split direction flipped] (view b focus) (container (view a) (view c))) (workspace (view a) (view b focus) (view c)) -> move down (workspace [split direction flipped] (container (view a) (view c)) (view b focus))) Note: outputs use wlr_output_layout instead of assuming that i+/-1 is the next output in the move direction. (root (output X11-1 (workspace 1)) (output X11-2 (workspace 1 (view a focus) (view b))))) -> move left (root (output X11-1 (workspace 1 (view a focus))) (output X11-2 (workspace 1 (view b))))) (root (output X11-1 (workspace 1 (container (view a) (view b))) (output X11-2 (workspace 1 (view c focus))))) -> move left (root (output X11-1 (workspace 1 (container (view a) (view b)) (view c focus))) (output X11-2 (workspace 1))) ```
2018-04-05Implement resize commandDrew DeVault
2018-04-04Implement opacity commandTony Crisci
2018-04-03move workspace create to workspace.cTony Crisci
2018-04-03address feedbackTony Crisci
2018-04-03clean up container_get_default_layoutTony Crisci
2018-04-03unify workspace create functionsTony Crisci
2018-04-02fix more close segfaultsTony Crisci
2018-04-02cleanup split command handlersTony Crisci
2018-04-02Merge branch 'wlroots' into split-containersTony Crisci
2018-04-02fix workspace splitsTony Crisci
2018-04-02address feedbackTony Crisci
2018-04-02Merge branch 'wlroots' into split-containersTony Crisci
2018-04-02Merge branch 'wlroots' into seat-fixesTony Crisci
2018-04-02Fixes regarding @emersion's feedbackDrew DeVault
2018-04-0280colTony Crisci
2018-04-02Partially implement move commandDrew DeVault
Works: - move [container|window] to workspace <name> - Note, this should be able to move C_CONTAINER but this is untested - move [workspace] to output [left|right|up|down|<name>] Not implemented yet: - move [left|right|up|down] - move scratchpad - move position
2018-04-02rename seat functionsTony Crisci
2018-03-31remove default from kill switchTony Crisci
2018-03-31reap container parent on destroyTony Crisci
2018-03-31basic split containersTony Crisci
2018-03-31Implement focus_follows_mouseDrew DeVault
Also contains two other small changes: - Clicking any button will focus the container clicked (not just left) - Remove seamless_mouse (doesn't make sense on wlroots)
2018-03-31Implement mouse warpingDrew DeVault
2018-03-30Add default_orientation commandDrew DeVault
2018-03-30Merge remote-tracking branch 'origin/wlroots' into swaybar-layersDrew DeVault
2018-03-29Revert "Merge pull request #1653 from swaywm/revert-1647-refactor-tree"Tony Crisci
This reverts commit 472e81f35d689d67cda241acafda91c688d61046, reversing changes made to 6b7841b11ff4cd35f54d69dc92029855893e5ce0.
2018-03-29Revert "Refactor tree"Drew DeVault
2018-03-29arrange windowsTony Crisci
2018-03-29Implement modesDrew DeVault
2018-03-29Clean up imported bar commandsDrew DeVault
2018-03-29Use statically allocated text bufferDrew DeVault
2018-03-29Restart swaybar on config reloadDrew DeVault
2018-03-29Add swaybg_commandDrew DeVault
2018-03-29Add bar configuration commandsDrew DeVault
2018-03-29fix container_get_in_direction nameTony Crisci
2018-03-29more renaming thingsTony Crisci
2018-03-29rename container functionsTony Crisci
2018-03-29move tree includes to their own directoryTony Crisci
2018-03-28Render layer surfaces and respect exclusive zoneDrew DeVault
2018-02-24add config handlersTony Crisci
2018-02-24remove checks for command handlersTony Crisci
2018-02-22basic layout commandTony Crisci
2018-02-14basic focus in directionTony Crisci
2018-02-14basic focus (without direction)Tony Crisci
2018-02-07separate seat get focus and seat get focus inactiveTony Crisci
2018-02-04basic focus overhaulTony Crisci
2018-01-30Implement workspacesDrew DeVault
2018-01-22commands/reload: remove unimplemented 'load_swaybars' callDominique Martinet
2018-01-22commands: add 'reload' commandDominique Martinet
2018-01-21dont allow kill command in configTony Crisci