logo

etc_portage

Unnamed repository; edit this file 'description' to name the repository. git clone https://hacktivis.me/git/etc_portage.git

inaban-9999 (947B)


  1. #ifndef CONFIG_H
  2. #define CONFIG_H
  3. static const char *menucmd[] = {"bemenu-run", NULL};
  4. static const char *termcmd[] = {"cage", "-d", "st", NULL};
  5. // See `enum wlr_keyboard_modifier` in `<wlr/types/wlr_keyboard.h>`
  6. #define MODKEY WLR_MODIFIER_ALT
  7. // clang-format off
  8. static Shortcut shortcuts[] = {
  9. /* modifier, keysym, function, argument */
  10. {MODKEY, XKB_KEY_p, spawn, {.v = menucmd}},
  11. {MODKEY | ShiftMask, XKB_KEY_Return, spawn, {.v = termcmd}},
  12. {MODKEY | ShiftMask, XKB_KEY_q, quit, {0}},
  13. { 0, XKB_KEY_XF86AudioPause, spawn, {.v = { "mpc", "toggle", NULL } } },
  14. // {MODKEY | ShiftMask, XKB_KEY_c, killclient, {0}},
  15. // {MODKEY, XKB_KEY_j, focusstack, {.i = +1}},
  16. // {MODKEY, XKB_KEY_k, focusstack, {.i = -1}},
  17. };
  18. // clang-format on
  19. #endif /* CONFIG_H */