#[SOLVED] DWM Hotkeys

1 messages · Page 1 of 1 (latest)

glass kite
#

Hi, how can I setup a hotkey to open st in dwm?

worn jewel
#

it is MODKEY SHIFT ENTER by default

glass kite
#

it doesn't work, I want to edit it but still

worn jewel
#

read this first

#

.aw dwm

brave gullBOT
worn jewel
#

.aw st

brave gullBOT
glass kite
#

{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },

worn jewel
#

and mod key default is ctrl iirc

glass kite
#

I use the "windows" key

worn jewel
#

if you want to use win key

#

#define MODKEY Mod4Mask this do you have ?

glass kite
#

yeah

worn jewel
#

did you re-compile dwm ?

#

then logout

glass kite
#

how to do it

worn jewel
#

you need to run rm -rf config.h && sudo make clean install if you do your config in config.def.h

#

iirc

worn jewel
#

from AUR i don't know

glass kite
#

okay

#

how can I logout

worn jewel
#

default is mod-shift-q

glass kite
#

okay I reinstalled the config I used and it works

#

thanks