aboutsummaryrefslogtreecommitdiff
path: root/src/Rahm/Desktop/Keys.hs
diff options
context:
space:
mode:
authorJosh Rahm <rahm@google.com>2022-04-12 11:09:19 -0600
committerJosh Rahm <joshuarahm@gmail.com>2022-10-09 12:19:46 -0600
commit78b1ba125ec327512deb4c4c481cdf875d6c7339 (patch)
tree459fbedf7461eb60e7fd3890934989699fc9ff20 /src/Rahm/Desktop/Keys.hs
parent0eae9cfa1f500c304ab55e2ebeddc95cfcf74e56 (diff)
downloadrde-78b1ba125ec327512deb4c4c481cdf875d6c7339.tar.gz
rde-78b1ba125ec327512deb4c4c481cdf875d6c7339.tar.bz2
rde-78b1ba125ec327512deb4c4c481cdf875d6c7339.zip
Clean up Poppable so it's a proper proxy to the underlying layout rather than a LayoutModifier.
Diffstat (limited to 'src/Rahm/Desktop/Keys.hs')
-rw-r--r--src/Rahm/Desktop/Keys.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Rahm/Desktop/Keys.hs b/src/Rahm/Desktop/Keys.hs
index 0ff8da3..5284a9d 100644
--- a/src/Rahm/Desktop/Keys.hs
+++ b/src/Rahm/Desktop/Keys.hs
@@ -55,7 +55,7 @@ import Rahm.Desktop.Logger
import Rahm.Desktop.RebindKeys
import Rahm.Desktop.Swallow
import Rahm.Desktop.Layout.Hole (toggleHole)
-import Rahm.Desktop.Layout.Pop (PopMessage(..))
+import Rahm.Desktop.Layout.Pop (togglePop)
import Rahm.Desktop.Layout.Flip (flipHorizontally, flipVertically)
import Rahm.Desktop.Layout.Rotate (rotateLayout)
import Rahm.Desktop.ScreenRotate (screenRotateForward, screenRotateBackward)
@@ -534,7 +534,7 @@ keymap = runKeys $ do
bind xK_z $ do
noMod -|- justMod $
doc "Toggle zoom on the current window." $
- sendMessage TogglePop
+ sendMessage togglePop
-- Z is reserved to create sub keybindings to do various things.
-- I don't really use these at the moment.
@@ -546,7 +546,7 @@ keymap = runKeys $ do
-- modifier.
shiftMod $
doc "Toggle zoom on the current window." $
- sendMessage TogglePop
+ sendMessage togglePop
bind xF86XK_Calculator $ do
noMod $ spawnX $ terminal config ++ " -t Floating\\ Term -e /usr/bin/env python3"
@@ -636,7 +636,7 @@ mouseMap = runButtons $ do
bind button14 $ do
- noMod $ noWindow $ click >> sendMessage TogglePop
+ noMod $ noWindow $ click >> sendMessage togglePop
bind button15 $ do
noMod $ noWindow $ spawnX "pavucontrol"