Nathan
4p3 comments posted · 0 followers · following 0
55 weeks ago @ Nathan Howell - Switching to Gnome + X... · 0 replies · +1 points
My config files (not just for xmonad) are on github at https://github.com/neh/myconfig/tree/master/xmona... . My config is pretty customized and maybe a bit crazy though.
136 weeks ago @ Nathan Howell - Xmonad and the Gimp · 0 replies · +1 points
Thanks for the comments and tips, guys. Xmonad is indeed excellent. I've had to work on windows boxes more often lately and I sure miss it.
153 weeks ago @ Nathan Howell - Xmonad and the Gimp · 1 reply · +1 points
Porges, yes that's possible. I just got that working recently with much help from sereven in the #xmonad irc channel. The main bit of code that makes it work came from the Scratchpad module. Here's the key stuff from my manageHook:
import XMonad.Actions.DynamicWorkspaces
myManageHook = composeAll [ className =? "Gimp-2.6" --> doNewWS "gimp" ]
where
doNewWS tg = (liftX $ addUniqueHiddenWS tg) >> doShift tg
addUniqueHiddenWS tg = withWindowSet $ s ->
if null (filter ( (== tg) . W.tag) (W.workspaces s))
then addHiddenWorkspace tg
else return()
You can change addHiddenWorkspace to addWorkspace to switch to the workspace when creating it.
(Sorry, can't seem to make these intense debate comments preserve indenting)
import XMonad.Actions.DynamicWorkspaces
myManageHook = composeAll [ className =? "Gimp-2.6" --> doNewWS "gimp" ]
where
doNewWS tg = (liftX $ addUniqueHiddenWS tg) >> doShift tg
addUniqueHiddenWS tg = withWindowSet $ s ->
if null (filter ( (== tg) . W.tag) (W.workspaces s))
then addHiddenWorkspace tg
else return()
You can change addHiddenWorkspace to addWorkspace to switch to the workspace when creating it.
(Sorry, can't seem to make these intense debate comments preserve indenting)
Branch