summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/.local/bin/keyboard-us2
-rwxr-xr-xbin/.local/bin/workspace2
-rw-r--r--vim/.vimrc2
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