Peter's XMonad configuration files
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Peter J. Jones 360d2f7705
Some workspace updates
pirms 3 dienas
doc Some final touches before I leave this config alone for a bit pirms 2 gadiem
nix Rework build system, layout improvements pirms 4 mēnešiem
scripts Switching from BSPWM to XMonad, needed to make some adjustments pirms 6 mēnešiem
src/XMonad/Local Some workspace updates pirms 3 dienas
.envrc Add more layouts, make some keybindings easier to use pirms 5 mēnešiem
.gitignore Fix transparency for unfocused screens and konsole pirms 4 mēnešiem
LICENSE Some final touches before I leave this config alone for a bit pirms 2 gadiem
README.md Update README, add screenshots pirms 6 mēnešiem
checkrc.hs Update to xmonad/master, output more debugging info in checkrc pirms 2 gadiem
default.nix Rework build system, layout improvements pirms 4 mēnešiem
overrides.nix Rework build system, layout improvements pirms 4 mēnešiem
shell.nix Rework build system, layout improvements pirms 4 mēnešiem
xmonadrc.cabal Rewire dependencies so they see one another pirms 6 mēnešiem
xmonadrc.hs Fix terminal and add monitoring workspace pirms 4 mēnešiem
xmonadrc.nix Get everything building again after 2 years of neglect pirms 6 mēnešiem

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.