diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | config.h | 6 | ||||
-rwxr-xr-x | dwm | bin | 74184 -> 74304 bytes |
3 files changed, 7 insertions, 0 deletions
@@ -2,3 +2,4 @@ *.out *.rej *.orig +dwm @@ -78,6 +78,8 @@ static const Rule rules[] = { { "dolphin", NULL, NULL, 0, 1, 0, 0, -1 }, /* Dolphin. */ { "firefox", NULL, "Picture-in-Picture", 0, 1, 0, 0, -1 }, /* Firefox PIP. */ { "Alacritty", NULL, NULL, 0, 0, 1, 0, -1 }, /* Alacritty. */ + { "zoom", NULL, NULL, 0, 1, 0, 0, -1 }, /* Zoom popups. */ + { "zoom", NULL, "Zoom Meeting", 0, 1, 0, 0, -1 }, /* Zooom window. */ }; /* Key definitions. */ @@ -103,6 +105,8 @@ static const char *webcmd[] = { SCR "launchers/web.sh", NULL }; static const char *passcmd[] = { SCR "/sbin/passmenu", NULL }; static const char *bmkscmd[] = { SCR "bmks", NULL }; static const char *bmkaddcmd[]= { SCR "bmks", "dadd", NULL }; +static const char *scrshotcmd[]= { "flameshot", "gui", NULL }; +static const char *fscrshotcmd[]= { "flameshot", "full", NULL }; static const char *papercmd[] = { SCR "wallpaper.sh", NULL }; @@ -175,6 +179,8 @@ static const Key keys[] = { { MODKEY|ShiftMask, XK_equal, setgaps, {.i = +5 } }, /* Increase window gaps. */ { MODKEY, XK_equal, resetgaps, {0} }, /* Reset window gaps. */ { MODKEY|ShiftMask, XK_q, quit, {0} }, /* Quit dwm. */ + { 0, XK_Print, spawn, {.v = scrshotcmd } }, + { ShiftMask, XK_Print, spawn, {.v = fscrshotcmd} }, /* Function keys. */ { 0, 0x1008ff13, spawn, SHCMD(SCR "setvol.sh i") }, /* Increase volume. */ Binary files differ |