mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
fixed little issue, now only shows exact string search for desktop extra info
This commit is contained in:
parent
f83ab4df38
commit
c6af37371d
2
inxi
2
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
|
||||
|
|
Loading…
Reference in a new issue