XMonad + XFCE

After 5 years or so, I have switched from Arch Linux to Xubuntu. Whether or not this change is permanent remains to be seen. I do miss pacman quite a bit.

Currently running XMonad as my window manager. I’m using xmonad-log-applet to send info (xmonad layout, focused window title, etc) to xfce4-panel.

Here’s a relatively bare-bones xmonad.hs that makes XMonad in XFCE4 a little more comfortable. Actually the most important part here is replace; without it, I was running into all kinds of funky issues with xfce4-panel.

import XMonad
import XMonad.Config.Xfce
import XMonad.Hooks.EwmhDesktops
import XMonad.Util.Replace(replace)
main = do
xmonad $ ewmh xfceConfig
{ terminal = "xfce4-terminal –hide-menubar"
, manageHook = myManageHook <+> manageHook xfceConfig
myManageHook = composeAll [ className =? "Xfce4-notifyd" –> doIgnore ]

view raw
hosted with ❤ by GitHub

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s