TaskMonad-1.0.0: A collection of tools which can be used to access taskwarrior from xmonad.

CopyrightMax Magorsch <max@magorsch.de>
LicenseBSD-style (see LICENSE)
MaintainerMax Magorsch <max@magorsch.de>
Stabilityunstable
Portabilityunportable
Safe HaskellNone
LanguageHaskell2010

TaskMonad.ScratchPad

Contents

Description

A wrapper around XMonad.Util.NamedScratchpad that can be used to display taskwarrior commands

Synopsis

Usage

Just add a manage hook:

, manageHook = namedScratchpadManageHook taskwarriorScratchpads

Screenshots

TaskMonad.Scratchpad in action:

taskwarriorScratchpad :: X () Source #

Open the TaskWarrior-ScratchPad

taskwarriorScratchpads :: [NamedScratchpad] Source #

The TaskWarrior-Scratchpad which contains a tmux session

hideScratchpadAction Source #

Arguments

:: NamedScratchpads

Named scratchpads configuration

-> String

Scratchpad name

-> X () 

Modified version of XMonad.Util.NamedScratchpad.hideScratchpadAction which can be used to just show a scratchpad and don't hide it in case it is already shown

twscratchpad :: String -> X () Source #

Send a taskwarrior command to the taskwarrior tmux session and open the taskwarrior scratchpad

runTmuxCommand :: MonadIO m => String -> m () Source #

Send a command to the taskwarrior tmux session