Use xeniagda/tiny-dfr, configure button style
This commit is contained in:
parent
89031aa0af
commit
e0edef2e30
|
@ -1,7 +1,15 @@
|
||||||
{
|
{
|
||||||
pkgs,
|
pkgs,
|
||||||
tiny-dfr ? pkgs.tiny-dfr
|
|
||||||
}:
|
}:
|
||||||
|
let tiny-dfr = pkgs.tiny-dfr.overrideAttrs (old: {
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
|
owner = "xeniagda";
|
||||||
|
repo = "tiny-dfr";
|
||||||
|
rev = "master";
|
||||||
|
hash = "sha256-I2R28wQz4Vd8VonbDcM6TZOn5lnWSXqwX4w/sieaQL8=";
|
||||||
|
};
|
||||||
|
});
|
||||||
|
in
|
||||||
assert tiny-dfr.version == "0.3.1";
|
assert tiny-dfr.version == "0.3.1";
|
||||||
{
|
{
|
||||||
services.udev.packages = [ tiny-dfr ];
|
services.udev.packages = [ tiny-dfr ];
|
||||||
|
@ -64,5 +72,12 @@
|
||||||
{ Text = "F11"; Action = "F11"; }
|
{ Text = "F11"; Action = "F11"; }
|
||||||
{ Text = "F12"; Action = "F12"; }
|
{ Text = "F12"; Action = "F12"; }
|
||||||
];
|
];
|
||||||
|
ButtonStyle = {
|
||||||
|
InactiveColor = [0.05 0.0 0.1];
|
||||||
|
ActiveColor = [0.3 0.2 0.7];
|
||||||
|
OnTime = 0.05;
|
||||||
|
OffTime = 0.1;
|
||||||
|
Bounce = 5;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user