flake.lock

{ "nodes": { "flake-utils": { "locked": { "lastModified": 1631561581, "narHash": "sha256-3VQMV5zvxaVLvqqUrNz3iJelLw30mIVSfZmAaauM3dA=", "owner": "numtide", "repo": "flake-utils", "rev": "7e5bf3925f6fbdfaf50a2a7ca0be2879c4261d19", "type": "github" }, "original": { "owner": "numtide", "repo": "flake-utils", "type": "github" } }, "flake-utils_2": { "locked": { "lastModified": 1631561581, "narHash": "sha256-3VQMV5zvxaVLvqqUrNz3iJelLw30mIVSfZmAaauM3dA=", "owner": "numtide", "repo": "flake-utils", "rev": "7e5bf3925f6fbdfaf50a2a7ca0be2879c4261d19", "type": "github" }, "original": { "owner": "numtide", "repo": "flake-utils", "type": "github" } }, "flake-utils_3": { "locked": { "lastModified": 1631561581, "narHash": "sha256-3VQMV5zvxaVLvqqUrNz3iJelLw30mIVSfZmAaauM3dA=", "owner": "numtide", "repo": "flake-utils", "rev": "7e5bf3925f6fbdfaf50a2a7ca0be2879c4261d19", "type": "github" }, "original": { "owner": "numtide", "repo": "flake-utils", "type": "github" } }, "flake-utils_4": { "locked": { "lastModified": 1631561581, "narHash": "sha256-3VQMV5zvxaVLvqqUrNz3iJelLw30mIVSfZmAaauM3dA=", "owner": "numtide", "repo": "flake-utils", "rev": "7e5bf3925f6fbdfaf50a2a7ca0be2879c4261d19", "type": "github" }, "original": { "owner": "numtide", "repo": "flake-utils", "type": "github" } }, "git-ignore-nix": { "inputs": { "nixpkgs": "nixpkgs_2" }, "locked": { "lastModified": 1626413882, "narHash": "sha256-ZHw1YVsrs7rG9jPEH0ZabbbCTdnVr48FAwK6GCQPSF4=", "owner": "IvanMalison", "repo": "gitignore....

3 min · Wyatt Osterling

flake.nix

{ inputs = { flake-utils.url = "github:numtide/flake-utils"; xmonad = { url = "github:xmonad/xmonad"; inputs.nixpkgs.follows = "nixpkgs"; }; xmonad-contrib = { url = "github:xmonad/xmonad-contrib"; inputs.nixpkgs.follows = "nixpkgs"; }; }; outputs = { self, flake-utils, nixpkgs, xmonad, xmonad-contrib }: let overlays = [ xmonad.overlay xmonad-contrib.overlay ]; in flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system overlays; config.allowBroken = true; }; in rec { devShell = pkgs.haskellPackages.shellFor { packages = p: [ p....

1 min · Wyatt Osterling

main.nix

{config, pkgs, inputs, ...}:{ xsession.windowManager.xmonad = { enable = true; #enableContribAndExtras = true; extraPackages = haskellPackages: [haskellPackages.xmonad-contrib]; config = ./xmonad.hs; package = pkgs.haskellPackages.wizardwatch-xmonad.defaultPackage.x86_64-linux; }; }

1 min · Wyatt Osterling

wizardwatch-xmonad.cabal

cabal-version: 2.4 name: wizardwatch-xmonad version: 0.1.0.0 common common default-language: Haskell2010 default-extensions: LambdaCase ghc-options: -Wall executable wizardwatch-xmonad import: common main-is: xmonad.hs build-depends: base, xmonad, xmonad-contrib, X11, containers, utf8-string,

1 min · Wyatt Osterling

xmonad.hs

import XMonad import XMonad.Util.EZConfig import XMonad.Util.Ungrab import XMonad.Hooks.ManageDocks import XMonad.Layout.ThreeColumns import XMonad.Layout.Tabbed as Tabbed import XMonad.Layout.Master as Master import XMonad.Layout.Spacing (Border (Border), Spacing, spacingRaw) import XMonad.Layout.LayoutModifier (ModifiedLayout) backgroundColor = "#282a36" currentLineColor = "#44475a" selectionColor = "#44475a" foregroundColor = "#f8f8f2" commentColor = "#6272a4" cyanColor = "#8be9fd" greenColor = "#50fa7b" orangeColor = "#ffb86c" pinkColor = "#ff79c6" purpleColor = "#bd93f9" redColor = "#ff5555" yellowColor = "#f1fa8c" myNormalBorderColor = backgroundColor myFocusedBorderColor = currentLineColor mySpacing :: Integer -> l a -> XMonad....

1 min · Wyatt Osterling