mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +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=""
|
desktops=""
|
||||||
separator=""
|
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
|
# only one entry per type, can be multiple
|
||||||
if ( desktops !~ $NF ) {
|
if ( desktops !~ $NF ) {
|
||||||
desktops = desktops separator $NF
|
desktops = desktops separator $NF
|
||||||
|
|
Loading…
Reference in a new issue