diff options
author | golfyado <golfyado@texto-plano.xyz> | 2022-07-12 16:06:42 -0400 |
---|---|---|
committer | golfyado <golfyado@texto-plano.xyz> | 2022-07-12 16:06:42 -0400 |
commit | 84afc0bb35cbb86e17357f5a2f9e4d86c5cfb9ae (patch) | |
tree | 2407fbc9386f751549a97ee5dfd17680eb8341fa | |
parent | 9661961b75ddb6776c095d25844588a337f98c54 (diff) | |
download | dwm-master.tar.gz |
-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 } }, |