From 099ed1ef52a021c43feaf69d5d9c946409b947fd Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Thu, 22 Jul 2021 19:38:26 +0200 Subject: Added keynav to move the cursor without a mouse --- config/keynav/keynavrc | 45 +++++++++++++++++++++++++++++++++++++++++++++ config/x11/xinitrc | 1 + 2 files changed, 46 insertions(+) create mode 100644 config/keynav/keynavrc diff --git a/config/keynav/keynavrc b/config/keynav/keynavrc new file mode 100644 index 0000000..d612648 --- /dev/null +++ b/config/keynav/keynavrc @@ -0,0 +1,45 @@ +# default configuration from `man keynav` +clear +# ctrl+semicolon start +Escape end +ctrl+bracketleft end +# q record ~/.keynav_macros +shift+at playback +a history-back +h cut-left +j cut-down +k cut-up +l cut-right +shift+h move-left +shift+j move-down +shift+k move-up +shift+l move-right +space warp,click 1,end +Return warp,click 1,end +semicolon warp,end +w warp +t windowzoom +c cursorzoom 300 300 +e end +1 click 1 +2 click 2 +3 click 3 +ctrl+h cut-left +ctrl+j cut-down +ctrl+k cut-up +ctrl+l cut-right +y cut-left,cut-up +u cut-right,cut-up +b cut-left,cut-down +n cut-right,cut-down +shift+y move-left,move-up +shift+u move-right,move-up +shift+b move-left,move-down +shift+n move-right,move-down +ctrl+y cut-left,cut-up +ctrl+u cut-right,cut-up +ctrl+b cut-left,cut-down +ctrl+n cut-right,cut-down + +# More consistent, ctrl for application, super for display +Super_L+semicolon start diff --git a/config/x11/xinitrc b/config/x11/xinitrc index 5eae132..4e7353e 100755 --- a/config/x11/xinitrc +++ b/config/x11/xinitrc @@ -1,5 +1,6 @@ #!/bin/sh +keynav demonize # moving the cursor around without the mouse redshift & # filter blue light dunst & # notification daemon # certain event cause rate to reset (https://wiki.archlinux.org/title/Xorg/Keyboard_configuration) -- cgit