Skip to content

Commit

Permalink
Merge pull request #73 from d3adb5/xmonad/use-hpack
Browse files Browse the repository at this point in the history
chore(xmonad): switch from pure cabal to hpack
  • Loading branch information
d3adb5 authored Sep 25, 2023
2 parents 32afe1a + dff5d89 commit 1002990
Show file tree
Hide file tree
Showing 3 changed files with 92 additions and 35 deletions.
36 changes: 36 additions & 0 deletions xmonad/package.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: xmonad-d3adb5
version: 0.1.0
github: d3adb5/dotfiles
license: WTFPL
author: d3adb5
maintainer: [email protected]
copyright: 2023 d3adb5

synopsis: d3adb5's xmonad configuration
category: System
description: Please see the README on GitHub at <https://github.com/d3adb5/dotfiles#readme>

ghc-options:
- -Wall
- -Wcompat
- -Widentities

executables:
xmonad:
main: xmonad.hs
source-dirs: src
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
- -O2
- -j
dependencies:
- base >= 4.7 && < 5
- containers == 0.6.*
- data-default == 0.7.*
- process == 1.*
- split == 0.2.*
- utility-ht == 0.0.*
- xmonad >= 0.17
- xmonad-contrib >= 0.17
2 changes: 1 addition & 1 deletion xmonad/stack.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
resolver: lts-20.23
resolver: lts-21.13
packages:
- "."
89 changes: 55 additions & 34 deletions xmonad/xmonad-d3adb5.cabal
Original file line number Diff line number Diff line change
@@ -1,39 +1,60 @@
name: xmonad-d3adb5
version: 0.1.0
license: WTFPL
author: d3adb5
maintainer: [email protected]
cabal-version: 2.2

build-type: Simple
cabal-version: >=1.10
-- This file has been generated from package.yaml by hpack version 0.35.2.
--
-- see: https://github.com/sol/hpack

executable xmonad
main-is: xmonad.hs
hs-source-dirs: src

build-depends: base
, containers
, data-default
, process
, split
, xmonad >= 0.17
, xmonad-contrib >= 0.17
name: xmonad-d3adb5
version: 0.1.0
synopsis: d3adb5's xmonad configuration
description: Please see the README on GitHub at <https://github.com/d3adb5/dotfiles#readme>
category: System
homepage: https://github.com/d3adb5/dotfiles#readme
bug-reports: https://github.com/d3adb5/dotfiles/issues
author: d3adb5
maintainer: [email protected]
copyright: 2023 d3adb5
license: WTFPL
build-type: Simple

other-modules: Config.Bindings
, Config.Dimensions
, Config.HandleEventHook
, Config.Layouts
, Config.LogHook
, Config.ManageHook
, Config.StartupHook
, XMonad.Actions.DmenuWorkspaces
, XMonad.Actions.Hidden
, XMonad.Layout.Hidden
, XMonad.Layout.HiddenQueueLayout
, XMonad.Layout.VoidBorders
, XMonad.Util.CenterRationalRect
, XMonad.Util.DmenuPrompts
, XMonad.Util.Hidden
source-repository head
type: git
location: https://github.com/d3adb5/dotfiles

executable xmonad
main-is: xmonad.hs
other-modules:
Config.Bindings
Config.Dimensions
Config.HandleEventHook
Config.Layouts
Config.LogHook
Config.ManageHook
Config.StartupHook
XMonad.Actions.DmenuWorkspaces
XMonad.Actions.Hidden
XMonad.Actions.Pip
XMonad.Layout.BoringFloats
XMonad.Layout.Cards
XMonad.Layout.Hidden
XMonad.Layout.HiddenQueueLayout
XMonad.Layout.VoidBorders
XMonad.Util.CenterRationalRect
XMonad.Util.DmenuPrompts
XMonad.Util.Hidden
Paths_xmonad_d3adb5
autogen-modules:
Paths_xmonad_d3adb5
hs-source-dirs:
src
ghc-options: -Wall -Wcompat -Widentities -threaded -rtsopts -with-rtsopts=-N -O2 -j
build-depends:
base >=4.7 && <5
, containers ==0.6.*
, data-default ==0.7.*
, process ==1.*
, split ==0.2.*
, utility-ht ==0.0.*
, xmonad >=0.17
, xmonad-contrib >=0.17
default-language: Haskell2010
ghc-options: -Wall -threaded -j -O2

0 comments on commit 1002990

Please sign in to comment.