devos/profiles/graphical/xmonad/xmonad.hs.nix

20 lines
450 B
Nix
Raw Normal View History

2020-06-09 18:36:38 +02:00
{ pkgs, ... }:
let
inherit (builtins) readFile;
inherit (pkgs) writeScript;
2020-06-09 18:36:38 +02: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 06:17:28 +02:00
in
''
2020-06-09 18:36:38 +02:00
${readFile ./_xmonad.hs}
${import ./_xmonad.nix {
2020-07-31 06:49:26 +02:00
inherit screenshots autostart stoggle pkgs volnoti;
2020-07-31 06:17:28 +02:00
}}
2020-06-09 18:36:38 +02:00
''