|
18 | 18 |
|
19 | 19 | home.packages = [eww.packages.${pkgs.system}.eww];
|
20 | 20 | xdg.configFile = let
|
21 |
| - colorScheme = config.colors.colorScheme.colors; |
| 21 | + # colorScheme = config.colors.colorScheme.colors; |
22 | 22 | files = builtins.readDir ./config;
|
23 | 23 | splitList = let
|
24 | 24 | splitList = n: list:
|
|
36 | 36 | "eww/${name}" = {
|
37 | 37 | source = pkgs.substituteAll ({
|
38 | 38 | src = ./config/${name};
|
39 |
| - inherit (config.colors) backgroundAlpha; |
| 39 | + # inherit (config.colors) backgroundAlpha; |
40 | 40 | pamixer = lib.getExe pkgs.pamixer;
|
41 | 41 | pactl = "${pkgs.pulseaudio}/bin/pactl";
|
42 | 42 | jaq = lib.getExe pkgs.jaq;
|
|
49 | 49 | xargs = "${pkgs.findutils}/bin/xargs";
|
50 | 50 | idleInhibit = "${pkgs.wlroots.examples}/bin/wlroots-idle-inhibit";
|
51 | 51 | # done twice so that it's a string
|
52 |
| - hyprbinds = builtins.toJSON (builtins.toJSON (splitList 5 (builtins.map (b: { |
53 |
| - bind = |
54 |
| - if (lib.hasPrefix ", " b.bind) |
55 |
| - then (builtins.substring 2 ((builtins.stringLength b.bind) - 2) b.bind) |
56 |
| - else b.bind; |
57 |
| - keybind = builtins.replaceStrings [", "] [" + "] b.bind; |
58 |
| - label = b.comment; |
59 |
| - }) (builtins.filter (b: b.comment != null) config.display.binds)))); |
60 |
| - } |
61 |
| - // colorScheme); |
| 52 | + # hyprbinds = builtins.toJSON (builtins.toJSON (splitList 5 (builtins.map (b: { |
| 53 | + # bind = |
| 54 | + # if (lib.hasPrefix ", " b.bind) |
| 55 | + # then (builtins.substring 2 ((builtins.stringLength b.bind) - 2) b.bind) |
| 56 | + # else b.bind; |
| 57 | + # keybind = builtins.replaceStrings [", "] [" + "] b.bind; |
| 58 | + # label = b.comment; |
| 59 | + # }) (builtins.filter (b: b.comment != null) config.display.binds)))); |
| 60 | + }); |
| 61 | + # // colorScheme); |
62 | 62 | executable = true;
|
63 | 63 | };
|
64 | 64 | })
|
|
0 commit comments