mirror of
https://github.com/divnix/digga.git
synced 2024-12-18 21:51:38 +03:00
22 lines
548 B
Nix
22 lines
548 B
Nix
{ pkgs, ... }:
|
|
let
|
|
inherit (builtins) readFile;
|
|
inherit (pkgs) writeScript;
|
|
|
|
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; };
|
|
in ''
|
|
${readFile ./_xmonad.hs}
|
|
${import ./_xmonad.nix {
|
|
inherit screenshots touchtoggle autostart stoggle pkgs volnoti;
|
|
}}
|
|
''
|