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.GridSelect uses Extras
to display various information from taskwarrior.
Synopsis
- taskSelect :: String -> X ()
- taskSelectWithConfig :: String -> GSConfig (X ()) -> X ()
- tagSelect :: X ()
- tagSelectWithConfig :: (GSConfig (X ()), GSConfig (X ())) -> X ()
- projectSelect :: X ()
- projectSelectWithConfig :: (GSConfig (X ()), GSConfig (X ())) -> X ()
- dueSelect :: X ()
- dueSelectWithConfig :: (GSConfig (X ()), GSConfig (X ())) -> X ()
- togglePriority :: String -> X ()
- togglePriorityWithConfig :: GSConfig (X ()) -> String -> X ()
- buildTWGSExtraConfig :: Integer -> GSConfig (X ())
- buildTWGSConfig :: Integer -> GSConfig (X ())
- defaultTWGSConfig :: GSConfig (X ())
- defaultTWGSExtraConfig :: GSConfig (X ())
Screenshot
togglePriority
in action:
Possible GridSelects
:: String | a filter to be applied, please refer to TaskWarrior Filter for further information |
-> X () | the gridselect displaying all filtered tasks |
A wrapper around taskSelectWithConfig
using the default GSConfig
:: String | a filter to be applied, please refer to TaskWarrior Filter for further information |
-> GSConfig (X ()) | the GridSelect config to be used |
-> X () | the gridselect displaying all filtered tasks |
A GridSelect displaying a filtered list of all taskwarrior tasks
A wrapper around tagSelectWithConfig
using the default GSConfig
:: (GSConfig (X ()), GSConfig (X ())) | A tuple containing two GSConfigs. The first one is used to configure the gridselect displaying the list of tags. The second one is used to configure the gridselect displaying the resulting fitlered list of tasks. |
-> X () | a gridSelect displaying a list of the tags of all pending taskwarrior tasks |
A GridSelect displaying a list of the tags of all pending taskwarrior tasks. After a tag has been selected, a second gridselect showing a filtered list of taskwarrior tasks that have the selected tag will be displayed.
projectSelect :: X () Source #
A wrapper around projectSelectWithConfig
using the default GSConfig
projectSelectWithConfig Source #
:: (GSConfig (X ()), GSConfig (X ())) | A tuple containing two GSConfigs. The first one is used to configure the gridselect displaying the list of pending projects. The second one is used to configure the gridselect displaying the resulting filtered list of tasks. |
-> X () | a GridSelect displaying a list of all pending projects |
A GridSelect displaying a list of all pending projects. After a project has been selected, a second gridselect showing a filtered list of taskwarrior tasks that belong to the selected project will be displayed.
A wrapper around dueSelectWithConfig
using the default GSConfig
:: (GSConfig (X ()), GSConfig (X ())) | A tuple containing two GSConfigs. The first one is used to configure the gridselect displaying the list of due dates. The second one is used to configure the gridselect displaying the resulting filtered list of tasks. |
-> X () | a GridSelect displaying a list of all due dates |
A GridSelect displaying a list of due dates. After a due date has been selected, a second gridselect showing a filtered list of taskwarrior tasks will be displayed.
A wrapper around togglePriorityWithConfig
using the default GridSelect.Extras.GSConfig
togglePriorityWithConfig Source #
:: GSConfig (X ()) | a GridSelect.Extras.GSConfig used for the gridselect |
-> String | the priority that should be toggled |
-> X () | the resulting gridselect |
A gridselect showing all pending tasks. The tasks are colored according to their priority. Selecting a task toggles its priority.
Configuration
Method used to build a GridSelect.Extra.GSConfig by specifying a custom cellwidth
Method used to build a GSConfig by specifying a custom cellwidth
defaultTWGSConfig :: GSConfig (X ()) Source #
The default GSConfig used for taskwarrior GridSelects
defaultTWGSExtraConfig :: GSConfig (X ()) Source #
The default GridSelect.Extra.GSConfig used for taskwarrior GridSelects