diff options
author | Andrew Cady <d@jerkface.net> | 2017-01-20 01:33:28 -0500 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2017-01-20 01:35:50 -0500 |
commit | f4e38f8e9b4b75cf6e7575268b21d8c8c17431dc (patch) | |
tree | 4ba6624ce4021fd71dfdf6ef6ac97ca8e5d85a4a |
initial commit
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | note.url | 1 | ||||
-rw-r--r-- | stack.yaml | 7 | ||||
-rw-r--r-- | xmonad-config.cabal | 11 | ||||
-rw-r--r-- | xmonad.hs | 10 |
5 files changed, 34 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..48c309e --- /dev/null +++ b/.gitignore | |||
@@ -0,0 +1,5 @@ | |||
1 | .stack-work/ | ||
2 | xmonad-x86_64-linux | ||
3 | xmonad.errors | ||
4 | xmonad.hi | ||
5 | xmonad.o | ||
diff --git a/note.url b/note.url new file mode 100644 index 0000000..866bc46 --- /dev/null +++ b/note.url | |||
@@ -0,0 +1 @@ | |||
https://github.com/xmonad/xmonad/pull/50 | |||
diff --git a/stack.yaml b/stack.yaml new file mode 100644 index 0000000..db602ae --- /dev/null +++ b/stack.yaml | |||
@@ -0,0 +1,7 @@ | |||
1 | packages: | ||
2 | - '.' | ||
3 | extra-deps: | ||
4 | - X11-xft-0.3.1 | ||
5 | - xmonad-contrib-0.12 | ||
6 | |||
7 | resolver: lts-7.16 | ||
diff --git a/xmonad-config.cabal b/xmonad-config.cabal new file mode 100644 index 0000000..7d2a5c0 --- /dev/null +++ b/xmonad-config.cabal | |||
@@ -0,0 +1,11 @@ | |||
1 | name: xmonad-config | ||
2 | version: 0.1.0.0 | ||
3 | license: BSD3 | ||
4 | build-type: Simple | ||
5 | cabal-version: >=1.10 | ||
6 | |||
7 | executable xmonad-config-exe | ||
8 | main-is: xmonad.hs | ||
9 | ghc-options: -threaded -rtsopts -with-rtsopts=-N | ||
10 | build-depends: base, xmonad, xmonad-contrib | ||
11 | default-language: Haskell2010 | ||
diff --git a/xmonad.hs b/xmonad.hs new file mode 100644 index 0000000..19089f0 --- /dev/null +++ b/xmonad.hs | |||
@@ -0,0 +1,10 @@ | |||
1 | import XMonad | ||
2 | import XMonad.Config.Gnome | ||
3 | import XMonad.Layout.NoBorders | ||
4 | main = xmonad | ||
5 | gnomeConfig { | ||
6 | terminal = "xterm" | ||
7 | , layoutHook = smartBorders (layoutHook gnomeConfig) | ||
8 | , modMask = mod4Mask | ||
9 | } | ||
10 | |||