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 +- vim/.vimrc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 diff --git a/vim/.vimrc b/vim/.vimrc index eecd1c5..f09edfd 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -262,7 +262,7 @@ function! Multiple_cursors_after() if has("nvim") let b:deoplete_disable_auto_complete = 0 call deoplete#enable() - else + endif endfunction "" Vim variables {{{1 -- cgit v1.2.3