On 30-07-2016 11:40, Quentin Rameau wrote:
Hi All.
Hi,
Could you please help with this:
I want to use DVP and DWM together,
but I do not understand how to change
the shortcuts in config.h?
Example:
TAGKEYS( XK_2 {,2)
^^ ^
You can find the X11 keysyms definitions (which DWM uses) in
$X11INC/keysyms.h, which are usually in the form "XK_character".
In DVP '2' changed on '{'
So 2 is XK_2, { would be XK_braceleft.
There's also a keycode patch on the wiki which can help for non-us
keyboard layouts, which parses keycodes instead of keysyms on
keyboard events.
Ty.
If need somebody for "Dvorak programmers":
in file config.h change TAGKEYS
TAGKEYS( XK_ampersand, 0)
TAGKEYS( XK_bracketleft, 1)
TAGKEYS( XK_braceleft, 2)
TAGKEYS( XK_braceright, 3)
TAGKEYS( XK_parenleft, 4)
TAGKEYS( XK_equal, 5)
TAGKEYS( XK_asterisk, 6)
TAGKEYS( XK_parenright, 7)
TAGKEYS( XK_plus, 8)