From efda727106850755e360240eec96da8300bdf002 Mon Sep 17 00:00:00 2001 From: John Mertz Date: Sun, 21 Jan 2024 19:49:13 -0700 Subject: [PATCH] Append to previous --- sway/displays.pl | 1 + 1 file changed, 1 insertion(+) 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})