Given my limited (zero) knowledge with Haskell the xmonad.hs can be challenging.
I am looking for how to modify my config file to allow for "true" fullscreen using for example VLC watching videos.
My current xmonad.hs:
import XMonad
import XMonad.Hooks.DynamicLog
import XMonad.Hooks.ManageDocks
import XMonad.Util.Run(spawnPipe)
import XMonad.Util.EZConfig(additionalKeys)
import Graphics.X11.ExtraTypes.XF86
import System.IO
main = do
xmproc <- spawnPipe "xmobar /home/user/.xmobarrc"
xmonad $ defaultConfig
{ terminal = "urxvt",
manageHook = manageDocks <+> manageHook defaultConfig
, layoutHook = avoidStruts $ layoutHook defaultConfig
, logHook = dynamicLogWithPP xmobarPP
{ ppOutput = hPutStrLn xmproc
, ppTitle = xmobarColor "green" "" . shorten 50
}
} `additionalKeys`
[ ((0 , xF86XK_AudioLowerVolume), spawn "amixer set Master on && amixer set Headphone on && amixer set Master 2-"),
((0 , xF86XK_AudioRaiseVolume), spawn "amixer set Master on && amixer set Headphone on && amixer set Master 2+"),
((0 , xF86XK_AudioMute), spawn "amixer set Master toggle && amixer set Headphone toggle")
]
Currently my xmobar is visible when watching videos as well I have a red border on the window which displays the video.
How can I modify this config to allow for example to have a Mod-b to toggle between fullscreen mode and normal?