diff --git a/sway/displays.pl b/sway/displays.pl index 1611b46..ffb5ac3 100755 --- a/sway/displays.pl +++ b/sway/displays.pl @@ -414,6 +414,7 @@ foreach my $out (keys %$on) { { $cmd .= " mode $on->{$out}->{width}x" . "$on->{$out}->{height}" . + (defined($on->{$out}->{refresh}) ? '@'.$on->{$out}->{refresh}.'Hz' : ''); } if (defined $on->{$out}->{bg} && -f $on->{$out}->{bg})