Peter's XMonad configuration files
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
Peter J. Jones 7badb39756
Change border to 2px, fix layout names, add spacing key bindings
3 недель назад
doc Some final touches before I leave this config alone for a bit 2 лет назад
nix Rework build system, layout improvements 2 месяцев назад
scripts Switching from BSPWM to XMonad, needed to make some adjustments 3 месяцев назад
src/XMonad/Local Change border to 2px, fix layout names, add spacing key bindings 3 недель назад
.envrc Add more layouts, make some keybindings easier to use 2 месяцев назад
.gitignore Fix transparency for unfocused screens and konsole 1 месяц назад
LICENSE Some final touches before I leave this config alone for a bit 2 лет назад
README.md Update README, add screenshots 3 месяцев назад
checkrc.hs Update to xmonad/master, output more debugging info in checkrc 2 лет назад
default.nix Rework build system, layout improvements 2 месяцев назад
overrides.nix Rework build system, layout improvements 2 месяцев назад
shell.nix Rework build system, layout improvements 2 месяцев назад
xmonadrc.cabal Rewire dependencies so they see one another 3 месяцев назад
xmonadrc.hs Fix terminal and add monitoring workspace 1 месяц назад
xmonadrc.nix Get everything building again after 2 years of neglect 3 месяцев назад

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.