summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/.local/bin/keyboard-us2
-rwxr-xr-xbin/.local/bin/workspace2
2 files changed, 2 insertions, 2 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