blob: e856c2b38213c94df4ad3795df22bbcaa9c9dbd0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
{
config,
lib,
pkgs,
...
}:
let
inherit ((import ../lib.nix { inherit lib pkgs; })) mkScriptModule;
base = mkScriptModule {
name = "eww-workspaces";
path = ./script.sh;
description = "Outputs JSON array of workspaces for eww bar\nUsed by eww to display workspace indicators in the sidebar";
deps = [
pkgs.bash
pkgs.jq
];
inherit config;
};
in
{
options = base.options;
config = base.moduleConfig;
}
|