From c46c93b41122bf2e9a7f917a3e2afd9dbf1d8a7a Mon Sep 17 00:00:00 2001 From: Joshua Ward Date: Tue, 25 Apr 2023 13:07:57 -0700 Subject: [PATCH] Add keybindings for the existing rotateWorkspace commands --- README.org | 4 ++++ config/config.dhall | 10 ++++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/README.org b/README.org index d1d2f2b..81358a1 100644 --- a/README.org +++ b/README.org @@ -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 | diff --git a/config/config.dhall b/config/config.dhall index 33e7a51..e8e7a5e 100644 --- a/config/config.dhall +++ b/config/config.dhall @@ -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 @@ -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`