1800

· 👁 47 views

#remapped unused button on my laptop to #git #push, #i3 command:

bindsym XF86Launch1 exec --no-startup-id xdotool type "git push" && xdotool key Return

How get to know the button code: on #gentoo you need x11-misc/xdotool, run from root and press your any button. Here XF86Launch1 is the button name.