From 5ea0081aaf5e91d0c54f51ab90419415db470d8d Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Mon, 25 Jul 2022 23:53:10 +0200 Subject: [PATCH] Update screenshot shortcuts --- config.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/config.h b/config.h index 3509a11..9e81cca 100644 --- a/config.h +++ b/config.h @@ -26,7 +26,7 @@ static const int systraypinningfailfirst = 1; /* 1: if pinning fails, display static const int showsystray = 1; /* 0 means no systray */ static const int showbar = 1; /* 0 means no bar */ static const int topbar = 1; /* 0 means bottom bar */ -static const char *fonts[] = { "monospace:size=10" }; +static const char *fonts[] = { "emojione:size=10", "monospace:size=10"}; static const char dmenufont[] = "monospace:size=10"; static const char col_gray1[] = "#232323"; static const char col_gray2[] = "#303030"; @@ -128,7 +128,8 @@ static Key keys[] = { { MODKEY, XK_F5, spawn, SHCMD("idea") }, { MODKEY, XK_F6, spawn, SHCMD("clion") }, { MODKEY, XK_F7, spawn, SHCMD("pycharm") }, - { 0, XK_Print, spawn, SHCMD("screenshot") }, + { 0, XK_Print, spawn, SHCMD("gnome-screenshot -i") }, + { MODKEY|ShiftMask, XK_s, spawn, SHCMD("gnome-screenshot -a")}, { 0, XF86AudioPlay, spawn, SHCMD("playerctl play-pause")} , { 0, XF86AudioPause, spawn, SHCMD("playerctl pause")} ,