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

22 lines
548 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);
touchtoggle =
writeScript "xmonad-touchtoggle" (readFile ./scripts/touchtoggle);
volnoti = import ../misc/volnoti.nix { inherit pkgs; };
2020-06-09 18:36:38 +02:00
in ''
${readFile ./_xmonad.hs}
${import ./_xmonad.nix {
inherit screenshots touchtoggle autostart stoggle pkgs volnoti;
2020-06-09 18:36:38 +02:00
}}
''