From 6fab4b7a047c5056e849e3b364ed3770df693e8b Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Sat, 17 May 2025 13:20:06 +0900 Subject: modified patches/dwm-accessnthmon.diff --- dwm/patches/dwm-accessnthmon.diff | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dwm/patches/dwm-accessnthmon.diff b/dwm/patches/dwm-accessnthmon.diff index a65ec15..b9425d6 100644 --- a/dwm/patches/dwm-accessnthmon.diff +++ b/dwm/patches/dwm-accessnthmon.diff @@ -11,7 +11,7 @@ index 1c0b587..8595a71 100644 + { ALTMOD, KEY, focusnthmon, {.i = TAG } }, \ + { ALTMOD|ShiftMask, KEY, tagnthmon, {.i = TAG } }, + - + /* helper for spawning shell commands in the pre dwm-5.0 fashion */ #define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } } diff --git a/dwm.c b/dwm.c @@ -45,7 +45,7 @@ index b0b3466..96fa0bd 100644 @@ -693,6 +696,18 @@ dirtomon(int dir) return m; } - + +Monitor * +numtomon(int num) +{ @@ -64,7 +64,7 @@ index b0b3466..96fa0bd 100644 @@ -830,6 +845,21 @@ focusmon(const Arg *arg) focus(NULL); } - + +void +focusnthmon(const Arg *arg) +{ @@ -86,7 +86,7 @@ index b0b3466..96fa0bd 100644 @@ -1671,6 +1701,14 @@ tagmon(const Arg *arg) sendmon(selmon->sel, dirtomon(arg->i)); } - + +void +tagnthmon(const Arg *arg) +{ -- cgit v1.2.3