printscr key def
This commit is contained in:
parent
60b3479bb4
commit
1bfd2e92e8
1 changed files with 2 additions and 0 deletions
2
config.h
2
config.h
|
|
@ -125,6 +125,7 @@ static const enum libinput_config_tap_button_map button_map = LIBINPUT_CONFIG_TA
|
||||||
static const char *termcmd[] = { "foot", "-f", "BlexMono Nerd Font:size=16", "fish", NULL };
|
static const char *termcmd[] = { "foot", "-f", "BlexMono Nerd Font:size=16", "fish", NULL };
|
||||||
static const char *menucmd[] = { "wmenu-run", NULL };
|
static const char *menucmd[] = { "wmenu-run", NULL };
|
||||||
static const char *lockcmd[] = { "swaylock", NULL };
|
static const char *lockcmd[] = { "swaylock", NULL };
|
||||||
|
static const char *screencmd[] = {"screenshot.sh", NULL };
|
||||||
|
|
||||||
static const Key keys[] = {
|
static const Key keys[] = {
|
||||||
/* Note that Shift changes certain key codes: c -> C, 2 -> at, etc. */
|
/* Note that Shift changes certain key codes: c -> C, 2 -> at, etc. */
|
||||||
|
|
@ -141,6 +142,7 @@ static const Key keys[] = {
|
||||||
{ MODKEY, XKB_KEY_Tab, view, {0} },
|
{ MODKEY, XKB_KEY_Tab, view, {0} },
|
||||||
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_C, killclient, {0} },
|
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_C, killclient, {0} },
|
||||||
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_L, spawn, {.v = lockcmd} },
|
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_L, spawn, {.v = lockcmd} },
|
||||||
|
{ 0, XKB_KEY_Print, spawn, {.v = screencmd} },
|
||||||
{ MODKEY, XKB_KEY_t, setlayout, {.v = &layouts[0]} },
|
{ MODKEY, XKB_KEY_t, setlayout, {.v = &layouts[0]} },
|
||||||
{ MODKEY, XKB_KEY_f, setlayout, {.v = &layouts[1]} },
|
{ MODKEY, XKB_KEY_f, setlayout, {.v = &layouts[1]} },
|
||||||
{ MODKEY, XKB_KEY_m, setlayout, {.v = &layouts[2]} },
|
{ MODKEY, XKB_KEY_m, setlayout, {.v = &layouts[2]} },
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue