Browse Source

Update to xmonad/master, output more debugging info in checkrc

master
Peter J. Jones 2 years ago
parent
commit
4b71df9ba5
Signed by: Peter Jones <pjones@devalot.com> GPG Key ID: 9DAFAA8D01941E49
3 changed files with 11 additions and 2 deletions
  1. 9
    1
      checkrc.hs
  2. 1
    1
      vendor/xmonad
  3. 1
    0
      xmonadrc.cabal

+ 9
- 1
checkrc.hs View File

@@ -11,9 +11,12 @@ the LICENSE file. -}
module Main where

--------------------------------------------------------------------------------
import Control.Monad (void)
import Control.Monad (void, unless)
import qualified Data.Map as M
import qualified Data.Set as S
import Graphics.X11
import Graphics.X11.Xinerama
import Graphics.X11.Xrandr
import XMonad
import XMonad.Prompt
import XMonad.StackSet (new)
@@ -64,3 +67,8 @@ main = do
Core _ -> io (putStrLn "Font: core")
Utf8 _ -> io (putStrLn "Font: utf8")
Xft _ -> io (putStrLn "Font: xft")

-- Test for XRandR support.
unless compiledWithXrandr (error "no XRandR support!")
io $ putStrLn ("Screens: " ++ show (screenCount dpy))
io (getScreenInfo dpy >>= putStrLn . show)

+ 1
- 1
vendor/xmonad

@@ -1 +1 @@
Subproject commit 76f4a162587a8c6b58afe3d76341336cfe3c9aa3
Subproject commit 10b843ad21614994b7e12fafaf300f4267aa9e40

+ 1
- 0
xmonadrc.cabal View File

@@ -73,3 +73,4 @@ executable checkrc
, xmonad
, xmonad-contrib
, xmonadrc
, X11

Loading…
Cancel
Save