superfile icon indicating copy to clipboard operation
superfile copied to clipboard

Use xdg-user-dirs in sidebar

Open Neburalis opened this issue 1 year ago • 1 comments

Part you want to improve The top part of the sidebar where user directories are displayed: desktop, downloads, etc. Use $XDG_CONFIG_HOME/user-dirs.dirs to display all users directories.

Why improvement is needed I, like probably some other linux users, use a non-standard location of some user directories, it is in the global xdg-user-dirs config by default, but it is commented out. And the current version of superfile does not display them. image

Additional context Part of /etc/xdg/user-dirs.default

<...>
MUSIC=Music
PICTURES=Pictures
VIDEOS=Videos
# Another alternative is:
#MUSIC=Documents/Music
#PICTURES=Documents/Pictures
#VIDEOS=Documents/Videos

I use an alternative option and its (music, pictires and videos folders) doesnt display in sidebar.

freedesktop article about xdg-user-dirs

Neburalis avatar Aug 01 '24 10:08 Neburalis

great idea! thanks for clear up

yorukot avatar Aug 01 '24 17:08 yorukot