devos/profiles/graphical/xmonad/xmonad.hs.nix
2020-07-30 22:49:26 -06:00

19 lines
450 B
Nix

{ pkgs, ... }:
let
inherit (builtins) readFile;
inherit (pkgs) writeScript;
screenshots = "Pictures/shots";
autostart = writeScript "xmonad-autostart" (readFile ./scripts/autostart);
stoggle = writeScript "xmonad-stoggle" (readFile ./scripts/stoggle);
volnoti = import ../misc/volnoti.nix { inherit pkgs; };
in
''
${readFile ./_xmonad.hs}
${import ./_xmonad.nix {
inherit screenshots autostart stoggle pkgs volnoti;
}}
''