mirror of
https://github.com/smxi/inxi.git
synced 2025-01-19 00:47:47 +00:00
moved vt for -S
This commit is contained in:
parent
37748258b7
commit
5040196193
6
pinxi
6
pinxi
|
@ -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'){
|
||||||
|
|
Loading…
Reference in a new issue