about summary refs log tree commit diff
path: root/src/XMonad/Custom/Manage.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/XMonad/Custom/Manage.hs')
-rw-r--r--src/XMonad/Custom/Manage.hs61
1 files changed, 31 insertions, 30 deletions
diff --git a/src/XMonad/Custom/Manage.hs b/src/XMonad/Custom/Manage.hs
index deffa3b..ac4201b 100644
--- a/src/XMonad/Custom/Manage.hs
+++ b/src/XMonad/Custom/Manage.hs
@@ -8,10 +8,10 @@
 --
 
 module XMonad.Custom.Manage
-    ( manageHook
-    ) where
+  ( manageHook
+  ) where
 
-import           XMonad                      hiding ( manageHook )
+import           XMonad                  hiding ( manageHook )
 import           XMonad.Custom.Scratchpads
 import           XMonad.Hooks.InsertPosition
 import           XMonad.Hooks.ManageDocks
@@ -21,33 +21,34 @@ import           XMonad.Util.NamedScratchpad
 
 composeActions :: [MaybeManageHook]
 composeActions =
-    [ appName =? "emacs-popup"                                  -?> tileBelowNoFocus
-    , appName =? "eterm"                                        -?> tileBelow
-    , className =? "Pinentry"                                   -?> doCenterFloat
-    , className =? "Steam" <&&> not <$> title =? "Steam"        -?> doFloat
-    , className =? "Xmessage"                                   -?> doCenterFloat
-    , className =? "Zenity"                                     -?> doCenterFloat
-    , className =? "explorer.exe"                               -?> doFullFloat
-    , className =? "qemu-system-x86"                            -?> doCenterFloat
-    , className =? "qemu-system-x86_64"                         -?> doCenterFloat
-    , className =? "urxvt"                                      -?> tileBelow
-    , className =? "xterm"                                      -?> tileBelow
-    , isDialog                                                  -?> doCenterFloat
-    , isFullscreen                                              -?> doFullFloat
-    , pure True                                                 -?> tileNormal
-    , stringProperty "WM_WINDOW_ROLE" =? "pop-up"               -?> doCenterFloat
-    , stringProperty "WM_WINDOW_ROLE" =? "GtkFileChooserDialog" -?> doCenterFloat
-    , transience
-    ]
-    where
-        tileNormal       = insertPosition Above Newer
-        tileBelow        = insertPosition Below Newer
-        tileBelowNoFocus = insertPosition Below Older
+  [ appName =? "emacs-popup" -?> tileBelowNoFocus
+  , appName =? "eterm" -?> tileBelow
+  , className =? "Pinentry" -?> doCenterFloat
+  , className =? "Steam" <&&> not <$> title =? "Steam" -?> doFloat
+  , className =? "Xmessage" -?> doCenterFloat
+  , className =? "Zenity" -?> doCenterFloat
+  , className =? "explorer.exe" -?> doFullFloat
+  , className =? "qemu-system-x86" -?> doCenterFloat
+  , className =? "qemu-system-x86_64" -?> doCenterFloat
+  , className =? "urxvt" -?> tileBelow
+  , className =? "xterm" -?> tileBelow
+  , isDialog -?> doCenterFloat
+  , isFullscreen -?> doFullFloat
+  , pure True -?> tileNormal
+  , stringProperty "WM_WINDOW_ROLE" =? "pop-up" -?> doCenterFloat
+  , stringProperty "WM_WINDOW_ROLE" =? "GtkFileChooserDialog" -?> doCenterFloat
+  , transience
+  ]
+ where
+  tileNormal       = insertPosition Above Newer
+  tileBelow        = insertPosition Below Newer
+  tileBelowNoFocus = insertPosition Below Older
 
 
 manageHook :: ManageHook
-manageHook = mconcat [ manageDocks
-                     , fullscreenManageHook
-                     , namedScratchpadManageHook scratchpads
-                     , composeOne composeActions
-                     ]
+manageHook = mconcat
+  [ manageDocks
+  , fullscreenManageHook
+  , namedScratchpadManageHook scratchpads
+  , composeOne composeActions
+  ]

Consider giving Nix/NixOS a try! <3