moved vt for -S

This commit is contained in:
Harald Hope 2023-11-21 22:44:00 -08:00
parent 37748258b7
commit 5040196193

6
pinxi
View file

@ -36870,6 +36870,9 @@ sub system_item {
$data->{$data_name}[$index]{main::key($num++,0,3,'v')} = $wm_version; $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 ($extra > 2){
if ($screensaver_running || $screensaver_avail){ if ($screensaver_running || $screensaver_avail){
$screensaver_running ||= ''; $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(); my $dms = main::get_display_manager();
# note: version only present if proper extra level so no need to test again # note: version only present if proper extra level so no need to test again
if (@$dms || $desktop_key ne 'Console'){ if (@$dms || $desktop_key ne 'Console'){