You are not logged in.
Pages: 1
Hello and thank you for reading this message!
Window manager: Xmonad
I am having a problem with Xmobar (and Dzen2 also does this) which happens when I open a gui window.
In this picture you can see Xmobar running perfectly fine, with URXVT open.
Then, when I open firefox, you can see that Xmobar crashes, and the windows reclaim the space where Xmobar was
Does anyone have any idea why this is happening? At first I ran Xmobar in the xmonad.hs file, and this problem kept happening. I then ran Xmobar in .xinitrc and it still crashes.
Xmonad.hs ~
import XMonad
import XMonad.Hooks.DynamicLog
import XMonad.Hooks.ManageDocks
import XMonad.Layout.Spacing
import XMonad.Util.Run (spawnPipe)
import XMonad.Hooks.UrgencyHook
import XMonad.Util.EZConfig
import qualified Data.Map as M
import System.IO
modButton :: KeyMask
modButton = mod4Mask
main = do
xmonad defaultConfig
{
terminal = "urxvt",
workspaces = ["Home", "Web", "Programming", "Chat", "Music"],
modMask = modButton,
borderWidth = 5,
focusedBorderColor = "#0000CC",
--layoutHook = myLayHook
} `additionalKeys`
[((0, 0x1008FF05), spawn "kbdlight up"),
((0, 0x1008FF06), spawn "kbdlight down"),
((0, 0x1008FF02), spawn "xbacklight -inc 3"),
((0, 0x1008FF03), spawn "xbacklight -dec 3"),
((0, 0x1008FF13), spawn "amixer set Master 5%+"),
((0, 0x1008FF11), spawn "amixer set Master 5%-")]
myLayHook = avoidStruts $ spacing 7 $ Tall 1 (3/100) (1/2)xmobarrc ~
--Xmobarrc
Config
{
bgColor = "black",
fgColor = "blue",
position = Top,
lowerOnStart = False
}xinitrc ~ Note: I tried switching xmobar and xmonad, so xmonad would run before xmobar, still didn't work
#xinitrc
hsetroot -full ~/Pictures/025\ 2880*1800.png
compton --config ~/.config/compton.conf -bC
#openbox
xmobar
xmonadOffline
Maybe this helps.
I put at button on it. Yes. I wish to press it, but I'm not sure what will happen if I do. (Gune | Titan A.E.)
Offline
Pages: 1