diff --git a/run-sway b/run-sway
index bf9ca3d732202d2ebf5efa8c4ee67dcadbfc11e1..36edc40fca7976cb14ba4836c1a4787d87a8dbc8 100755
--- a/run-sway
+++ b/run-sway
@@ -14,7 +14,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 2> $STDERR"
+swaymsg bar $SWAY_BAR_ID status_command "exec $(stack path --local-install-root)/bin/$EXECUTABLE_NAME $@ -- server 2> $STDERR"
 
 # show output and run forever (use Ctrl-C to stop)
 cat $STDERR