From 6eff90919d241f85d285b419556407f9d359360d Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Wed, 13 Mar 2019 14:14:11 +0100 Subject: Fix missing endif --- bin/.local/bin/keyboard-us | 2 +- bin/.local/bin/workspace | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/.local') diff --git a/bin/.local/bin/keyboard-us b/bin/.local/bin/keyboard-us index 5d4f2b7..1b6ceba 100755 --- a/bin/.local/bin/keyboard-us +++ b/bin/.local/bin/keyboard-us @@ -19,4 +19,4 @@ xcape -e 'Control_L=Escape' xmodmap -e "keysym space = Super_L" xmodmap -e "add mod4 = Super_L" xmodmap -e "keycode any = space" -xcape -e 'Super_L=space' +# xcape -e 'Super_L=space' diff --git a/bin/.local/bin/workspace b/bin/.local/bin/workspace index 1d82071..ad378ef 100755 --- a/bin/.local/bin/workspace +++ b/bin/.local/bin/workspace @@ -26,7 +26,7 @@ act_on_container() { target="$existing_target" else # Add number to workspace name (start at 1, but allow 0) - new_number=$(echo "$workspaces" | awk '$1!=p+1 && $1!=0 {exit;}{p=$1} END {print p+1}') + new_number=$(echo "$workspaces" | sort -n | awk '$1!=p+1 && $1!=0 {exit;}{p=$1} END {print p+1}') target=$new_number:$target fi -- cgit v1.2.3