aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgolfyado <golfyado@texto-plano.xyz>2022-07-12 16:06:42 -0400
committergolfyado <golfyado@texto-plano.xyz>2022-07-12 16:06:42 -0400
commit84afc0bb35cbb86e17357f5a2f9e4d86c5cfb9ae (patch)
tree2407fbc9386f751549a97ee5dfd17680eb8341fa
parent9661961b75ddb6776c095d25844588a337f98c54 (diff)
downloaddwm-84afc0bb35cbb86e17357f5a2f9e4d86c5cfb9ae.tar.gz
Added import(1) keybindHEADmaster
-rw-r--r--config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.h b/config.h
index 0123b19..f50797e 100644
--- a/config.h
+++ b/config.h
@@ -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 } },
Un proyecto texto-plano.xyz