1
1
mirror of https://github.com/divnix/digga.git synced 2024-12-18 13:41:33 +03:00
digga/profiles/graphical/xmonad/xmonad.hs.nix

20 lines
493 B
Nix
Raw Normal View History

2020-06-09 19:36:38 +03:00
{ pkgs, ... }:
let
inherit (builtins) readFile;
inherit (pkgs) writeScript dzvol;
screenshots = "Pictures/shots";
autostart = writeScript "xmonad-autostart" (readFile ./scripts/autostart);
stoggle = writeScript "xmonad-stoggle" (readFile ./scripts/stoggle);
touchtoggle =
writeScript "xmonad-touchtoggle" (readFile ./scripts/touchtoggle);
in ''
${readFile ./_xmonad.hs}
${import ./_xmonad.nix {
inherit screenshots touchtoggle autostart dzvol stoggle pkgs;
2020-06-09 19:36:38 +03:00
}}
''