xdg-ninja icon indicating copy to clipboard operation
xdg-ninja copied to clipboard

Scrap XDG Base Directory article on Archwiki

Open ShivanshuKantPrasad opened this issue 2 years ago • 6 comments

I wrote a simple nodejs script that scraps XDG Base Directory article on Archwiki and creates config files that are compatible for xdg-ninja tool.

Script Repo: https://github.com/ShivanshuKantPrasad/xdg-ninja-config-generator

ShivanshuKantPrasad avatar Jan 11 '23 06:01 ShivanshuKantPrasad

This is very cool, but it seems like it'll be quite a bit of work to clean those files up and merge them, I'll start working on it on a separate branch.

b3nj5m1n avatar Jan 11 '23 08:01 b3nj5m1n

You can find the branch here.

I think I removed most of the duplicates.

All the files that have to be cleaned up and moved over to programs/ are in the generated_configs/ directory.

b3nj5m1n avatar Jan 11 '23 09:01 b3nj5m1n

I noticed some entries on archwiki do not have any path. Such entries are useless for xdg-ninja. So I updated the script to ignore any entry without any paths.

List of all ignored files: https://gist.github.com/ShivanshuKantPrasad/0a676d7e1422251f269d86a43d2c8089

ShivanshuKantPrasad avatar Jan 11 '23 14:01 ShivanshuKantPrasad

Thanks, removed those in dbcca96727d4d68ad92458e87b699fbef38795d8.

b3nj5m1n avatar Jan 11 '23 14:01 b3nj5m1n

Hey @b3nj5m1n are you still planning to tackle this? If your branch is stale, perhaps I can work on this

flexagoon avatar Feb 04 '24 13:02 flexagoon

Hey @b3nj5m1n are you still planning to tackle this? If your branch is stale, perhaps I can work on this

@flexagoon If you want to work on this, I'd be very grateful. But be warned, manually going through and removing duplicates and manually cleaning up the configs was some of the most boring work I've ever done, and I feel like I've barely made any progress.

b3nj5m1n avatar Feb 04 '24 14:02 b3nj5m1n