about summary refs log tree commit diff
path: root/src/XMonad/Custom/Scratchpads.hs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/XMonad/Custom/Scratchpads.hs52
1 files changed, 26 insertions, 26 deletions
diff --git a/src/XMonad/Custom/Scratchpads.hs b/src/XMonad/Custom/Scratchpads.hs
index 90656aa..157a1fb 100644
--- a/src/XMonad/Custom/Scratchpads.hs
+++ b/src/XMonad/Custom/Scratchpads.hs
@@ -8,13 +8,13 @@
 --
 
 module XMonad.Custom.Scratchpads
-    ( scratchpads
-    ) where
+  ( scratchpads
+  ) where
 
 import           XMonad.Core
-import           XMonad.Custom.Misc          as C
+import           XMonad.Custom.Misc            as C
 import           XMonad.ManageHook
-import qualified XMonad.StackSet             as S
+import qualified XMonad.StackSet               as S
 import           XMonad.Util.NamedScratchpad
 
 spawnTerminalWith :: String -> String -> String
@@ -22,28 +22,28 @@ spawnTerminalWith t c = term applications ++ " -title " ++ t ++ " -e " ++ c
 
 floatingNSP :: ManageHook
 floatingNSP = customFloating $ S.RationalRect x y w h
-    where
-        x = (1 - w) / 2
-        y = (1 - h) / 2
-        w = 1 / 2
-        h = 1 / 2.5
+ where
+  x = (1 - w) / 2
+  y = (1 - h) / 2
+  w = 1 / 2
+  h = 1 / 2.5
 
 scratchpads :: [NamedScratchpad]
 scratchpads =
-    [ NS "console"
-      (spawnTerminalWith "NSPConsole" "~/.xmonad/scripts/nsp-console.sh")
-      (title =? "NSPConsole")
-      floatingNSP
-    , NS "volume"
-      (spawnTerminalWith "NSPVolume" (C.mixer C.applications))
-      (title =? "NSPVolume")
-      floatingNSP
-    , NS "music"
-      (spawnTerminalWith "NSPMusic" (C.player C.applications))
-      (title =? "NSPMusic")
-      floatingNSP
-    , NS "top"
-      (spawnTerminalWith "NSPTop" (C.top C.applications))
-      (title =? "NSPTop")
-      floatingNSP
-    ]
+  [ NS "console"
+       (spawnTerminalWith "NSPConsole" "~/.xmonad/scripts/nsp-console.sh")
+       (title =? "NSPConsole")
+       floatingNSP
+  , NS "volume"
+       (spawnTerminalWith "NSPVolume" (C.mixer C.applications))
+       (title =? "NSPVolume")
+       floatingNSP
+  , NS "music"
+       (spawnTerminalWith "NSPMusic" (C.player C.applications))
+       (title =? "NSPMusic")
+       floatingNSP
+  , NS "top"
+       (spawnTerminalWith "NSPTop" (C.top C.applications))
+       (title =? "NSPTop")
+       floatingNSP
+  ]

Consider giving Nix/NixOS a try! <3