mirror of
https://github.com/eRgo35/dots.git
synced 2025-12-17 07:56:11 +01:00
dwm flexipatch
This commit is contained in:
22
dwm/.dwm/patch/keymodes.h
Normal file
22
dwm/.dwm/patch/keymodes.h
Normal file
@@ -0,0 +1,22 @@
|
||||
#define COMMANDMODE 1
|
||||
#define INSERTMODE 2
|
||||
|
||||
typedef struct {
|
||||
unsigned int mod[4];
|
||||
KeySym keysym[4];
|
||||
void (*func)(const Arg *);
|
||||
const Arg arg;
|
||||
} Command;
|
||||
|
||||
static void clearcmd(const Arg *arg);
|
||||
static void grabkeys(void);
|
||||
static int isprotodel(Client *c);
|
||||
static void keypress(XEvent *e);
|
||||
static void onlyclient(const Arg *arg);
|
||||
static void setkeymode(const Arg *arg);
|
||||
|
||||
/* variables */
|
||||
static unsigned int cmdmod[4];
|
||||
static unsigned int keymode = INSERTMODE;
|
||||
static KeySym cmdkeysym[4];
|
||||
|
||||
Reference in New Issue
Block a user