tv xmonad: add xdeny

This commit is contained in:
tv 2021-02-28 21:08:39 +01:00
parent 009b9f735e
commit 1f7fabbd27
2 changed files with 16 additions and 0 deletions

View File

@ -32,3 +32,6 @@ xcalib = findExecutable "xcalib"
xdpychvt :: FilePath xdpychvt :: FilePath
xdpychvt = findExecutable "xdpychvt" xdpychvt = findExecutable "xdpychvt"
xterm :: FilePath
xterm = findExecutable "xterm"

View File

@ -218,6 +218,19 @@ myKeys conf = Map.fromList $
def { XMonad.Prompt.font = myFont } def { XMonad.Prompt.font = myFont }
xdeny :: X ()
xdeny =
forkFile
Paths.xterm
[ "-fn", myFont
, "-geometry", "300x100"
, "-name", "AlertFloat"
, "-bg", "#E4002B"
, "-e", "sleep", "0.05"
]
Nothing
pagerConfig :: PagerConfig pagerConfig :: PagerConfig
pagerConfig = def pagerConfig = def
{ pc_font = myFont { pc_font = myFont