about summary refs log tree commit diff
path: root/dotfiles/xmonad.hs
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-07-06 12:40:10 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-07-06 12:40:10 +0200
commitb8fac41b3e4e418f25c369a2f2b9c13aa9836b3b (patch)
tree2641a927238777aeaa390c959bc28d302f1b721e /dotfiles/xmonad.hs
parentXmonad+sxhkd: Add toggle floating functionality (diff)
downloadnixos-config-b8fac41b3e4e418f25c369a2f2b9c13aa9836b3b.tar.gz
nixos-config-b8fac41b3e4e418f25c369a2f2b9c13aa9836b3b.tar.bz2
nixos-config-b8fac41b3e4e418f25c369a2f2b9c13aa9836b3b.zip
Xmonad: Add ewmh support
Diffstat (limited to 'dotfiles/xmonad.hs')
-rw-r--r--dotfiles/xmonad.hs8
1 files changed, 5 insertions, 3 deletions
diff --git a/dotfiles/xmonad.hs b/dotfiles/xmonad.hs
index 0cd3eba..e5e16ab 100644
--- a/dotfiles/xmonad.hs
+++ b/dotfiles/xmonad.hs
@@ -44,6 +44,8 @@ import XMonad.Hooks.StatusBar.PP
 
 import XMonad.Actions.CycleWS
 
+import XMonad.Hooks.EwmhDesktops
+
 ------------------------------------------------------------------------
 -- Workspaces
 -- The default number of workspaces (virtual screens) and their names.
@@ -211,7 +213,7 @@ myStatusBar = statusBarProp "xmobar" (do
 
 main :: IO ()
 main = do
-  xmonad . withSB myStatusBar . docks
+  xmonad . withSB myStatusBar . docks . ewmhFullscreen . ewmh
          $ def {
                 focusFollowsMouse  = myFocusFollowsMouse,
                 borderWidth        = myBorderWidth,
@@ -222,6 +224,6 @@ main = do
                 mouseBindings      = myMouseBindings,
 
                 layoutHook         = myLayout,
-                handleEventHook    = fullscreenEventHook <+> myServerModeEventHook,
-                manageHook         = manageDocks <+> myManageHook
+                handleEventHook    = myServerModeEventHook,
+                manageHook         = myManageHook
                 }
\ No newline at end of file