summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2015-12-17 10:33:50 +0000
committerUrbain Vaes <urbain@vaes.uk>2015-12-17 10:33:50 +0000
commit415a4dc20bfb27fd041b1c4e03af1425e114a58a (patch)
treea0646f2b7c814eae03cf69d5c0add081d9432959 /bin
parent870cd04ecc93924fff2fc26150ace016ca571698 (diff)
Fix bug in script workspace
Diffstat (limited to 'bin')
-rwxr-xr-xbin/workspace2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/workspace b/bin/workspace
index 5a95fde..5b49049 100755
--- a/bin/workspace
+++ b/bin/workspace
@@ -8,6 +8,6 @@ largest_gap=$(echo $used_numbers | awk '$1!=p+1{print p+1}{p=$1}')
target=$(echo $workspaces | dmenu -i -sf green -p "Go to workspace:")
[[ -z $target ]] && exit
-[[ ! $target = [0-9]:* ]] && target=$new_number:$target
+[[ ! $target = [0-9]* ]] && target=$new_number:$target
exec i3-msg workspace $target