All of lore.kernel.org
 help / color / mirror / Atom feed
* Suggestion: make iwctl follow the XDG Base Directory Specification
@ 2019-12-07 10:47 hoe.dom
  2019-12-07 15:47 ` Marcel Holtmann
  0 siblings, 1 reply; 5+ messages in thread
From: hoe.dom @ 2019-12-07 10:47 UTC (permalink / raw)
  To: iwd

[-- Attachment #1: Type: text/plain, Size: 613 bytes --]

Hi.
Currently iwctl writes its history to a file named .iwctl_history in the users home directory. The XDG Base Directory Specification tries to standardize these kind of things (see https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html for details). The bottom line would probably be to:
* check XDG_DATA_HOME (with fall back to .local/share/) and save the history in an iwd subfolder of that directory
* potentially read (and migrate?) .iwctl_history from the home directory for compatibility purposes

Thanks for iwd by the way. Its a huge improvement over the wpa_supplicant world!

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-12-13  8:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-07 10:47 Suggestion: make iwctl follow the XDG Base Directory Specification hoe.dom
2019-12-07 15:47 ` Marcel Holtmann
2019-12-10 13:04   ` Xaver =?unknown-8bit?q?H=C3=B6rl?=
2019-12-10 13:06   ` [PATCH] client: Follow the xdg base directory specification Xaver =?unknown-8bit?q?H=C3=B6rl?=
2019-12-13  8:36     ` Marcel Holtmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.