Add act on last keyboard shortcuts
This commit is contained in:
parent
cb0a34b6b8
commit
42d54181e2
1 changed files with 6 additions and 1 deletions
|
@ -83,7 +83,7 @@ static const char *fullscreenshot[] = { "screenshot", NULL };
|
|||
static const char *activescreenshot[] = { "screenshot", "window", NULL };
|
||||
static const char *selectscreenshot[] = { "screenshot", "select", NULL };
|
||||
|
||||
static const char *selectscreenshot[] = { "screenrecord", "select", NULL };
|
||||
static const char *selectscreenrecord[] = { "screenrecord", "select", NULL };
|
||||
|
||||
static const char *greenclip[] = { "rofi", "-modi", "clipboard:greenclip print", "-show", "clipboard", "-run-command", "{cmd}", NULL };
|
||||
|
||||
|
@ -129,6 +129,9 @@ static const char *powerMenu[] = { "rofi-shutdown", NULL };
|
|||
|
||||
static const char *toggleKeyboard[] = { "toggleKeyboard", NULL };
|
||||
|
||||
static const char *actOnLast[] = { "actOnLast", NULL };
|
||||
static const char *actOnLastDefault[] = { "actOnLast", "--first", NULL };
|
||||
|
||||
#include "movestack.c"
|
||||
|
||||
#define MULTIKEY_THRESHOLD_MS_PRESS 200
|
||||
|
@ -189,6 +192,8 @@ static Key keys[] = {
|
|||
{ MODKEY, XK_w, 0, spawn, {.v = whichproject } },
|
||||
{ MODKEY|ShiftMask, XK_w, 0, spawn, {.v = project } },
|
||||
{ MODKEY, XK_d, 0, spawn, {.v = pass } },
|
||||
{ MODKEY, XK_o, 0, spawn, {.v = actOnLast } },
|
||||
{ MODKEY|ShiftMask, XK_o, 0, spawn, {.v = actOnLastDefault } },
|
||||
//Background
|
||||
{ MODKEY, XK_e, 0, spawn, {.v = setBackgroundRandom } },
|
||||
{ MODKEY|ControlMask, XK_e, 0, spawn, {.v = backgroundDetails } },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue