TaskMonad 1.0.0 → 1.0.1
raw patch · 3 files changed
+46/−11 lines, 3 filesdep ~X11dep ~basedep ~containers
Dependency ranges changed: X11, base, containers, mtl
Files
- README.md +4/−2
- TaskMonad.cabal +4/−3
- src/TaskMonad.hs +38/−6
README.md view
@@ -3,11 +3,12 @@ [](https://www.haskell.org/ghc/) [](https://travis-ci.org/mmagorsc/taskmonad)-[](http://hackage.haskell.org/package/TaskMonad-1.0.0)+[](http://hackage.haskell.org/package/TaskMonad-1.0.1) [](https://codeclimate.com/github/mmagorsc/taskmonad) [](#contributing) [](https://opensource.org/licenses/BSD-3-Clause) + ## Table Of Contents - [Basic Overview](#basic-overview)@@ -19,7 +20,7 @@ ## Basic Overview -Basically, TaskMonad provides a collection of tools which can be used to access taskwarrior from xmonad. For further information please refer to [the project site](https://taskmonad.magorsch.de)+Basically, TaskMonad provides a collection of tools which can be used to access taskwarrior from xmonad. [](https://taskmonad.magorsch.de) @@ -64,6 +65,7 @@ ``` haskell import TaskMonad ```+ ## Usage To get started, add a manage hook for the taskwarrior scratchpad:
TaskMonad.cabal view
@@ -2,12 +2,12 @@ -- documentation, see http://haskell.org/cabal/users-guide/ name: TaskMonad-version: 1.0.0+version: 1.0.1 synopsis: A collection of tools which can be used to access taskwarrior from xmonad. description: TaskMonad is a collection of tools which can be used to access taskwarrior from xmonad. homepage: https://taskmonad.magorsch.de bug-reports: https://github.com/mmagorsc/taskmonad/issues-tested-with: GHC ==8.6.4 || ==8.4.4 || ==8.4.1+tested-with: GHC ==8.6.4 || ==8.6.3 || ==8.4.4 || ==8.4.1 license: BSD3 license-file: LICENSE author: Max Magorsch@@ -37,7 +37,7 @@ -- other-modules: Paths_xmonad build-depends: base >= 4.11 && < 5 , X11 >= 1.8 && < 1.10- , X11-xft >= 0.3.1 && < 0.4+ , X11-xft >= 0.2 && < 0.4 , mtl >= 2.2.2 && < 2.3 , random >= 1.1 && < 1.2 , containers >= 0.5.11 && < 0.6@@ -45,5 +45,6 @@ , process >= 1.6.3 && < 1.7 , xmonad >= 0.14.2 && <= 0.15 , xmonad-contrib >= 0.14 && <= 0.15+ cpp-options: -DXFT hs-source-dirs: src default-language: Haskell2010
src/TaskMonad.hs view
@@ -18,6 +18,14 @@ module TaskMonad (+ -- * Installation++ -- ** Install with Cabal+ -- $installWithCabal++ -- ** Install without Cabal+ -- $installWithoutCabal+ -- * Usage -- $usage @@ -80,10 +88,26 @@ import TaskMonad.Utils import TaskMonad.GridSelect --- $usage--- To install Taskmonad just copy the source code into your @~/.xmonad/lib/@ folder.--- The folder structure should afterwards look like this:---++++-- $installWithCabal+-- +-- To install TaskMonad from hackage just execute:+-- +-- > cabal update+-- > cabal install TaskMonad+-- +-- Afterwards import TaskMonad in your `xmonad.hs` +-- +-- > import TaskMonad+-- ++-- $installWithoutCabal+-- +-- To install Taskmonad without using cabal just download and copy the source code into your `~/.xmonad/-- lib/` folder. The folder structure should afterwards look like this:+-- +-- -- > .xmonad -- > |-- lib -- > | |-- Taskmonad.hs@@ -96,8 +120,16 @@ -- > | | `-- Extras.hs -- > | `-- ... -- > |-- xmonad.hs------ Afterwards import TaskMonad and add a manage hook for the taskwarrior scratchpad:+-- +-- +-- Afterwards import TaskMonad in your `xmonad.hs` +-- +-- > import TaskMonad+-- +++-- $usage+-- To get started, add a manage hook for the taskwarrior scratchpad: -- -- > import TaskMonad -- >