lwouis / fat-drive-sorter

Actually sort files on your FAT drives
https://fat-drive-sorter.netlify.app
GNU General Public License v3.0
26 stars 0 forks source link

Illegible text in dark mode #2

Open rotu opened 1 year ago

rotu commented 1 year ago

Describe the bug

In dark mode, the file list shows up as white text on an alternating black/white background. This makes half the entries illegible

Screenshots / video

image

Steps to reproduce the bug

  1. Set system appearance to dark mode
  2. Open a drive and show current file order

Your environment

diegotrystero commented 3 months ago

After trying many other applications i found FatDriveSorter and... IT WORKS! THANK YOU!

EdwardTheGood commented 4 weeks ago

In dark mode, the file list shows up as white text on an alternating black/white background. This makes half the entries illegible

To use in dark mode, at the terminal type:

defaults write com.lwouis.fat-drive-sorter NSRequiresAquaSystemAppearance -bool yes

EdwardTheGood commented 4 weeks ago

I like the GUI interface to the fatsort utility.

Is there a way to sort the files in an arbitrary (custom) order? In other words, non-alphabetical? I ask because I want to add music files to a flash drive but I don't want the filenames to have numbers in them.

If there isn't a way, would you consider adding a feature to drag and drop table rows (or some other GUI mechanism) to order the tracks in an arbitrary (custom) order?

And if you don't have the bandwidth to make this change (and I understand), point me to the right source file and I'll see if I can make the changes myself (I'm an Objective-C programmer but I should be able to figure out the swift code). And I'll forward you my changes.

lwouis commented 4 weeks ago

Hi @EdwardTheGood,

FatDriveSorter is merely a wrapper for fatsort.

You can see the call to fatsort here: https://github.com/lwouis/fat-drive-sorter/blob/master/src/ui/Window.swift#L139

I think you could play around with the flags given to fatsort to achieve the order you desire. Man page is here.

You could also directly use the embedded fatsort as explained here.

I hope you achieve your goal!

Thank you 🙇