We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf0e86b commit d347741Copy full SHA for d347741
float-window-manager/float-window-managerd.sh
@@ -42,7 +42,7 @@ fi
42
43
44
version=$(swaymsg -t get_version | jq -r '.human_readable')
45
-if [[ "$version" < "1.6" ]]; then
+if [ "$(echo -e "$version\n1.6" | sort -V | head -n 1)" = "$version" ]; then
46
echo This version of Sway is earlier than supports moving windows with percentages.
47
echo Version is \'"$version"\'. Version needed: \'1.6\'.
48
exit 1
0 commit comments