about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYour Name <you@example.com>2020-10-23 13:08:50 +0100
committerYour Name <you@example.com>2020-10-23 13:08:50 +0100
commitafd7c9c245c6219d9f7800ab45749c3314b176d8 (patch)
tree9c491fb7d42e3b9c8372487929286af072e29218
parentchanged name to fsignal (diff)
downloaddwm-afd7c9c245c6219d9f7800ab45749c3314b176d8.tar.gz
dwm-afd7c9c245c6219d9f7800ab45749c3314b176d8.tar.bz2
dwm-afd7c9c245c6219d9f7800ab45749c3314b176d8.zip
a
-rwxr-xr-xdwmc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwmc b/dwmc
index d450ca9..7182dc4 100755
--- a/dwmc
+++ b/dwmc
@@ -19,7 +19,7 @@ case $# in
 2)
 	case $1 in
 	view)
-        signal $1 ui $(expr $2 - 1)
+        signal $1 ui $2
 		;;
 	viewex | toggleviewex | tagex | toggletagex | setlayoutex | focusstack | movestack | cyclelayout | incnmaster | focusmon | tagmon)
         signal $1 i $2