| Copyright | Max Magorsch <max@magorsch.de> |
|---|---|
| License | BSD-style (see LICENSE) |
| Maintainer | Max Magorsch <max@magorsch.de> |
| Stability | unstable |
| Portability | unportable |
| Safe Haskell | None |
| Language | Haskell2010 |
TaskMonad.ScratchPad
Contents
Description
A wrapper around XMonad.Util.NamedScratchpad that can be used to display taskwarrior commands
Synopsis
- taskwarriorScratchpad :: X ()
- taskwarriorScratchpads :: [NamedScratchpad]
- hideScratchpadAction :: NamedScratchpads -> String -> X ()
- twscratchpad :: String -> X ()
- runTmuxCommand :: MonadIO m => String -> m ()
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
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