diff options
-rw-r--r-- | config.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -65,6 +65,7 @@ static const char *termcmd[] = { "urxvt", NULL }; static const char *scrotcmd[] = { "scrot", "/home/aldebaran/Pictures/screenshots/%Y-%m-%d_$wx$h.png" }; static const char *latamcmd[] = { "setxkbmap", "-layout", "latam" }; static const char *greengocmd[] = { "setxkbmap", "-layout", "us" }; +static const char *importcmd[] = { "import", "~/Pictures/screenshots/2022import-$(date +%F%R%S).jpg" }; /* from: https://wiki.gentoo.org/wiki/Dwm */ /*static const char *upvol[] = { "amixer", "set", "Master", "2+" }; @@ -82,6 +83,7 @@ static Key keys[] = { { MODKEY|ShiftMask, XK_a, spawn, {.v = latamcmd } }, { MODKEY|ShiftMask, XK_j, spawn, {.v = downvol } }, { MODKEY|ShiftMask, XK_k, spawn, {.v = upvol } }, + { MODKEY|ShiftMask, XK_Print, spawn, {.v = importcmd } }, { MODKEY, XK_b, togglebar, {0} }, { MODKEY, XK_j, focusstack, {.i = +1 } }, { MODKEY, XK_k, focusstack, {.i = -1 } }, |