Commit graph

8 commits

Author SHA1 Message Date
Jeremy Soller
db485798da
Improve dialog handling 2024-02-13 12:29:50 -07:00
Josh Megnauth
e697e96afe Small TabConfig clean ups
* Rename `config::Tab` to `TabConfig`
* Use the loaded tab config instead of the default (oops)
2024-02-11 07:23:02 -07:00
Josh Megnauth
bc5b46d552 feat: Toggle showing hidden items
`ctrl` + `h` toggles the visibility of hidden files and folders per tab.
The per tab option overrides the global option. So, a user may set
hidden items to be visible by default (global option) but override it
per tab with `ctrl` + `h`.

Currently, per tab options aren't presented anywhere in the UI such as a
menu, so the hotkey is the only way to use this feature for now.
2024-02-11 07:23:02 -07:00
Josh Megnauth
073a9a95ab Add a per Tab config
A tab config is useful for allowing users to show hidden files, sorting
by different metrics such as size or MIME type, as well as providing a
way to implement some of the todos such as configurable icon sizes for
views.
2024-02-11 07:23:02 -07:00
Jeremy Soller
588211adb0 Enable multi-window feature of libcosmic 2024-02-01 19:40:37 -07:00
Jeremy Soller
2832e6066e Forward selected path to caller 2024-02-01 17:43:41 -07:00
Jeremy Soller
c6eecbddd8 Add open/cancel buttons to dialog 2024-02-01 17:34:22 -07:00
Jeremy Soller
d271159c07
Add dialog example 2024-02-01 15:55:52 -07:00