diff options
author | Vidhu Kant Sharma <vidhukant@protonmail.ch> | 2022-05-20 23:10:49 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@protonmail.ch> | 2022-05-20 23:10:49 +0530 |
commit | c32bbccd00aee2d6709253c8175c81d0072ee4b5 (patch) | |
tree | 4ff0611661ba7745842f698aec5bed0242e7fa01 /.config/XMonad/xmonad.hs | |
parent | b0ad81e7ba9407cc49b245f4f32d94495f86421c (diff) |
applied keybindings and defaults
Diffstat (limited to '.config/XMonad/xmonad.hs')
-rw-r--r-- | .config/XMonad/xmonad.hs | 51 |
1 files changed, 7 insertions, 44 deletions
diff --git a/.config/XMonad/xmonad.hs b/.config/XMonad/xmonad.hs index 095bc1e..45e0c25 100644 --- a/.config/XMonad/xmonad.hs +++ b/.config/XMonad/xmonad.hs @@ -1,53 +1,14 @@ import XMonad -import qualified XMonad.StackSet as W -import XMonad.ManageHook -import System.Exit -import System.IO --- data -import Data.Tree -import qualified Data.Map as M - --- actions -import XMonad.Actions.CopyWindow -import XMonad.Actions.CycleWS -import XMonad.Actions.GridSelect -import XMonad.Actions.SwapWorkspaces -import qualified XMonad.Actions.TreeSelect as TS - --- layout modifiers -import XMonad.Layout.Spacing -import XMonad.Layout.WindowNavigation as WN -import XMonad.Layout.Maximize import XMonad.Layout.Fullscreen -import XMonad.Layout.NoBorders - --- Layouts -import XMonad.Layout.BinarySpacePartition as BSP -import XMonad.Layout.Grid -import XMonad.Layout.Tabbed --- hooks -import XMonad.Hooks.SetWMName import XMonad.Hooks.ManageDocks import XMonad.Hooks.EwmhDesktops -import XMonad.Hooks.DynamicLog --- DynamicLog replacement(s) --- import XMonad.Hooks.StatusBar --- import XMonad.Hooks.StatusBar.PP - --- utilities -import XMonad.Util.Run -import XMonad.Util.SpawnOnce import XMonad.Util.EZConfig -import XMonad.Util.Cursor -import XMonad.Util.NamedScratchpad --- myLibs import Keybindings import Defaults -import Scratchpads import Hooks main :: IO () @@ -55,14 +16,16 @@ main = do -- lemonBar <- spawnPipe myLemonbar xmonad $ ewmh $ docks $ fullscreenSupport def { focusFollowsMouse = True - , borderWidth = 2 + , borderWidth = myBorderWidth , modMask = myModMask , workspaces = myWorkspaces - , normalBorderColor = "#130F23" - , focusedBorderColor = "#c44cf2" + , normalBorderColor = myBorder + , focusedBorderColor = myBorder' , layoutHook = myLayoutHook , startupHook = myStartupHook , manageHook = myManageHook -- , logHook = dynamicLogWithPP myLemonbarPP { ppOutput = \x -> hPutStrLn lemonBar x} - -} + } + `additionalKeys` myKeybindings + `additionalKeysP` myKeybindingsP + `additionalMouseBindings` myMouseKeybindings |