formatting and minor change
This commit is contained in:
parent
bd92e8df38
commit
497ac651c8
14
config.def.h
14
config.def.h
@ -7,7 +7,7 @@
|
|||||||
*/
|
*/
|
||||||
static char *font = "Iosevka Term:pixelsize=16:antialias=true:autohint=true";
|
static char *font = "Iosevka Term:pixelsize=16:antialias=true:autohint=true";
|
||||||
static char *font2[] = { "Iosevka Term:pixelsize=16:antialias=true:autohint=true" };
|
static char *font2[] = { "Iosevka Term:pixelsize=16:antialias=true:autohint=true" };
|
||||||
static int borderpx = 2;
|
static int borderpx = 1;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* What program is execed by st depends of these precedence rules:
|
* What program is execed by st depends of these precedence rules:
|
||||||
@ -157,8 +157,8 @@ static uint forcemousemod = ShiftMask;
|
|||||||
*/
|
*/
|
||||||
static MouseShortcut mshortcuts[] = {
|
static MouseShortcut mshortcuts[] = {
|
||||||
/* mask button function argument release */
|
/* mask button function argument release */
|
||||||
{ Button4, XK_NO_MOD, "\031" },
|
/*{ Button4, XK_NO_MOD, "\031" },
|
||||||
{ Button5, XK_NO_MOD, "\005" },
|
{ Button5, XK_NO_MOD, "\005" },*/
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Internal keyboard shortcuts. */
|
/* Internal keyboard shortcuts. */
|
||||||
@ -344,25 +344,25 @@ static Key key[] = {
|
|||||||
{ XK_Next, ControlMask, "\033[6;5~", 0, 0},
|
{ XK_Next, ControlMask, "\033[6;5~", 0, 0},
|
||||||
{ XK_Next, ShiftMask, "\033[6;2~", 0, 0},
|
{ XK_Next, ShiftMask, "\033[6;2~", 0, 0},
|
||||||
{ XK_Next, XK_ANY_MOD, "\033[6~", 0, 0},
|
{ XK_Next, XK_ANY_MOD, "\033[6~", 0, 0},
|
||||||
{ XK_F1, XK_NO_MOD, "\033OP" , 0, 0},
|
{ XK_F1, XK_NO_MOD, "\033OP", 0, 0},
|
||||||
{ XK_F1, /* F13 */ ShiftMask, "\033[1;2P", 0, 0},
|
{ XK_F1, /* F13 */ ShiftMask, "\033[1;2P", 0, 0},
|
||||||
{ XK_F1, /* F25 */ ControlMask, "\033[1;5P", 0, 0},
|
{ XK_F1, /* F25 */ ControlMask, "\033[1;5P", 0, 0},
|
||||||
{ XK_F1, /* F37 */ Mod4Mask, "\033[1;6P", 0, 0},
|
{ XK_F1, /* F37 */ Mod4Mask, "\033[1;6P", 0, 0},
|
||||||
{ XK_F1, /* F49 */ Mod1Mask, "\033[1;3P", 0, 0},
|
{ XK_F1, /* F49 */ Mod1Mask, "\033[1;3P", 0, 0},
|
||||||
{ XK_F1, /* F61 */ Mod3Mask, "\033[1;4P", 0, 0},
|
{ XK_F1, /* F61 */ Mod3Mask, "\033[1;4P", 0, 0},
|
||||||
{ XK_F2, XK_NO_MOD, "\033OQ" , 0, 0},
|
{ XK_F2, XK_NO_MOD, "\033OQ", 0, 0},
|
||||||
{ XK_F2, /* F14 */ ShiftMask, "\033[1;2Q", 0, 0},
|
{ XK_F2, /* F14 */ ShiftMask, "\033[1;2Q", 0, 0},
|
||||||
{ XK_F2, /* F26 */ ControlMask, "\033[1;5Q", 0, 0},
|
{ XK_F2, /* F26 */ ControlMask, "\033[1;5Q", 0, 0},
|
||||||
{ XK_F2, /* F38 */ Mod4Mask, "\033[1;6Q", 0, 0},
|
{ XK_F2, /* F38 */ Mod4Mask, "\033[1;6Q", 0, 0},
|
||||||
{ XK_F2, /* F50 */ Mod1Mask, "\033[1;3Q", 0, 0},
|
{ XK_F2, /* F50 */ Mod1Mask, "\033[1;3Q", 0, 0},
|
||||||
{ XK_F2, /* F62 */ Mod3Mask, "\033[1;4Q", 0, 0},
|
{ XK_F2, /* F62 */ Mod3Mask, "\033[1;4Q", 0, 0},
|
||||||
{ XK_F3, XK_NO_MOD, "\033OR" , 0, 0},
|
{ XK_F3, XK_NO_MOD, "\033OR", 0, 0},
|
||||||
{ XK_F3, /* F15 */ ShiftMask, "\033[1;2R", 0, 0},
|
{ XK_F3, /* F15 */ ShiftMask, "\033[1;2R", 0, 0},
|
||||||
{ XK_F3, /* F27 */ ControlMask, "\033[1;5R", 0, 0},
|
{ XK_F3, /* F27 */ ControlMask, "\033[1;5R", 0, 0},
|
||||||
{ XK_F3, /* F39 */ Mod4Mask, "\033[1;6R", 0, 0},
|
{ XK_F3, /* F39 */ Mod4Mask, "\033[1;6R", 0, 0},
|
||||||
{ XK_F3, /* F51 */ Mod1Mask, "\033[1;3R", 0, 0},
|
{ XK_F3, /* F51 */ Mod1Mask, "\033[1;3R", 0, 0},
|
||||||
{ XK_F3, /* F63 */ Mod3Mask, "\033[1;4R", 0, 0},
|
{ XK_F3, /* F63 */ Mod3Mask, "\033[1;4R", 0, 0},
|
||||||
{ XK_F4, XK_NO_MOD, "\033OS" , 0, 0},
|
{ XK_F4, XK_NO_MOD, "\033OS", 0, 0},
|
||||||
{ XK_F4, /* F16 */ ShiftMask, "\033[1;2S", 0, 0},
|
{ XK_F4, /* F16 */ ShiftMask, "\033[1;2S", 0, 0},
|
||||||
{ XK_F4, /* F28 */ ControlMask, "\033[1;5S", 0, 0},
|
{ XK_F4, /* F28 */ ControlMask, "\033[1;5S", 0, 0},
|
||||||
{ XK_F4, /* F40 */ Mod4Mask, "\033[1;6S", 0, 0},
|
{ XK_F4, /* F40 */ Mod4Mask, "\033[1;6S", 0, 0},
|
||||||
|
14
config.h
14
config.h
@ -7,7 +7,7 @@
|
|||||||
*/
|
*/
|
||||||
static char *font = "Iosevka Term:pixelsize=16:antialias=true:autohint=true";
|
static char *font = "Iosevka Term:pixelsize=16:antialias=true:autohint=true";
|
||||||
static char *font2[] = { "Iosevka Term:pixelsize=16:antialias=true:autohint=true" };
|
static char *font2[] = { "Iosevka Term:pixelsize=16:antialias=true:autohint=true" };
|
||||||
static int borderpx = 2;
|
static int borderpx = 1;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* What program is execed by st depends of these precedence rules:
|
* What program is execed by st depends of these precedence rules:
|
||||||
@ -157,8 +157,8 @@ static uint forcemousemod = ShiftMask;
|
|||||||
*/
|
*/
|
||||||
static MouseShortcut mshortcuts[] = {
|
static MouseShortcut mshortcuts[] = {
|
||||||
/* mask button function argument release */
|
/* mask button function argument release */
|
||||||
{ Button4, XK_NO_MOD, "\031" },
|
/*{ Button4, XK_NO_MOD, "\031" },
|
||||||
{ Button5, XK_NO_MOD, "\005" },
|
{ Button5, XK_NO_MOD, "\005" },*/
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Internal keyboard shortcuts. */
|
/* Internal keyboard shortcuts. */
|
||||||
@ -344,25 +344,25 @@ static Key key[] = {
|
|||||||
{ XK_Next, ControlMask, "\033[6;5~", 0, 0},
|
{ XK_Next, ControlMask, "\033[6;5~", 0, 0},
|
||||||
{ XK_Next, ShiftMask, "\033[6;2~", 0, 0},
|
{ XK_Next, ShiftMask, "\033[6;2~", 0, 0},
|
||||||
{ XK_Next, XK_ANY_MOD, "\033[6~", 0, 0},
|
{ XK_Next, XK_ANY_MOD, "\033[6~", 0, 0},
|
||||||
{ XK_F1, XK_NO_MOD, "\033OP" , 0, 0},
|
{ XK_F1, XK_NO_MOD, "\033OP", 0, 0},
|
||||||
{ XK_F1, /* F13 */ ShiftMask, "\033[1;2P", 0, 0},
|
{ XK_F1, /* F13 */ ShiftMask, "\033[1;2P", 0, 0},
|
||||||
{ XK_F1, /* F25 */ ControlMask, "\033[1;5P", 0, 0},
|
{ XK_F1, /* F25 */ ControlMask, "\033[1;5P", 0, 0},
|
||||||
{ XK_F1, /* F37 */ Mod4Mask, "\033[1;6P", 0, 0},
|
{ XK_F1, /* F37 */ Mod4Mask, "\033[1;6P", 0, 0},
|
||||||
{ XK_F1, /* F49 */ Mod1Mask, "\033[1;3P", 0, 0},
|
{ XK_F1, /* F49 */ Mod1Mask, "\033[1;3P", 0, 0},
|
||||||
{ XK_F1, /* F61 */ Mod3Mask, "\033[1;4P", 0, 0},
|
{ XK_F1, /* F61 */ Mod3Mask, "\033[1;4P", 0, 0},
|
||||||
{ XK_F2, XK_NO_MOD, "\033OQ" , 0, 0},
|
{ XK_F2, XK_NO_MOD, "\033OQ", 0, 0},
|
||||||
{ XK_F2, /* F14 */ ShiftMask, "\033[1;2Q", 0, 0},
|
{ XK_F2, /* F14 */ ShiftMask, "\033[1;2Q", 0, 0},
|
||||||
{ XK_F2, /* F26 */ ControlMask, "\033[1;5Q", 0, 0},
|
{ XK_F2, /* F26 */ ControlMask, "\033[1;5Q", 0, 0},
|
||||||
{ XK_F2, /* F38 */ Mod4Mask, "\033[1;6Q", 0, 0},
|
{ XK_F2, /* F38 */ Mod4Mask, "\033[1;6Q", 0, 0},
|
||||||
{ XK_F2, /* F50 */ Mod1Mask, "\033[1;3Q", 0, 0},
|
{ XK_F2, /* F50 */ Mod1Mask, "\033[1;3Q", 0, 0},
|
||||||
{ XK_F2, /* F62 */ Mod3Mask, "\033[1;4Q", 0, 0},
|
{ XK_F2, /* F62 */ Mod3Mask, "\033[1;4Q", 0, 0},
|
||||||
{ XK_F3, XK_NO_MOD, "\033OR" , 0, 0},
|
{ XK_F3, XK_NO_MOD, "\033OR", 0, 0},
|
||||||
{ XK_F3, /* F15 */ ShiftMask, "\033[1;2R", 0, 0},
|
{ XK_F3, /* F15 */ ShiftMask, "\033[1;2R", 0, 0},
|
||||||
{ XK_F3, /* F27 */ ControlMask, "\033[1;5R", 0, 0},
|
{ XK_F3, /* F27 */ ControlMask, "\033[1;5R", 0, 0},
|
||||||
{ XK_F3, /* F39 */ Mod4Mask, "\033[1;6R", 0, 0},
|
{ XK_F3, /* F39 */ Mod4Mask, "\033[1;6R", 0, 0},
|
||||||
{ XK_F3, /* F51 */ Mod1Mask, "\033[1;3R", 0, 0},
|
{ XK_F3, /* F51 */ Mod1Mask, "\033[1;3R", 0, 0},
|
||||||
{ XK_F3, /* F63 */ Mod3Mask, "\033[1;4R", 0, 0},
|
{ XK_F3, /* F63 */ Mod3Mask, "\033[1;4R", 0, 0},
|
||||||
{ XK_F4, XK_NO_MOD, "\033OS" , 0, 0},
|
{ XK_F4, XK_NO_MOD, "\033OS", 0, 0},
|
||||||
{ XK_F4, /* F16 */ ShiftMask, "\033[1;2S", 0, 0},
|
{ XK_F4, /* F16 */ ShiftMask, "\033[1;2S", 0, 0},
|
||||||
{ XK_F4, /* F28 */ ControlMask, "\033[1;5S", 0, 0},
|
{ XK_F4, /* F28 */ ControlMask, "\033[1;5S", 0, 0},
|
||||||
{ XK_F4, /* F40 */ Mod4Mask, "\033[1;6S", 0, 0},
|
{ XK_F4, /* F40 */ Mod4Mask, "\033[1;6S", 0, 0},
|
||||||
|
Loading…
Reference in New Issue
Block a user