Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add keybindings for the existing rotateWorkspace commands #191

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,10 @@ Windows become "active" once you look at them. Active windows receive typing eve
| ~Super + Shift + Enter~ | Right click surface cursor at gaze point |
| ~Super + Alt~ | Grab surface for movement (release to let go) |
| ~Super + m~ | Grab all surfaces for movement (release to let go) |
| ~Super + u~ | Rotate workspace right by a set amount
|
| ~Super + o~ | Rotate workspace left by a set amount
|
| ~Super + Shift + m~ | Grab all surfaces /in all workspaces at once/ for movement (release to let go) |
| ~Super + a~ | Launch Simula's app launcher ([[https://launchpad.net/synapse-project][synapse]]) |
| ~Super + e~ | Cycle Simula's background environment |
Expand Down
10 changes: 6 additions & 4 deletions config/config.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ let Configuration =
-- To omit launching an app in a spot, use `None Text` instead of `Some "cmd"`.
{ _backend = "OpenXR" -- Supported options: "OpenVR", "OpenXR"
, _startingApps = { _center = Some "./result/bin/xfce4-terminal"
, _right = None Text
, _bottom = None Text
, _left = None Text
, _top = None Text
, _right = Some "launchUsageInstructions"
, _bottom = Some "launchHMDWebcam"
, _left = Some "launchTerminal"
, _top = Some "launchTerminal"
}
, _defaultWindowResolution = Some { _1 = 900, _2 = 900 } -- New windows default this (typically square) resolution
-- Set to `None { _1 : Natural, _2 : Natural }` for windows to launch with their default (typically non-square) resolutions
Expand Down Expand Up @@ -44,6 +44,8 @@ let Configuration =
, { _keyCombination = ["KEY_MASK_META", "KEY_EQUAL"] , _keyAction = "zoomIn" }
, { _keyCombination = ["KEY_MASK_META", "KEY_LEFT"] , _keyAction = "contractWindowHorizontally" }
, { _keyCombination = ["KEY_MASK_META", "KEY_RIGHT"] , _keyAction = "extendWindowHorizontally" }
, { _keyCombination = ["KEY_MASK_META", "KEY_O"] , _keyAction = "rotateWorkspaceHorizontallyLeft" }
, { _keyCombination = ["KEY_MASK_META", "KEY_U"] , _keyAction = "rotateWorkspaceHorizontallyRight" }
, { _keyCombination = ["KEY_MASK_META", "KEY_UP"] , _keyAction = "contractWindowVertically" }
, { _keyCombination = ["KEY_MASK_META", "KEY_DOWN"] , _keyAction = "extendWindowVertically" }
, { _keyCombination = ["KEY_MASK_META", "KEY_S"] , _keyAction = "resizeWindowToDefaultSize" } -- Resizes window to `_defaultWindowResolution`
Expand Down