Commit graph

26 commits

Author SHA1 Message Date
Lilian Jónsdóttir 2d0d5bad1e add flag to clean/restore all with confirmation
also swap case on date filter flags
2024-07-16 11:15:40 -07:00
Lilian Jónsdóttir b0c5c9ed69 don't clean or restore nothing 2024-07-16 11:11:42 -07:00
Lilian Jónsdóttir e5345426bc I dunno why I did that 2024-07-15 17:55:51 -07:00
Lilian Jónsdóttir 5769cc3a6e adjust column sizes again 2024-07-15 17:10:57 -07:00
Lilian Jónsdóttir 30b605a230 replace workdir with /
and do it right this time

I hope...
2024-07-15 17:10:38 -07:00
Lilian Jónsdóttir f193d0f5b3 adjust table column widths 2024-07-15 16:33:45 -07:00
Lilian Jónsdóttir 536fc9e925 clean dir input 2024-07-15 16:33:45 -07:00
Lilian Jónsdóttir 26f5f383ce don't replace workdir anymore 2024-07-15 15:59:54 -07:00
Lilian Jónsdóttir 1a9e64d473 add flag to list and quit
maybe someday it'll do it automatically when the window is bigger than the table
2024-07-15 15:41:49 -07:00
Lilian Jónsdóttir 0e147e283b sorting preserves selection state 2024-07-15 15:32:33 -07:00
Lilian Jónsdóttir e0ffb8502c sort by name by default 2024-07-03 15:34:23 -07:00
Lilian Jónsdóttir 6af87e4d9d add keybind to sort table
lots of refactoring to do so
files on disk, and files in trash interface'd so table is agnostic
model keeps track of the files now, to facilitate sorting, and updates its own rows accordingly
2024-07-03 15:09:05 -07:00
Lilian Jónsdóttir f859631f4e display workdir in header if used
and truncate in table view
2024-06-30 20:01:36 -07:00
Lilian Jónsdóttir ba20b23767 show only selected rows when confirming 2024-06-29 19:58:20 -07:00
Lilian Jónsdóttir d4d061b31e what even is consistency 2024-06-29 19:54:15 -07:00
Lilian Jónsdóttir a3ff94ec8e play nice with other implementations that replace " " with "%20" 2024-06-28 10:45:44 -07:00
Lilian Jónsdóttir 88117de11a c/r keys only work in interactive mode 2024-06-24 21:54:14 -07:00
Lilian Jónsdóttir 5c4ce9a732 shorten up table help a bit 2024-06-20 23:06:30 -07:00
Lilian Jónsdóttir 966643fd2e replace workdir with . in tables 2024-06-19 22:21:35 -07:00
Lilian Jónsdóttir 6caf3a8bc7 improve table help display 2024-06-19 21:36:13 -07:00
Lilian Jónsdóttir c509d8fa1f dramatically speed up inverting selection on huge amounts of files
was okay on 10k-40k files, but 800k took 3 minutes
now 800k files is barely perceptibly longer than instantly
2024-06-19 21:17:55 -07:00
Lilian Jónsdóttir 85d7d944b4 add total files to table header 2024-06-19 20:23:23 -07:00
Lilian Jónsdóttir 7b61227158 dramatically speed up selecting large amount of files 2024-06-19 20:23:05 -07:00
Lilian Jónsdóttir 2f56ecf40b add interactive mode
when run with no args, interactive mode is launched
files in trash are listed, select files, and use r/c to restore/clean them
2024-06-19 19:19:07 -07:00
Lilian Jónsdóttir 00b5808b1a add keybinds for selection: all, none, invert 2024-06-19 19:19:07 -07:00
Lilian Jónsdóttir 00cee25075 add interactive tables for all commands 2024-06-19 19:19:07 -07:00