`xfconf-query` prints lists in a uniform machine-readable way
Hi. I tried to use xfconf-query
to save and restore panel config, but realized that I can't do that. One of reasons is that this tool doesn't print values in a uniform machine-readable way. For example, when querying a list, I see
[grwlf@darktower ~/.config/xfce4/xfconf ]$ xfconf-query -c xfce4-panel -p /plugins/plugin-9/items
Значение является массивом с 12 элементами:
-lock-screen
-switch-user
-separator
-suspend
-hibernate
-separator
+shutdown
-restart
-separator
-logout
-logout-dialog
-hybrid-sleep
How should I parse the first line?
How should I distinguish it from
[grwlf@darktower ~/.config/xfce4/xfconf ]$ xfconf-query -c xfce4-panel -p /plugins/plugin-9/appearance
0
?