Last active
February 18, 2017 17:54
-
-
Save kroovysteph/5d90664b2dc4f821cf41fffb41dfcef9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static MouseShortcut mshortcuts[] = { | |
/* button mask string */ | |
{ Button4, XK_ANY_MOD, "\031" }, | |
{ Button5, XK_ANY_MOD, "\005" }, | |
}; | |
/* Internal keyboard shortcuts. */ | |
#define MODKEY Mod1Mask | |
static Shortcut shortcuts[] = { | |
/* mask keysym function argument */ | |
{ XK_ANY_MOD, XK_Break, sendbreak, {.i = 0} }, | |
{ ControlMask, XK_Print, toggleprinter, {.i = 0} }, | |
{ ShiftMask, XK_Print, printscreen, {.i = 0} }, | |
{ XK_ANY_MOD, XK_Print, printsel, {.i = 0} }, | |
{ ControlMask|ShiftMask, XK_Prior, xzoom, {.f = +1} }, | |
{ ControlMask|ShiftMask, XK_Next, xzoom, {.f = -1} }, | |
{ ControlMask|ShiftMask, XK_Home, xzoomreset, {.f = 0} }, | |
{ ShiftMask, XK_Insert, selpaste, {.i = 0} }, | |
{ MODKEY|ShiftMask, XK_Insert, clippaste, {.i = 0} }, | |
{ MODKEY|ShiftMask, XK_C, clipcopy, {.i = 0} }, | |
{ MODKEY|ShiftMask, XK_V, clippaste, {.i = 0} }, | |
{ MODKEY, XK_Num_Lock, numlock, {.i = 0} }, | |
{ MODKEY, XK_Control_L, iso14755, {.i = 0} }, | |
{ ShiftMask, /* HERE --> */ XK_Page_Up, kscrollup, {.i = -1} }, | |
{ ShiftMask, XK_Page_Down, kscrolldown, {.i = -1} }, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment