diff --git a/pinxi b/pinxi index 3ea92d2..67f7a25 100755 --- a/pinxi +++ b/pinxi @@ -36870,6 +36870,9 @@ sub system_item { $data->{$data_name}[$index]{main::key($num++,0,3,'v')} = $wm_version; } } + if ($extra > 2 && $b_display && defined $ENV{'XDG_VTNR'}){ + $data->{$data_name}[$index]{main::key($num++,0,2,'vt')} = $ENV{'XDG_VTNR'}; + } if ($extra > 2){ if ($screensaver_running || $screensaver_avail){ $screensaver_running ||= ''; @@ -36879,9 +36882,6 @@ sub system_item { } } } - if ($extra > 2 && $b_display && defined $ENV{'XDG_VTNR'}){ - $data->{$data_name}[$index]{main::key($num++,0,2,'vt')} = $ENV{'XDG_VTNR'}; - } my $dms = main::get_display_manager(); # note: version only present if proper extra level so no need to test again if (@$dms || $desktop_key ne 'Console'){