2024-12-15 00:29:51 +01:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}:
|
2024-01-15 19:26:44 +01:00
|
|
|
let
|
|
|
|
# UPST
|
2024-12-15 00:29:51 +01:00
|
|
|
sct = pkgs.sct.overrideAttrs (old: {
|
|
|
|
patches = (old.patches or [ ]) ++ [
|
|
|
|
./sct_aarch64.patch
|
|
|
|
];
|
|
|
|
});
|
2024-01-15 19:26:44 +01:00
|
|
|
in
|
|
|
|
{
|
|
|
|
config = lib.mkIf config.frogeye.desktop.xorg {
|
|
|
|
frogeye.desktop.i3.bindmodes = {
|
|
|
|
"Temperature [R] Red [D] Dust storm [C] Campfire [O] Normal [A] All nighter [B] Blue" = {
|
|
|
|
bindings = {
|
|
|
|
"r" = "exec ${sct}/bin/sct 1000";
|
|
|
|
"d" = "exec ${sct}/bin/sct 2000";
|
|
|
|
"c" = "exec ${sct}/bin/sct 4500";
|
|
|
|
"o" = "exec ${sct}/bin/sct";
|
|
|
|
"a" = "exec ${sct}/bin/sct 8000";
|
|
|
|
"b" = "exec ${sct}/bin/sct 10000";
|
|
|
|
};
|
|
|
|
mod_enter = "y";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
home.packages = [ sct ];
|
|
|
|
};
|
|
|
|
}
|