From 99a1eb65a65627575ea03d6ce7cd38022623d806 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Fri, 7 Feb 2025 09:31:03 +0900 Subject: modified dwm/config.h, modified dwm/dwm.1, modified st/config.h, modified st/st.1 --- st/config.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'st/config.h') 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 } }, -- cgit v1.2.3