diff --git a/bin/run-sway b/bin/run-sway
index 156779a7237342a41988ee896aa1ffe89ad41c96..d3275fb2d965acd9daa389e8686c219536d11754 100755
--- a/bin/run-sway
+++ b/bin/run-sway
@@ -17,7 +17,7 @@ mkfifo $stderr
 
 trap "swaymsg bar $sway_bar_id status_command '$default_bar_command'; rm -rf $temp_dir" EXIT INT HUP TERM
 
-swaymsg bar $sway_bar_id status_command "exec $(stack path --local-install-root)/bin/$executable_name $@ -- server swaybar 2> $stderr"
+swaymsg bar $sway_bar_id status_command "exec $(stack path --local-install-root)/bin/$executable_name server swaybar $* 2> $stderr"
 
 # show output and run forever (use Ctrl-C to stop)
 cat $stderr