xmonad-contrib-0.18.0.9: Community-maintained extensions for xmonad
Copyright(c) Markus Ongyerth 2017
LicenseBSD3-style (see LICENSE)
Maintainermarkus@ongy.net
Stabilityunstable
Portabilitynot portable
Safe HaskellSafe-Inferred
LanguageHaskell2010

XMonad.Util.SessionStart

Description

A module for detectiong session startup. Useful to start status bars, compositors and session initialization. This is a more general approach than spawnOnce and allows spawnOn etc.

Synopsis

Documentation

doOnce :: X () -> X () Source #

Use this to only do a part of your hook on session start

isSessionStart :: X Bool Source #

Query if the current startup is the session start

setSessionStarted :: X () Source #

This currently has to be added to the end of the startup hook to set the flag.