Peter's XMonad configuration files
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Peter J. Jones 3d43c92a06
Add more layouts, make some keybindings easier to use
il y a 3 jours
doc Some final touches before I leave this config alone for a bit il y a 2 ans
nix Rewire dependencies so they see one another il y a 1 mois
scripts Switching from BSPWM to XMonad, needed to make some adjustments il y a 1 mois
src/XMonad/Local Add more layouts, make some keybindings easier to use il y a 3 jours
.envrc Add more layouts, make some keybindings easier to use il y a 3 jours
.gitignore Get everything building again after 2 years of neglect il y a 1 mois
LICENSE Some final touches before I leave this config alone for a bit il y a 2 ans
README.md Update README, add screenshots il y a 1 mois
checkrc.hs Update to xmonad/master, output more debugging info in checkrc il y a 2 ans
default.nix Rewire dependencies so they see one another il y a 1 mois
shell.nix Add more layouts, make some keybindings easier to use il y a 3 jours
xmonadrc.cabal Rewire dependencies so they see one another il y a 1 mois
xmonadrc.hs Window transparency, new promote history, cycle history il y a 1 mois
xmonadrc.nix Get everything building again after 2 years of neglect il y a 1 mois

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.