RedditPP Mascot

RedditPP

r/xmonad • … • u/davama1

xmoand noborders fullscreen not working

I seems that when i change the layout to full, the window is hiding behind my dzen2 bar. I've tried it using xmobar but same results. Here is code:

myManageHook :: ManageHook myManageHook = composeAll . concat $ [ [isDialog --> doCenterFloat] --, [ isFullscreen --> (doF W.focusDown <+> doFullFloat) ] , [ isFullscreen --> doFullFloat ] --, [ composeOne [ isFullscreen -?> doFullFloat ] ] , [(className =? c <||> title =? c <||> resource =? c) --> doIgnore | c <- bars ] , [(className =? c <||> title =? c <||> resource =? c) --> doFloat | c <- float ] , [(className =? c <||> title =? c <||> resource =? c) --> doCenterFloat | c <- cfloat ] , [(className =? c <||> title =? c <||> resource =? c) --> doShift (myWorkspaces !! 0) | c <- main ] -- i , [(className =? c <||> title =? c <||> resource =? c) --> doShift (myWorkspaces !! 1) | c <- www ] -- ii , [(className =? c <||> title =? c <||> resource =? c) --> doShift (myWorkspaces !! 2) | c <- office ] -- iii , [(className =? c <||> title =? c <||> resource =? c) --> doShift (myWorkspaces !! 3) | c <- rdp ] -- iv , [(className =? c <||> title =? c <||> resource =? c) --> doShift (myWorkspaces !! 4) | c <- file ] -- v , [(className =? c <||> title =? c <||> resource =? c) --> doShift (myWorkspaces !! 5) | c <- email ] -- vi , [(className =? c <||> title =? c <||> resource =? c) --> doShift (myWorkspaces !! 6) | c <- editor ] -- vii , [(className =? c <||> title =? c <||> resource =? c) --> doShift (myWorkspaces !! 7) | c <- media ] -- vii , [(className =? c <||> title =? c <||> resource =? c) --> doShift (myWorkspaces !! 8) | c <- chat ] -- ix , [role =? c --> doFloat | c <- im ] -- place roles on im ] where bars = ["xmobar","dzen2","desktop_window"] float = ["feh"] cfloat = ["Xmessage","Gxmessage","Eog","Xscreensaver-demo","Brasero","xclock","Xscreensaver-demo","xfreerdp"] ++ ["SimpleScreenRecorder","Evolution-alarm-notify","Evolution","Gns3","Mtpaint"] main = ["Wine","Pidgin","Skype"] media = ["Pithos","Ario","Vlc","Ncmpcpp"] www = ["Chromium"] rdp = ["xfreerdp","rdesktop"] office = ["libreoffice-calc","libreoffice-writer","VirtualBox","libreoffice"] editor = ["Gvim","Xconfigs"] email = ["Evolution"] file = ["Brasero","spacefm","Xpdf"] chat = ["Xchat","Gimp"] im = ["nothing"] role = stringProperty "WM_WINDOW_ROLE"

myLayoutHook = avoidStruts $ onWorkspaces [(myWorkspaces !! 3),(myWorkspaces !! 6),(myWorkspaces !! 7)] tabLayout $ onWorkspace (myWorkspaces !! 0) imLayout $ onWorkspace (myWorkspaces !! 8) gimpLayout $ standardLayouts where standardLayouts = named "+" (spacing myBorderSpace $ Grid) -- This one is nice ||| named "[]-" (spacing 1 $ Tall 1 (3/100) (1/2)) -- Note extra () ||| named "TT" (spacing myBorderSpace $ Mirror (Tall 1 (3/100) (1/2))) ||| named "(0)" Circle ||| named "[_]" (noBorders (fullscreenFull Full)) -- ||| named "[_]" (Full) tabLayout = named "TB" simpleTabbed ||| standardLayouts imLayout = withIM (18/100) (Title "Buddy List") standardLayouts gimpLayout = withIM (0.130) (Role "gimp-toolbox") $ reflectHoriz $ withIM (0.2) (Role "gimp-dock") standardLayouts

--myLayouHook = avoidStruts = noBorders (fullscreenFull Full)

Any input is appreciated. Thanks

— 0