forked from foxora/nix
init
This commit is contained in:
commit
850d3c539b
66 changed files with 6115 additions and 0 deletions
43
homes/modules/wm/hyprland/hypr/keybinds/virtual.conf
Normal file
43
homes/modules/wm/hyprland/hypr/keybinds/virtual.conf
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
# a submap for emulating keys/buttons/functions on the keyboard or mouse
|
||||
|
||||
bind = $mod+shift+alt, a, submap, virtual
|
||||
submap = virtual
|
||||
|
||||
# exit submap
|
||||
bind = , escape, submap, reset
|
||||
|
||||
# emulates mouse buttons
|
||||
bind = , z, exec, wlrctl pointer click left
|
||||
bind = , x, exec, wlrctl pointer click right
|
||||
bind = , s, exec, wlrctl pointer click middle
|
||||
bind = , i, exec, wlrctl pointer click forward
|
||||
bind = , o, exec, wlrctl pointer click back
|
||||
|
||||
# emulates the arrow keys using hjkl
|
||||
#binde = , h, exec, wtype -k Left
|
||||
#binde = , j, exec, wtype -k Down
|
||||
#binde = , k, exec, wtype -k Up
|
||||
#binde = , l, exec, wtype -k Right
|
||||
|
||||
# moves the mouse pointer
|
||||
binde = , h, exec, wlrctl pointer move -30 0
|
||||
binde = , j, exec, wlrctl pointer move 0 30
|
||||
binde = , k, exec, wlrctl pointer move 0 -30
|
||||
binde = , l, exec, wlrctl pointer move 30 0
|
||||
|
||||
# moves the mouse pointer in little steps
|
||||
binde = alt, h, exec, wlrctl pointer move -15 0
|
||||
binde = alt, j, exec, wlrctl pointer move 0 15
|
||||
binde = alt, k, exec, wlrctl pointer move 0 -15
|
||||
binde = alt, l, exec, wlrctl pointer move 15 0
|
||||
|
||||
# emulates scrolling with mouse
|
||||
binde = , e, exec, wlrctl pointer scroll 0 -15 # scroll up
|
||||
binde = , y, exec, wlrctl pointer scroll 0 15 # scroll down
|
||||
binde = alt, e, exec, wlrctl pointer scroll -15 0 # scroll left
|
||||
binde = alt, y, exec, wlrctl pointer scroll 0 15 # scroll right
|
||||
|
||||
# catches all other keys and keeps us in the submap
|
||||
bind = , catchall, submap, virtual
|
||||
|
||||
submap = reset
|
||||
Loading…
Add table
Add a link
Reference in a new issue