From 8055bc1554ef171286cf9162253a0b510f344822 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Mon, 7 Dec 2020 19:57:55 +0100 Subject: bin/centercon: fix arithmetic error and also fix centercon usage in swx --- bin/swx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/swx') diff --git a/bin/swx b/bin/swx index 3e894f7..dfe852f 100755 --- a/bin/swx +++ b/bin/swx @@ -144,7 +144,7 @@ sway_props_done= while [ -z "${sway_props_done}" ]; do if [ -n "${floating}" ]; then swaymsg -- [con_id="${con_id}"] floating enable - [ "${floating}" = "1" ] || centercon ${floating} + [ "${floating}" = "1" ] || centercon -w ${floating} fi if [ -n "${into_scratchpad}" ]; then swaymsg -- [con_id="${con_id}"] move to scratchpad -- cgit 1.4.1