public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Strange Xmonad problem
@ 2017-09-27 16:22 Melleus
  2017-09-27 21:06 ` Simon Thelen
  0 siblings, 1 reply; 12+ messages in thread
From: Melleus @ 2017-09-27 16:22 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 263 bytes --]

After last update my Xmonad starts from 8-th workspace instead of
1-st. I did not change anything but updated Xmonad and GHC, config
remained the same (file attached). What have I done wrong other than I'd
better not updated my system?

Thank you ahead of time.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: xmonad.hs --]
[-- Type: text/x-haskell, Size: 1490 bytes --]

import XMonad
-- import XMonad.Hooks.EwmhDesktops
import XMonad.Hooks.DynamicLog
import XMonad.Hooks.ManageDocks
-- import XMonad.Hooks.ManageHelpers
-- import XMonad.Layout.NoBorders
import XMonad.Util.Run(spawnPipe)
import XMonad.Util.EZConfig(additionalKeys)
import System.IO

myManageHook = composeAll
 [ title =? "GnuCash" --> doFloat
--    , isFullscreen --> doFullFloat
  ]

main = do
        xmproc <- spawnPipe "xmobar"
	xmonad $ defaultConfig
          {
		modMask = mod4Mask,
                terminal = "urxvt",
                manageHook = manageDocks <+> myManageHook <+> manageHook defaultConfig,
                layoutHook = avoidStruts $ layoutHook defaultConfig,
                logHook = dynamicLogWithPP xmobarPP
                        { ppOutput = hPutStrLn xmproc,
                          ppTitle = xmobarColor "green" "" . shorten 50
                        },
-- handleEventHook - makes space for xmobar, docksEventHook must be last
                handleEventHook = mconcat
--                          [ fullscreenEventHook
                          [ docksEventHook
                          , handleEventHook defaultConfig ]
                ,startupHook = do
                        spawn "source ~/.xmonad/autostart"
		}
                  `additionalKeys`
                [ ((mod4Mask, xK_d), spawn "dmenu_run -b -nb black"),
                  ((0, xK_Print), spawn "~/.xmonad/screen2file.sh"),
                  ((mod4Mask, xK_b), sendMessage ToggleStruts) ]

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2017-10-01 20:46 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-27 16:22 [gentoo-user] Strange Xmonad problem Melleus
2017-09-27 21:06 ` Simon Thelen
2017-09-27 23:40   ` R0b0t1
2017-09-28 17:56     ` [gentoo-user] " Melleus
2017-09-28 17:30   ` Melleus
2017-09-28 18:27     ` Simon Thelen
2017-09-29  9:13       ` Melleus
2017-09-29 14:13         ` Simon Thelen
2017-09-29 19:09           ` Melleus
2017-09-30  0:22             ` Simon Thelen
2017-10-01  9:38               ` Melleus
2017-10-01 20:45                 ` R0b0t1

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox