pub-solar-os/profiles/graphical/xmonad/xmonad.hs.nix

20 lines
450 B
Nix
Raw Normal View History

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