Another copy of my dotfiles. Because I don't completely trust GitHub.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
513 B

  1. #define COMMANDMODE 1
  2. #define INSERTMODE 2
  3. typedef struct {
  4. unsigned int mod[4];
  5. KeySym keysym[4];
  6. void (*func)(const Arg *);
  7. const Arg arg;
  8. } Command;
  9. static void clearcmd(const Arg *arg);
  10. static void grabkeys(void);
  11. static int isprotodel(Client *c);
  12. static void keypress(XEvent *e);
  13. static void onlyclient(const Arg *arg);
  14. static void setkeymode(const Arg *arg);
  15. /* variables */
  16. static unsigned int cmdmod[4];
  17. static unsigned int keymode = INSERTMODE;
  18. static KeySym cmdkeysym[4];