Gregory
3676ed84d4
Update desktop entry test case with mime types
2021-04-24 22:36:49 -04:00
Gregory
865e00a6e5
Fix missing last mime
2021-04-24 22:30:57 -04:00
Gregory
f2aa0e818a
cleanup
2021-04-23 18:24:52 -04:00
Gregory
18b0f0085e
Fix handling of terminal apps | #30 , #34
2021-04-23 17:33:22 -04:00
Aetf
52ef04d4ed
prefer content based guessing to get MIME from file path
2021-01-26 17:43:50 -05:00
Gregory
46a59968af
Merge pull request #28 from benmaddison/multiple-open-#26
...
handle multiple 'open' paths with their correct handlers
2020-12-19 16:36:41 -05:00
Gregory
62ddd7b6c2
terminal app - spawn()
2020-12-19 16:29:44 -05:00
Gregory
7ac4917ddd
rm flaky test
2020-12-19 16:29:32 -05:00
Ben Maddison
65c0c2c6d2
handle multiple 'open' paths with their correct handlers
2020-11-29 23:49:15 +02:00
Ben Maddison
96a5176b25
fix default config values
2020-11-11 13:27:07 +02:00
Gregory
53278c0a7e
list - add detailed output option
2020-11-07 14:00:04 -05:00
Gregory
39965313d2
Cleanup
2020-11-07 13:46:11 -05:00
Gregory
b6c6433aa3
misc improvements
2020-11-04 00:05:56 -05:00
Gregory
06b5355acc
Merge pull request #22 from leiserfg/terminal-from-env
...
Use TERMINAL from environment as default terminal emulator
2020-10-12 12:31:25 -04:00
leiserfg
fc8e2796ca
Remove schema from x-scheme-handler/file files
2020-10-07 08:05:42 +02:00
leiserfg
f926259a12
Use TERMINAL from environment as default terminal emulator
2020-10-06 21:39:40 +02:00
ftilde
a009331856
Launch process in terminal emulator if required
...
If a desktop entry requires a terminal, but the current process does not
run in one, the process would previously run invisibly in the
background. Now we instead start the process in a newly launched
terminal in that case. This is especially useful when (for example)
opening text files downloaded in a browser using the system open dialog.
For now the terminal emulator to be used is specified in the
configuration file. When/if there is a standard way to select the
terminal emulator, it is conceivable to use that method instead or if no
config item is present (see
https://gitlab.freedesktop.org/xdg/xdg-utils/-/issues/84 ).
2020-09-29 21:06:11 +02:00
Gregory
2d1974c5bb
Overhaul extension => mime retrieval | #9
2020-06-20 21:23:08 -04:00
Gregory
fb98e4e2f5
Rely on a more robust entry parser | #9
2020-06-19 20:22:49 -04:00
Gregory
845aa5f213
implement reasonable fallback for text/* types
2020-06-18 15:50:59 -04:00
Gregory
29534ae341
Better handle cancellation
2020-06-12 14:56:30 -04:00
Gregory
3ce7a69d46
Better default selector
2020-06-12 14:46:55 -04:00
Gregory
dc12926bd4
Cleanup
2020-06-12 14:45:25 -04:00
Gregory
84a5df3e98
Fix mime_types logic and add some tests
2020-06-12 01:44:00 -04:00
Gregory
4f2940135e
more reliable matching using libmagic
2020-06-12 01:20:31 -04:00
Gregory
d8ef67c12f
notifications - use notify-send
2020-06-10 15:21:37 -04:00
Gregory
63bc4697c7
Improve mime detection
2020-06-10 15:08:39 -04:00
Gregory
66bcde83f4
cleanup
2020-06-10 14:22:26 -04:00
Gregory
e33f52cbb5
Better errors
2020-06-10 14:14:32 -04:00
Gregory
31bc3e3370
Fix launch with multiple args
2020-06-07 14:48:12 -04:00
Gregory
1c461f5b57
desktop entry - clean up
2020-06-06 23:54:40 -04:00
Gregory
9d726cb6af
Implement config and multi-handler selection
2020-06-06 01:51:58 -04:00
Gregory
935d1daa87
Reorganize and partially rewrite
2020-06-06 00:24:32 -04:00
Gregory
d45027a408
Merge branch 'master' of github.com:chmln/handlr
2020-05-30 18:40:14 -04:00
Gregory
1ecafc1162
Implement add cmd
2020-05-30 18:40:06 -04:00
Gregory
7bebc62d51
Use xdg-mime for better detection from file
2020-05-30 18:39:48 -04:00
Gregory
da917a871a
common - cleanup
2020-05-30 18:39:18 -04:00
Joseph Thommes
53205d6494
Make distiction between terminal and non-terminal applications
2020-05-28 15:57:28 +02:00
Gregory
e86d7dd316
Filter out non-desktop files
...
#3
2020-05-22 19:36:16 -04:00
Gregory
e682e42bcb
Fix launch
without any args
2020-05-18 21:59:40 -04:00
Gregory
4561ad5dab
Implement XDG_DATA_DIRS support | #3
2020-05-18 20:04:48 -04:00
Gregory
e867ffe1c4
Handle %u in .desktop files
...
resolves #1
2020-05-18 16:58:59 -04:00
Gregory
8d33a67100
Remove rayon, deemed unneeded after benchmarks
2020-05-17 16:01:26 -04:00
Gregory
5629d971f6
Combine mimes with extensions
2020-05-17 15:48:56 -04:00
Gregory
8d26b7f5dd
Handle directories
2020-05-17 00:45:25 -04:00
Gregory
e2931dce75
Remove derive_more
2020-05-16 03:23:53 -04:00
Gregory
6da612bee1
Polish
2020-05-16 03:19:50 -04:00
Greg
5ce3e839e3
upd
2020-05-01 10:35:41 -04:00
Greg
13d3b0f5f8
handle %F
2020-04-15 17:22:24 -04:00
Greg
9a39c056e8
implement unset
2020-04-15 17:22:09 -04:00