diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-05-17 13:20:06 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-05-17 13:20:06 +0900 |
| commit | 6fab4b7a047c5056e849e3b364ed3770df693e8b (patch) | |
| tree | ed8039af535d1a201078a7dd6f73822bc57e07db | |
| parent | a88492f385375e5cadb1433226d72f96e0ae08ee (diff) | |
modified patches/dwm-accessnthmon.diff
| -rw-r--r-- | dwm/patches/dwm-accessnthmon.diff | 8 |
1 files 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) +{ |
