diff options
| author | pml68 <tutorialmester@gmail.com> | 2024-03-09 23:28:16 +0100 |
|---|---|---|
| committer | pml68 <tutorialmester@gmail.com> | 2024-03-09 23:28:16 +0100 |
| commit | d9bf59d0450af01ce743041a01cbb7545425acfa (patch) | |
| tree | 4565cce052df4739267cc014a44299b2c7c69989 /dwm/config.h | |
| parent | feat: add pertag patch (diff) | |
| download | suckless-setup-d9bf59d0450af01ce743041a01cbb7545425acfa.tar.gz | |
feat: add shortcut for custom ADB screenshot script
Diffstat (limited to '')
| -rw-r--r-- | dwm/config.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/dwm/config.h b/dwm/config.h index 8d0fba8..ae0d292 100644 --- a/dwm/config.h +++ b/dwm/config.h @@ -78,9 +78,11 @@ static const char *dmenucmd[] = { "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL}; static const char *termcmd[] = {"st", NULL}; static const char *prtscrcmd[] = {"flameshot", "gui", NULL}; -static const char *kblayoutcmd[] = {"setxkbmap", "hu", "-option", "caps:escape", NULL}; +static const char *kblayoutcmd[] = {"setxkbmap", "hu", "-option", "caps:escape", + NULL}; static const char *firefoxcmd[] = {"firefox", NULL}; static const char *discordcmd[] = {"discord", NULL}; +static const char *adbscreencmd[] = {"screenshot", NULL}; static const char *playpausecmd[] = {"adb", "shell", "input", "keyevent", "85", NULL}; static const char *nextcmd[] = {"adb", "shell", "input", @@ -101,8 +103,8 @@ static const Key keys[] = { {MODKEY, XK_l, setmfact, {.f = +0.05}}, {MODKEY, XK_Return, zoom, {0}}, {MODKEY, XK_Tab, view, {0}}, - {MODKEY | ShiftMask, XK_Tab, shiftviewclients, {.i = +1}}, - {MODKEY | ShiftMask, XK_7, shiftviewclients, {.i = -1}}, + {MODKEY | ShiftMask, XK_Tab, shiftviewclients, {.i = +1}}, + {MODKEY | ShiftMask, XK_7, shiftviewclients, {.i = -1}}, {MODKEY | ShiftMask, XK_c, killclient, {0}}, {MODKEY, XK_t, setlayout, {.v = &layouts[0]}}, {MODKEY, XK_f, setlayout, {.v = &layouts[1]}}, @@ -124,6 +126,7 @@ static const Key keys[] = { {MODKEY | ShiftMask, XK_s, spawn, {.v = playpausecmd}}, {MODKEY | ShiftMask, XK_n, spawn, {.v = nextcmd}}, {MODKEY | ShiftMask, XK_p, spawn, {.v = previouscmd}}, + {MODKEY, XK_s, spawn, {.v = adbscreencmd}}, }; /* button definitions */ |
