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 c6734bdd23
Make room for a bigger agenda buffer
pirms 6 dienas
doc Some final touches before I leave this config alone for a bit pirms 3 gadiem
nix Use Niv to help manage external dependencies pirms 1 mēnesi
scripts New layout `Columns' and supporting types & functions pirms 2 mēnešiem
src/XMonad/Local Make room for a bigger agenda buffer pirms 6 dienas
.envrc Use Niv to help manage external dependencies pirms 1 mēnesi
.gitignore Fix transparency for unfocused screens and konsole pirms 11 mēnešiem
LICENSE Update build system to use nix-hs pirms 2 mēnešiem
README.md Update README, add screenshots pirms 1 gada
checkrc.hs Update to xmonad/master, output more debugging info in checkrc pirms 3 gadiem
default.nix Use Niv to help manage external dependencies pirms 1 mēnesi
hie.yaml Use Niv to help manage external dependencies pirms 1 mēnesi
shell.nix Use Niv to help manage external dependencies pirms 1 mēnesi
xmonadrc.cabal Add a binding to push KDE desktop windows downwards pirms 2 nedēļām
xmonadrc.hs Fix terminal and add monitoring workspace pirms 10 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.