Commit graph

154 commits

Author SHA1 Message Date
884c20ce61 version bump - v0.0.3
- add support for .Trash and .Trash-$(id -u) directories on non-home partitions
- add support for reading from and writing to $trashDir/directorysizes
2024-08-14 19:02:33 -07:00
cb47a01884 add support for reading/writing $trashDir/directorysizes
- show total trash size in header
2024-08-14 19:01:54 -07:00
6c3abd8d98 listing prints plainly if in non-interative terminal 2024-08-14 15:48:06 -07:00
34eef6a228 replace os.Stat with os.Lstat 2024-08-14 15:08:50 -07:00
50f4dbda8a some clean up 2024-08-14 15:08:50 -07:00
d8ec25b36d use percent encoding on filenames 2024-08-05 23:09:52 -07:00
d6f066095b unexport and rearrange some functions 2024-08-05 23:06:37 -07:00
4a10d7794f add support for $topdir Trash directories 2024-08-05 22:40:11 -07:00
cc973694e5 search only "info" folder for trashinfo files
swap filepath.WalkDir for os.ReadDir
I don't really know why I used WalkDir in the first place
2024-08-05 22:02:56 -07:00
44da4acbbd update readme 2024-07-31 10:12:06 -07:00
03c09e1da6 version bump
- respond to terminal resize events
- update packaging script
2024-07-31 09:51:05 -07:00
40521eb646 handle terminal resize event 2024-07-31 00:53:02 -07:00
dd6d3421b0 update readme 2024-07-31 00:51:14 -07:00
98a5044662 make linter happier 2024-07-31 00:13:48 -07:00
747a24ebd6 update justfile package command
- include screenshots (moved to their own dir), completions
- build for x86_64, arm, and arm64
2024-07-31 00:03:25 -07:00
d4f086ab54 add screenshots to README 2024-07-30 21:54:22 -07:00
e57afe835d make model.header() less gross
model.showHelp() too
2024-07-30 21:30:06 -07:00
cf82990925 update readme to be more inline with manpage 2024-07-30 21:07:48 -07:00
a6a62f74d1 add package commands to justfile
and remove the old windows binary boilerplate I had forgotten about
2024-07-30 21:06:32 -07:00
be41eadb43 update readme and manpage 2024-07-30 20:06:52 -07:00
b2854a5b98 add manpage gt(1) 2024-07-30 19:55:55 -07:00
8b01bffffe fix panic when listing and restoring/cleaning wrong file 2024-07-30 19:44:02 -07:00
0d952302d6 add selectall back
because I'm dumb
2024-07-30 19:42:59 -07:00
48844886a9 make filter case insensitive 2024-07-30 18:53:44 -07:00
1403f2e62f properly handle filtered files being empty 2024-07-30 18:48:49 -07:00
ed2def9c2f add filter to table 2024-07-30 18:37:59 -07:00
3e195f0d73 add function to style keybind for header 2024-07-30 18:28:30 -07:00
3f317d58df use const instead of magic strings 2024-07-30 18:28:30 -07:00
8e8434bb18 update modules 2024-07-30 18:07:07 -07:00
8d7db7cfa7 improve command help text 2024-07-30 14:31:45 -07:00
7c0f78f4d6 more consistent errors 2024-07-30 14:19:42 -07:00
437101b947 don't die on error trashing one file
try trashing all the rest instead
2024-07-30 13:53:50 -07:00
c33afe615c add description to cli help 2024-07-30 13:50:21 -07:00
11b22887f4 remove preselection of items
just hit 'a' if you want to select all
2024-07-30 13:12:00 -07:00
0fd14c1949 oops I used the wrong print 2024-07-30 13:03:58 -07:00
b6cb6df999 less magic numbers 2024-07-30 13:03:33 -07:00
84e0c9c926 make date column header in table depend on mode 2024-07-30 11:51:12 -07:00
9b87c02744 make linters happy
fix typos, less short and more idomatic variable names, package comments, etc.
2024-07-30 11:43:54 -07:00
50e8c992d1 cleanup model View() a bit
remove some cruft and verbosity and weird order of things
2024-07-28 23:36:51 -07:00
1a03f7f23f cleanup model Update() a bit
and repeat less
2024-07-28 23:31:38 -07:00
73a63db198 sort filenames by number
but only if filename is just a number
^[0-9]+\.({extension})$
2024-07-28 23:30:20 -07:00
1ac1f1c01f give variables names that are less bad 2024-07-28 19:02:11 -07:00
d2abc90638 don't add files in cwd if workdir is specified
this might be a bad and ugly way of doing it but w/e
2024-07-28 19:00:19 -07:00
ea12273da7 log error if unknown log level is passed 2024-07-28 18:29:55 -07:00
dc27974950 update fish completion 2024-07-28 18:29:39 -07:00
b065126c46 split table header into left and right aligned parts 2024-07-28 18:18:16 -07:00
2bffa7518c improve help in header 2024-07-28 18:07:23 -07:00
eafd8cd33d sort some functions
exported on top
2024-07-28 18:07:07 -07:00
c80cf605a8 rename package tables to interactive 2024-07-28 18:06:41 -07:00
b16a8101d5 reverse size sorting
I don't know why I did that in the first place
2024-07-28 18:04:12 -07:00