From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 27 Jul 2015 06:56:08 -0700 (PDT) From: Userx Xbw To: voidlinux Message-Id: <4c1df5bf-d772-406a-8e06-10658a0244ce@googlegroups.com> Subject: dwm using just the F keys for keyboard shortcuts MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1382_625954966.1438005368608" ------=_Part_1382_625954966.1438005368608 Content-Type: multipart/alternative; boundary="----=_Part_1383_55329917.1438005368608" ------=_Part_1383_55329917.1438005368608 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit in i3 I can use just an F Key (ie f2) and asign it to a shotcut to start an application -- when using the same metholid in dwm it's not working, I have yet to find any documentaion on this. what syntex to use for F keys this is what i am doing in i3 config it's as easy as this bindsym F2 exec --no-startup-id terminology in DWM wm this is what I used, but it is not accepting the syntex a simple F2 static const Rule rules[] = { /* class instance title tags mask isfloating monitor */ { "terminology", NULL, 0, True, -1 }, }; ... static const char *terminologycmd[] = {"terminology", NULL}; ....... { SUPKEY, F2, spawn, {.v = terminologycmd }}, ------=_Part_1383_55329917.1438005368608 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
in i3 I can use just an F Key (ie f2) and asign it to a sh= otcut to start an application -- when using the same metholid in dwm it'= ;s not working, I have yet to find any documentaion on this. what syntex to= use for F keys

=C2=A0this is what i am doing

in i3 config = it's as easy as this

bindsym F2=C2=A0 exec --no-startup-id termi= nology

in DWM wm this is what I used, but it is not accepting the sy= ntex a simple F2

static const Rule rules[] =3D {
=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 /* class=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 instance= =C2=A0=C2=A0=C2=A0 title=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 tags mask=C2= =A0=C2=A0=C2=A0=C2=A0 isfloating=C2=A0=C2=A0 monitor */
=C2=A0
=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 { "terminology", NULL,=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0,= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 True,=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -1 },



};

...<= br>
static const char *terminologycmd[] =3D {"terminology", NU= LL};


.......
{ SUPKEY,=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 F2,=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 spawn,=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 {.v =3D terminologycmd }},

------=_Part_1383_55329917.1438005368608-- ------=_Part_1382_625954966.1438005368608--