2020-06-09 19:36:38 +03:00
|
|
|
{ pkgs, ... }:
|
|
|
|
let
|
|
|
|
inherit (builtins) readFile;
|
|
|
|
inherit (pkgs) writeScript dzvol;
|
|
|
|
|
|
|
|
screenshots = "Pictures/shots";
|
|
|
|
|
|
|
|
autostart = writeScript "xmonad-autostart" (readFile ./scripts/autostart);
|
|
|
|
|
|
|
|
stoggle = writeScript "xmonad-stoggle" (readFile ./scripts/stoggle);
|
|
|
|
|
|
|
|
touchtoggle =
|
|
|
|
writeScript "xmonad-touchtoggle" (readFile ./scripts/touchtoggle);
|
|
|
|
in ''
|
|
|
|
${readFile ./_xmonad.hs}
|
|
|
|
${import ./_xmonad.nix {
|
2020-06-13 03:48:36 +03:00
|
|
|
inherit screenshots touchtoggle autostart dzvol stoggle pkgs;
|
2020-06-09 19:36:38 +03:00
|
|
|
}}
|
|
|
|
''
|