You are not logged in.
Hello everyone, i am having a little problem with xmonad configuration. i am running windows in virtualbox and everytime i open virtualbox, xmonad place it below xmobar . I just want xmonad to make it fulscreen overriding xmobar . or is there anyway to disable docking behavior of xmonad on any specific workspace so that i can "doshift" on VB. also same is happening with youtube in fullscreen.
by the way here is my xmonad.hs
--
--xmonad configuration file
--
import XMonad
import XMonad.Layout.Spacing
import XMonad.Hooks.ManageDocks
myTerminal = "terminal"
--Layout
myLayout = tiled ||| Mirror tiled ||| Full
where
-- default tiling algorithm partitions the screen into two panes
tiled = Tall nmaster delta ratio
-- The default number of windows in the master pane
nmaster = 1
-- Default proportion of screen occupied by master pane
ratio = 2/3
-- Percent of screen to increment by when resizing panes
delta = 3/100
-- Define amount and names of workspaces
myWorkspaces = ["1:Web","2:Music","3:Bash","4:Files","5","6","7","8","9"]
-- Whether focus follows the mouse pointer.
myFocusFollowsMouse :: Bool
myFocusFollowsMouse = False
--Main
main = do
xmonad $ defaultConfig
{ terminal = myTerminal
, modMask = mod4Mask
, borderWidth = 2
, normalBorderColor = "#FFFFFF"
, focusedBorderColor = "#0000FF"
, workspaces = myWorkspaces
, layoutHook = avoidStruts $ layoutHook defaultConfig
, manageHook = manageHook defaultConfig <+> manageDocks
, focusFollowsMouse = myFocusFollowsMouse
}
Last edited by illusionist (2012-04-03 07:46:31)
Never argue with stupid people,They will drag you down to their level and then beat you with experience.--Mark Twain
@github
Offline
Add "isFullscreen --> doFullFloat" to your manageHook. So in your case, that would become something like:
, manageHook = ( isFullscreen --> doFullFloat ) <+> manageHook defaultConfig <+> manageDocksAnd some more general Xmonad config reading material to be found here.
Last edited by Gcool (2012-04-03 06:34:51)
Burninate!
Offline
thanks for reply Gcool
but i am getting error saying:-
doFullFloat and isFullscreen ( not in scope)
is there anything i am doing wrong ?
Never argue with stupid people,They will drag you down to their level and then beat you with experience.--Mark Twain
@github
Offline
You'll probably have to add "import qualified XMonad.StackSet as W" to your xmonad.hs import section.
Burninate!
Offline
thanks Gcool your method worked !
but for
doFullFloat and isFullscreen ( not in scope) error
reading through xmonad config archive at haskel.org I found that you need to import
import XMonad.Hooks.ManageHelpers (isFullscreen, isDialog, doFullFloat, doCenterFloat) and that did the trick.
how to mark thread as [SOLVED]
Never argue with stupid people,They will drag you down to their level and then beat you with experience.--Mark Twain
@github
Offline
Glad to hear it's working. In order to mark your thread as solved, simply edit your original post and add [SOLVED] to the subject line.
Burninate!
Offline