summaryrefslogtreecommitdiff
path: root/st/config.h
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-02-07 09:31:03 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-02-07 09:31:03 +0900
commit99a1eb65a65627575ea03d6ce7cd38022623d806 (patch)
treed9e4f7531688dba7645f2885d119fbfcc12756e2 /st/config.h
parentf7521cb3518dcb868a8979a79b55ebecf3c18847 (diff)
modified dwm/config.h, modified dwm/dwm.1, modified st/config.h, modified st/st.1
Diffstat (limited to 'st/config.h')
-rw-r--r--st/config.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/st/config.h b/st/config.h
index 5937625..98fd819 100644
--- a/st/config.h
+++ b/st/config.h
@@ -260,6 +260,7 @@ static MouseShortcut mshortcuts[] = {
#define MODKEY Mod1Mask
#define MODKEY2 Mod4Mask
#define TERMMOD (MODKEY | ShiftMask)
+#define TERMMOD2 (MODKEY | ControlMask)
static char *openurlcmd[] = { "/bin/sh", "-c", "st-urlhandler -o", "externalpipe", NULL };
static char *copyurlcmd[] = { "/bin/sh", "-c", "st-urlhandler -c", "externalpipe", NULL };
@@ -296,9 +297,9 @@ static Shortcut shortcuts[] = {
{ TERMMOD, XK_V, externalpipe, { .v = openurlcmd } },
// PRINTERS
- { ShiftMask, XK_Print, printscreen, { .i = 0 } },
- { XK_ANY_MOD, XK_Print, printsel, { .i = 0 } },
- { ControlMask, XK_Print, toggleprinter, { .i = 0 } },
+ { MODKEY, XK_Print, printsel, { .i = 0 } },
+ { TERMMOD, XK_Print, printscreen, { .i = 0 } },
+ { TERMMOD2, XK_Print, toggleprinter, { .i = 0 } },
// TRAVERSALS
{ MODKEY, XK_y, kscrollup, { .i = 1 } },