Peter's XMonad configuration files
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Peter J. Jones 9aa2632226
Upgrade xmonad-contrib, new layout, new bindings
пре 1 месец
doc Some final touches before I leave this config alone for a bit пре 2 година
nix Upgrade xmonad-contrib, new layout, new bindings пре 1 месец
scripts Switching from BSPWM to XMonad, needed to make some adjustments пре 8 месеци
src/XMonad/Local Upgrade xmonad-contrib, new layout, new bindings пре 1 месец
.envrc Add more layouts, make some keybindings easier to use пре 7 месеци
.gitignore Fix transparency for unfocused screens and konsole пре 6 месеци
LICENSE Some final touches before I leave this config alone for a bit пре 2 година
README.md Update README, add screenshots пре 8 месеци
checkrc.hs Update to xmonad/master, output more debugging info in checkrc пре 2 година
default.nix Rework build system, layout improvements пре 6 месеци
overrides.nix Rework build system, layout improvements пре 6 месеци
shell.nix Rework build system, layout improvements пре 6 месеци
xmonadrc.cabal Upgrade xmonad-contrib, new layout, new bindings пре 1 месец
xmonadrc.hs Fix terminal and add monitoring workspace пре 6 месеци
xmonadrc.nix Get everything building again after 2 years of neglect пре 8 месеци

README.md

xmonad Configuration

This repository contains my xmonad configuration.

Source Code Organization

  • xmonadrc.hs: This is where the main function lives.

  • src/XMonad/Local/Action.hs: Event handling. I have an interesting function in there called focusFollowsTiledOnly that enables focus-follows-mouse in the tiled layer but not in the floating layer. I found that:

    focus-follows-mouse + update-pointer + floating-windows = weird-stuff
    
  • src/XMonad/Local/Keys.hs: All of my key bindings, grouped by functionality.

  • src/XMonad/Local/Layout.hs: Layout rules.

  • src/XMonad/Local/Log.hs: Log hook,

  • src/XMonad/Local/Music.hs: Functions to switch radio stations and select albums to play in MPD.

  • src/XMonad/Local/Prompt.hs: XPrompt configuration.

  • src/XMonad/Local/Workspaces.hs: The names of my workspaces plus project configuration for XMonad.Actions.DynamicProjects.

Screenshots

Tree Column Layout (My Primary Layout)

Master window is in the center. All other windows automatically balance between the two side columns.

Grid Layout (For Chat Windows)

A 3x2 grid.

Focus Layout

Focuses in on windows tagged “focus”. Other windows are moved up into a top bar.