diff --git a/bin/secondscreen b/bin/secondscreen index 0e1196c..e91d562 100755 --- a/bin/secondscreen +++ b/bin/secondscreen @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -x colored_star_message() { local color="$1" @@ -55,6 +55,8 @@ create() { "${resolution}@$(get_mainmon_refrate)," \ "${position}," \ 1 + else + vscreen_name="$(get_vscreen_name)" fi if ! vnc_running; then