diff options
| author | Josh Rahm <rahm@google.com> | 2025-03-06 00:51:32 -0700 |
|---|---|---|
| committer | Josh Rahm <rahm@google.com> | 2025-03-06 00:51:32 -0700 |
| commit | 95c5aaf46dfb469d6cebeb80e67563aad2cf470e (patch) | |
| tree | 416f80308bcefaeafad71277b5bfe63bc166b6e4 /src/Rahm/Desktop/Keys.hs | |
| parent | 215182bbb8f3cf8e92b56371e24e1bc45ab22f88 (diff) | |
| download | rde-95c5aaf46dfb469d6cebeb80e67563aad2cf470e.tar.gz rde-95c5aaf46dfb469d6cebeb80e67563aad2cf470e.tar.bz2 rde-95c5aaf46dfb469d6cebeb80e67563aad2cf470e.zip | |
Implement a mouse-driven workspace switcher using dzen.
When a key or button is pressed, RDE will display the set of current
workspaces, prompting the user to click on one to switch to that
workspace.
Diffstat (limited to 'src/Rahm/Desktop/Keys.hs')
| -rw-r--r-- | src/Rahm/Desktop/Keys.hs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Rahm/Desktop/Keys.hs b/src/Rahm/Desktop/Keys.hs index 61e483a..dc6628b 100644 --- a/src/Rahm/Desktop/Keys.hs +++ b/src/Rahm/Desktop/Keys.hs @@ -59,6 +59,7 @@ import Rahm.Desktop.Common ) import Rahm.Desktop.DMenu (runDMenu) import qualified Rahm.Desktop.Dragging as D +import Rahm.Desktop.Dzen.WorkspaceSelect (displayDzenSelection) import Rahm.Desktop.History ( historyBack, historyForward, @@ -1096,6 +1097,15 @@ bindings = do bind xK_l $ justMod increaseVolumeDoc + bind xK_o $ do + justMod $ + doc "Select a workspace using dzen" displayDzenSelection + + bind button10 $ do + noMod $ + doc "Select a workspace using dzen" $ do + noWindow displayDzenSelection + bind button14 $ do noMod $ doc "Additional Mouse Bindings" $ |