summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2017-10-19 11:46:45 +0200
committerUrbain Vaes <urbain@vaes.uk>2017-10-19 15:00:41 +0200
commit33f99d8c8954cc365bad766ebacfb67a5b0aef95 (patch)
tree235b0a205c3431778125b4631abda855889c6e5b /bin
parente6acb51e68b9580c327bb268045a4982a5ec5661 (diff)
Minor changes
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