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