summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/bin/monitor2
-rwxr-xr-xbin/bin/move_workspace6
2 files changed, 4 insertions, 4 deletions
diff --git a/bin/bin/monitor b/bin/bin/monitor
index e51b3bb..6f4267e 100755
--- a/bin/bin/monitor
+++ b/bin/bin/monitor
@@ -54,7 +54,7 @@ do
then
TILES[$index]="Dual Screen ${MONITORS[$entry_a]} -> ${MONITORS[$entry_b]}"
COMMANDS[$index]="xrandr --output ${MONITORS[$entry_a]} --auto \
- --output ${MONITORS[$entry_b]} --auto --left-of ${MONITORS[$entry_a]}"
+ --left-of ${MONITORS[$entry_b]} --auto"
index+=1
fi
diff --git a/bin/bin/move_workspace b/bin/bin/move_workspace
index d7944de..a56ff3f 100755
--- a/bin/bin/move_workspace
+++ b/bin/bin/move_workspace
@@ -15,7 +15,7 @@ i3-msg rename workspace to ${new_number}:${focused_name}
if [[ ! -z "${next// }" ]]; then
name_next=${next#*:}
- i3-msg workspace "${next}"
- i3-msg rename workspace to ${focused_number}:${name_next}
- i3-msg workspace "${new_number}:${focused_name}"
+ i3-msg "workspace ${next};\
+ rename workspace to ${focused_number}:${name_next};\
+ workspace ${new_number}:${focused_name}"
fi