From 5040196193ad55fc18115c8e95f6ee2bb2c60499 Mon Sep 17 00:00:00 2001 From: Harald Hope Date: Tue, 21 Nov 2023 22:44:00 -0800 Subject: [PATCH] moved vt for -S --- pinxi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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'){