Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexpeits/xmonad-config
XMonad config
https://github.com/alexpeits/xmonad-config
Last synced: about 2 months ago
JSON representation
XMonad config
- Host: GitHub
- URL: https://github.com/alexpeits/xmonad-config
- Owner: alexpeits
- Created: 2019-10-01T08:30:45.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-08-06T10:21:36.000Z (over 2 years ago)
- Last Synced: 2024-10-15T19:13:44.404Z (3 months ago)
- Language: Haskell
- Size: 97.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# xmonad-config
## Requirements
- the `xmonad` executable in `$PATH`
- the `xmonad-build` script## Installation
1. Install the `xmonad` executable
```
$ nix-env -i -f default.nix -A xmonad
```2. Install the `xmonad-build` script
```
$ nix-env -i -f default.nix -A script
```## Usage
XMonad will automatically use the `build` script located
in `~/.xmonad` to build itself. To test if everything
works:```
$ xmonad --recompile
```This should exit successfully
## Development
A nix-shell environment with everything useful is provided:
```
$ nix-shell -A shell
```Thanks to the `.ghci` file and the `ghcid` alias provided in
nix-shell, just running `ghcid` should load `xmonad.hs` and
every module under `lib/` (that's specified in `.ghcid`).To customize the `ghcid` command, the original `ghcid` executable
is aliased to `ghcid-orig`.To test recompilation, `entr` is also provided:
```
$ find ~/.xmonad/ -name "*.hs" | entr -c -d xmonad --recompile
```