From f0b31e60b8b91c56eb9e6e621ef1ac264bd4e3a0 Mon Sep 17 00:00:00 2001 From: MikunoNaka Date: Mon, 28 Jun 2021 19:52:25 +0530 Subject: switched to bpytop and dracula theme --- .config/XMonad/xmonad.hs | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to '.config/XMonad/xmonad.hs') diff --git a/.config/XMonad/xmonad.hs b/.config/XMonad/xmonad.hs index f8d0026..be87a4f 100644 --- a/.config/XMonad/xmonad.hs +++ b/.config/XMonad/xmonad.hs @@ -52,12 +52,6 @@ myVolMute = "pamixer -m && killall lemonblocks -5" myExtraWorkspaces = [(xK_0, "十")] -- , (xK_comma, " 十一 "), (xK_period, " 十二 "), (xK_slash, " 十三 ")] myWorkspaces = ["一", "二", "三", "四", "五", "六", "七", "八", "九"] ++ (map snd myExtraWorkspaces) -myStartupHook :: X () -myStartupHook = do - spawnOnce "polybar mybar" - setWMName "LG3D" - setDefaultCursor xC_left_ptr - myScratchpads = [ NS "Phone" "scrcpy" (title =? "Motorola One Power") defaultFloating, NS "Terminal" "prime-run alacritty -t 'TerminalScratchpad'" (title =? "TerminalScratchpad") defaultFloating, @@ -236,7 +230,10 @@ main = do , layoutHook = avoidStruts $ maximize $ windowNavigation $ smartBorders $ myGap $ ( emptyBSP ||| tabbed shrinkText myTabTheme ||| emptyBSP ||| Grid) , manageHook = namedScratchpadManageHook myScratchpads <+> manageDocks - , startupHook = myStartupHook + , startupHook = do + spawnOnce "polybar mybar" + setWMName "LG3D" + setDefaultCursor xC_left_ptr } `additionalMouseBindings` [ ((altMask, 2), \w -> kill1) , ((myModMask, 4), \w -> prevWS) -- cgit v1.2.3