2020-06-09 16:36:38 +00:00
|
|
|
{ pkgs, ... }:
|
|
|
|
let
|
|
|
|
inherit (builtins) readFile;
|
2020-06-17 20:23:37 +00:00
|
|
|
inherit (pkgs) writeScript;
|
2020-06-09 16:36:38 +00:00
|
|
|
|
|
|
|
screenshots = "Pictures/shots";
|
|
|
|
|
|
|
|
autostart = writeScript "xmonad-autostart" (readFile ./scripts/autostart);
|
|
|
|
|
|
|
|
stoggle = writeScript "xmonad-stoggle" (readFile ./scripts/stoggle);
|
|
|
|
|
2020-06-17 20:23:37 +00:00
|
|
|
volnoti = import ../misc/volnoti.nix { inherit pkgs; };
|
2020-07-31 04:17:28 +00:00
|
|
|
in
|
|
|
|
''
|
2020-06-09 16:36:38 +00:00
|
|
|
${readFile ./_xmonad.hs}
|
|
|
|
${import ./_xmonad.nix {
|
2020-07-31 04:49:26 +00:00
|
|
|
inherit screenshots autostart stoggle pkgs volnoti;
|
2020-07-31 04:17:28 +00:00
|
|
|
}}
|
2020-06-09 16:36:38 +00:00
|
|
|
''
|