Closed white-dragon closed 4 years ago
--- tabbedex.orig 2020-01-08 01:48:27.271935314 +0300 +++ tabbedex 2020-01-08 01:53:38.352589793 +0300 @@ -668,7 +668,7 @@ if ($tab == $root->{cur}) { $cur_idx = $_; } - my $name = $tab->{name} || '' . ($_ + 1); + my $name = $tab->{name} || '' . ($_ + $root->{tab_idx_start}); my $length = length $name; $total_full += 3 + $length; $total_truncated += 3 + ($length < $max ? $length : $max); @@ -1066,6 +1066,7 @@ $root->{register_keysyms} = !$rs->bool('no-tabbedex-keys', 0); $root->{reopen_on_close} = $rs->bool('reopen-on-close', 0); $root->{tab_arguments} = $rs->text('tab-arguments', ''); + $root->{tab_idx_start} = $rs->text('tab-idx-start', 1); # TODO: Remove the warning in late 2020. if (defined $rs->text('new-tab-command')) {
I’m not convinced this is worth it. This option actually used to exist along with an option to use hex numbering but in the end I’ve got rid of it because it has very little utility.