summaryrefslogtreecommitdiff
path: root/dwm/patch/shifttag.c
diff options
context:
space:
mode:
Diffstat (limited to 'dwm/patch/shifttag.c')
-rwxr-xr-xdwm/patch/shifttag.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/dwm/patch/shifttag.c b/dwm/patch/shifttag.c
new file mode 100755
index 0000000..0f9dcea
--- /dev/null
+++ b/dwm/patch/shifttag.c
@@ -0,0 +1,7 @@
+/* Sends a window to the next/prev tag */
+void
+shifttag(const Arg *arg)
+{
+ Arg shifted = shift(arg, 0);
+ tag(&shifted);
+}