forked from pub-solar/os
20 lines
488 B
Nix
20 lines
488 B
Nix
{ 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;
|
|
}}
|
|
''
|