diff options
author | Urbain Vaes <urbain@vaes.uk> | 2019-03-13 14:14:11 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2019-03-13 14:14:11 +0100 |
commit | 6eff90919d241f85d285b419556407f9d359360d (patch) | |
tree | e94dd29e43f22bcd43a76aefb73b6f64ed114035 /bin | |
parent | c3672309ea0e3c75ee23e0e272b07e15a5ff2d33 (diff) |
Fix missing endif
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/.local/bin/keyboard-us | 2 | ||||
-rwxr-xr-x | bin/.local/bin/workspace | 2 |
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 |