added dawn, dusk wm

This commit is contained in:
Harald Hope 2023-11-27 22:25:38 -08:00
parent 28d5402459
commit 45820b77d7

30
pinxi
View file

@ -51,7 +51,7 @@ use POSIX qw(ceil uname strftime ttyname);
my $self_name='pinxi';
my $self_version='3.3.31';
my $self_date='2023-11-27';
my $self_patch='18';
my $self_patch='19';
## END INXI INFO ##
my ($b_pledge,@pledges);
@ -4084,11 +4084,13 @@ sub set_program_values {
'cosmic-comp' => ['^cosmic-comp',0,'0','cosmic-comp',0,1,0,'',''], # unverified
'ctwm' => ['^\S',1,'-version','ctwm',0,1,0,'',''],
'cwm' => ['^cwm',0,'0','CWM',0,1,0,'',''], # no version
'dawn' => ['^dawn',1,'-v','dawn',0,1,1,'^dawn-',''], # to stderr, not verified
'dcompmgr' => ['^dcompmgr',0,'0','dcompmgr',0,1,0,'',''], # unverified
'deepin' => ['^Version',2,'file','Deepin',0,100,'=','','/etc/deepin-version'], # special
'deepin-metacity' => ['^metacity',2,'--version','Deepin-Metacity',0,1,0,'',''],
'deepin-mutter' => ['^mutter',2,'--version','Deepin-Mutter',0,1,0,'',''],
'deepin-wm' => ['^gala',0,'0','DeepinWM',0,1,0,'',''], # no version
'dusk' => ['^dusk',1,'-v','dusk',0,1,1,'^dusk-',''], # to stderr, not verified
'dwc' => ['^dwc',0,'0','dwc',0,1,0,'',''], # unverified
'dwl' => ['^dwl',0,'0','dwl',0,1,0,'',''], # unverified
'dwm' => ['^dwm',1,'-v','dwm',0,1,1,'^dwm-',''],
@ -29446,10 +29448,10 @@ sub get_ps_de_data {
# unverfied: 2bwm catwm mcwm penrose snapwm uwm wmfs wmfs2 wingo wmii2
# xfdesktoo is fallback in case not in xprop
my @wms = qw(icewm 2bwm 9wm aewm aewm\+\+ afterstep amiwm antiwm awesome
blackbox bspwm calmwm catwm cde ctwm dwm echinus evilwm fluxbox fvwm
hackedbox herbstluftwm instantwm i3 ion3 jbwm jwm larswm leftwm lwm
matchbox-window-manager mcwm mini musca mvwm mwm nawm notion nscde
openbox pekwm penrose qvwm ratpoison
blackbox bspwm calmwm catwm cde ctwm dawn dusk dwm echinus evilwm
fluxbox fvwm hackedbox herbstluftwm instantwm i3 ion3 jbwm jwm
larswm leftwm lwm matchbox-window-manager mcwm mini musca mvwm mwm
nawm notion nscde openbox pekwm penrose qvwm ratpoison
sawfish scrotwm snapwm spectrwm tinywm tvtwm twm uwm
windowlab wmfs wmfs2 wingo wmii2 wmii wmx xmonad yeahwm);
my $matches = join('|',@wms) . $wl_compositors;
@ -29574,13 +29576,13 @@ sub get_wm_main {
# due to lisp/python starters, clfswm/stumpwm/qtile will not detect here
my @wms = qw(2bwm 9wm aewm aewm\+\+ afterstep amiwm antiwm awesome blackbox
calmwm catwm clfswm compiz ctwm (openbsd-)?cwm fluxbox bspwm budgie-wm
deepin-wm dwm echinus evilwm flwm fvwm-crystal fvwm1 fvwm2 fvwm3 fvwm95
fvwm gala gnome-shell hackedbox i3 instantwm ion3 jbwm jwm twin kwin_wayland
kwin_x11 kwinft kwin larswm leftwm lwm matchbox-window-manager marco mcwm mini
muffin musca deepin-mutter mutter deepin-metacity metacity mvwm mwm
nawm notion openbox qtile qvwm penrose ratpoison sawfish scrotwm snapwm
spectrwm stumpwm tinywm tvtwm twm ukwm windowlab WindowMaker wingo wmfs2?
wmii2? wmx xfwm[45]? xmonad yeahwm);
deepin-wm dawn dusk dwm echinus evilwm flwm fvwm-crystal fvwm1 fvwm2 fvwm3
fvwm95 fvwm gala gnome-shell hackedbox i3 instantwm ion3 jbwm jwm twin
kwin_wayland kwin_x11 kwinft kwin larswm leftwm lwm matchbox-window-manager
marco mcwm mini muffin musca deepin-mutter mutter deepin-metacity metacity
mvwm mwm nawm notion openbox qtile qvwm penrose ratpoison sawfish scrotwm
snapwm spectrwm stumpwm tinywm tvtwm twm ukwm windowlab WindowMaker wingo
wmfs2? wmii2? wmx xfwm[45]? xmonad yeahwm);
my $wms = join('|',@wms) . $wl_compositors;
foreach my $psg (@ps_gui){
if ($psg =~ /^($wms)$/){
@ -34439,8 +34441,8 @@ sub set_ps_gui {
push(@match,@temp);
@temp=qw(2bwm 3dwm 9wm afterstep aewm aewm\+\+ amiwm antiwm awesome
blackbox bspwm calmwm catwm cde (sh|c?lisp).*clfswm ctwm (openbsd-)?cwm
dwm evilwm
fluxbox flwm flwm_topside fvwm.*-crystal fvwm1 fvwm2 fvwm3 fvwm95 fvwm
dawn dusk dwm evilwm fluxbox flwm flwm_topside
fvwm.*-crystal fvwm1 fvwm2 fvwm3 fvwm95 fvwm
herbstluftwm i3 icewm instantwm ion3 jbwm jwm larswm leftwm lwm
matchbox-window-manager mcwm mini monsterwm musca mwm nawm notion
openbox nscde pekwm penrose python.*qtile qvwm ratpoison