Commit graph

17 commits

Author SHA1 Message Date
Ashley Wulber
eea916d783
feat: responsive menu bar (#938) 2025-04-15 18:04:07 -06:00
Joshua Megnauth
b6c033562b
Add tests for exec_to_command (#935) 2025-04-15 09:09:31 -06:00
Joshua Megnauth
5033b9dfed
fix: Handle complex Exec keys in desktop entries (#930)
Closes: #922, #924, #925, #928

My original patch, #891, mishandled Exec keys. The ordering of arguments
matters for the keys, such as for Flatpak apps.
2025-04-10 18:19:07 -06:00
Josh Megnauth
42cad87825
feat: Open multiple files with one/multiple apps
Opening multiple selected paths should:
* Launch one app that supports all of the file paths e.g. an image
  viewer that allows cycling through the selected images
* Launch multiple instances of an app if the app doesn't handle multiple
  URLs, such as nsxiv
* Launch different apps for a heterogeneous mix of URLs while taking
  into account the two rules above. For example, launching a mix of
  paths of images, videos, and text should open the correct apps
2025-03-27 02:08:38 -04:00
Josh Megnauth
cfe045827d chore(clippy): app.rs, mime_app.rs 2025-01-27 11:51:32 -07:00
Jeremy Soller
ceab7835ad
Clean up mime app handling and make it possible to set default application, part of #325 2025-01-24 11:55:56 -07:00
Josh Megnauth
8ff54d1522 chore(clippy): mime_app, operation, mounter
Fixes Clippy lints for:
* src/mounter/
* src/operation/
* src/mime_app.rs
* src/mouse_area.rs (I missed two of them last time)
2025-01-22 08:10:05 -07:00
Jeremy Soller
7f60a0c710
Support browsing for application in open with dialog 2024-10-03 15:16:17 -06:00
Jeremy Soller
fef57ee031
Improved open with dialog, part of #547 2024-10-03 14:54:18 -06:00
Jeremy Soller
5d596239be Desktop mode 2024-09-11 11:15:53 -06:00
Josh Megnauth
783256fe8b
fix: Panic on long numerical file names
Closes: #258

[lexical_sort](https://github.com/Aloso/lexical-sort) is currently
unmaintained. The author recommends switching to the `icu` crate which
is maintained by the Unicode Consortium.
2024-07-08 02:00:52 -04:00
Jeremy Soller
b72de689e2
Reduce log level for missing mime applications 2024-03-04 12:24:13 -07:00
Jeremy Soller
d7eceaad2e
Ensure default apps are added as associations 2024-03-04 12:22:27 -07:00
Jeremy Soller
3d34e3e49f
Parse desktop specific mimeapps files 2024-03-04 11:46:38 -07:00
Jeremy Soller
a4efff3873
Put default app first in open with list 2024-03-04 11:30:51 -07:00
Jeremy Soller
ef040c4277
Implement open in terminal 2024-03-04 10:28:16 -07:00
Jeremy Soller
26173d6529
Partial open with implementation, parse mimeapps.list files 2024-03-01 16:10:30 -07:00