ark/profiles/graphical/xmonad/xmonad.hs.nix

20 lines
450 B
Nix
Raw Normal View History

2020-06-09 19:36:38 +03:00
{ pkgs, ... }:
let
inherit (builtins) readFile;
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);
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
''