Compare commits
No commits in common. "651dfa31ccc715c9e1b0bb19417e54f3d975ee4b" and "9f260c9a73ad655567a276e4921fb2f443cd2321" have entirely different histories.
651dfa31cc
...
9f260c9a73
|
|
@ -1,11 +1,5 @@
|
||||||
--- a/config.def.h
|
--- a/config.def.h
|
||||||
+++ b/config.def.h
|
+++ b/config.def.h
|
||||||
@@ -28,4 +28,4 @@
|
|
||||||
static const float zoom_levels[] = {
|
|
||||||
12.5, 25.0, 50.0, 75.0,
|
|
||||||
- 100.0, 150.0, 200.0, 400.0, 800.0
|
|
||||||
+ 100.0, 150.0, 200.0, 300.0, 400.0, 600.0, 800.0
|
|
||||||
};
|
|
||||||
@@ -191,9 +191,9 @@
|
@@ -191,9 +191,9 @@
|
||||||
static const button_t buttons_img[] = {
|
static const button_t buttons_img[] = {
|
||||||
/* modifiers button function argument */
|
/* modifiers button function argument */
|
||||||
|
|
|
||||||
|
|
@ -1,29 +1,26 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
|
deps = {
|
||||||
|
bell = [pkgs.pipewire pkgs.libnotify];
|
||||||
|
nsxiv-rifle = [pkgs.nsxiv];
|
||||||
|
screenshot = [pkgs.maim pkgs.xclip];
|
||||||
|
};
|
||||||
ln = config.u.lib.ln "${config.u.confPath}/user/bin";
|
ln = config.u.lib.ln "${config.u.confPath}/user/bin";
|
||||||
in {
|
in {
|
||||||
u.bin = with pkgs;
|
|
||||||
{
|
|
||||||
edit = [];
|
|
||||||
sh-tmux = [tmux];
|
|
||||||
sm = [];
|
|
||||||
}
|
|
||||||
// lib.optionalAttrs config.u.has.graphical {
|
|
||||||
bell = [pipewire libnotify];
|
|
||||||
nsxiv-rifle = [nsxiv];
|
|
||||||
screenshot = [maim xclip];
|
|
||||||
};
|
|
||||||
home.file = builtins.listToAttrs (
|
home.file = builtins.listToAttrs (
|
||||||
map
|
map
|
||||||
(x: {
|
(x: {
|
||||||
name = ".local/bin/${x}";
|
name = ".local/bin/${x}";
|
||||||
value = {source = ln x;};
|
value = {source = ln x;};
|
||||||
})
|
})
|
||||||
(builtins.attrNames config.u.bin)
|
(
|
||||||
|
builtins.filter
|
||||||
|
(x: x != "default.nix")
|
||||||
|
(builtins.attrNames (builtins.readDir ./.))
|
||||||
|
)
|
||||||
);
|
);
|
||||||
home.packages = pkgs.lib.lists.flatten (builtins.attrValues config.u.bin);
|
home.packages = pkgs.lib.lists.flatten (builtins.attrValues deps);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -21,10 +21,6 @@
|
||||||
default = "";
|
default = "";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
bin = lib.mkOption {
|
|
||||||
type = lib.types.attrsOf (lib.types.listOf lib.types.package);
|
|
||||||
description = "scripts to put in .local/bin and their dependencies";
|
|
||||||
};
|
|
||||||
bookmarks = lib.mkOption {
|
bookmarks = lib.mkOption {
|
||||||
type = lib.types.listOf (lib.types.submodule {
|
type = lib.types.listOf (lib.types.submodule {
|
||||||
options = {
|
options = {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue