diff --git a/inxi b/inxi index d7e52d4..de26109 100755 --- a/inxi +++ b/inxi @@ -3368,7 +3368,7 @@ get_desktop_extra_data() desktops="" separator="" } - /cinnamon|gnome-shell|gnome-panel|lxpanel|mate-panel|plasma-desktop|xfce4-panel/ { + /(cinnamon|gnome-shell|gnome-panel|lxpanel|mate-panel|plasma-desktop|xfce4-panel)$/ { # only one entry per type, can be multiple if ( desktops !~ $NF ) { desktops = desktops separator $NF