diff options
author | lassulus <lass@blue.r> | 2018-07-28 19:08:26 +0200 |
---|---|---|
committer | lassulus <lass@blue.r> | 2018-07-28 19:08:26 +0200 |
commit | 930daa1aefb57012177d0a9b8375d9dc46666315 (patch) | |
tree | ac891b7fa3bf81d30f450292d224d83fee01589a /lass | |
parent | f23679254c9cebdae8cbd6fb54a9cb2dcf3f63ed (diff) |
l: add knav
Diffstat (limited to 'lass')
-rw-r--r-- | lass/5pkgs/knav/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/lass/5pkgs/knav/default.nix b/lass/5pkgs/knav/default.nix new file mode 100644 index 000000000..30d49a1b3 --- /dev/null +++ b/lass/5pkgs/knav/default.nix @@ -0,0 +1,26 @@ +{ pkgs, ... }: let + + keynavrc = pkgs.writeText "keynavrc" '' + clear + Escape quit + q record ~/.keynav_macros + shift+at playback + u history-back + a cut-left + s cut-down + w cut-up + d cut-right + shift+a move-left + shift+s move-down + shift+w move-up + shift+d move-right + t windowzoom + c cursorzoom 300 300 + e warp + 1 click 1 + 2 click 2 + 3 click 3 + ''; +in pkgs.writeScriptBin "knav" '' + ${pkgs.keynav}/bin/keynav "loadconfig ${keynavrc}, start" +'' |