Peter's XMonad configuration files
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
Peter J. Jones 160c54fae9
Rework build system, layout improvements
2 dias atrás
doc Some final touches before I leave this config alone for a bit 2 anos atrás
nix Rework build system, layout improvements 2 dias atrás
scripts Switching from BSPWM to XMonad, needed to make some adjustments 1 mês atrás
src/XMonad/Local Rework build system, layout improvements 2 dias atrás
.envrc Add more layouts, make some keybindings easier to use 1 semana atrás
.gitignore Rework build system, layout improvements 2 dias atrás
LICENSE Some final touches before I leave this config alone for a bit 2 anos atrás
README.md Update README, add screenshots 1 mês atrás
checkrc.hs Update to xmonad/master, output more debugging info in checkrc 2 anos atrás
default.nix Rework build system, layout improvements 2 dias atrás
overrides.nix Rework build system, layout improvements 2 dias atrás
shell.nix Rework build system, layout improvements 2 dias atrás
xmonadrc.cabal Rewire dependencies so they see one another 1 mês atrás
xmonadrc.hs Window transparency, new promote history, cycle history 1 mês atrás
xmonadrc.nix Get everything building again after 2 years of neglect 1 mês atrás

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.