Commit Graph

48 Commits

Author SHA1 Message Date
Jack L. Frost 8f4b3af31c decode the URI always
Signed-off-by: fbt <fbt@fleshless.org>
2019-06-16 14:53:37 +03:00
Jack L. Frost 27801d670f I have no ide how that piece of code got mangled
Signed-off-by: fbt <fbt@fleshless.org>
2018-08-02 12:52:56 +03:00
Jack L. Frost d706122511 kek
Signed-off-by: fbt <fbt@fleshless.org>
2018-08-01 20:20:59 +03:00
Jack L. Frost bdfa690762 remove redundant parts
Signed-off-by: fbt <fbt@fleshless.org>
2018-08-01 19:59:02 +03:00
Jack L. Frost 509f11cd87 Handle symlinks gracefully
Signed-off-by: fbt <fbt@fleshless.org>
2018-08-01 19:23:59 +03:00
Jack L. Frost ada3aafd2c Tiny fix: make file follow symlinks
Signed-off-by: fbt <fbt@fleshless.org>
2018-08-01 18:27:45 +03:00
Jack L. Frost beae2098fb duh
Signed-off-by: fbt <fbt@fleshless.org>
2018-07-29 10:10:08 +03:00
Jack L. Frost 4d9c558264 bugfix
Signed-off-by: fbt <fbt@fleshless.org>
2018-07-27 23:49:51 +03:00
Jack L. Frost ccad66749c what are the chances you actually need literal '%template' in cmd?
Signed-off-by: fbt <fbt@fleshless.org>
2018-07-27 20:43:04 +03:00
Jack L. Frost 5675a08012 exit here
Signed-off-by: fbt <fbt@fleshless.org>
2018-07-27 20:21:26 +03:00
Jack L. Frost 213c8e4ce2 Configuration is serious business
Signed-off-by: fbt <fbt@fleshless.org>
2018-07-27 20:03:36 +03:00
Jack L. Frost 614b2bea94 a key to disable desktop notifications
Signed-off-by: fbt <fbt@fleshless.org>
2018-07-27 18:34:22 +03:00
Jack L. Frost 240d35cba3 use notify-send if available
Signed-off-by: fbt <fbt@fleshless.org>
2018-07-27 18:32:42 +03:00
Jack L. Frost 2b1353ac9c wut?
Signed-off-by: fbt <fbt@fleshless.org>
2018-07-27 17:50:32 +03:00
Jack L. Frost 0b3468ed49 macro support
Signed-off-by: fbt <fbt@fleshless.org>
2018-07-27 17:48:58 +03:00
Jack L. Frost a77e18d908 nify the handler functions
Signed-off-by: fbt <fbt@fleshless.org>
2018-07-27 17:35:51 +03:00
Jack L. Frost f68c9e817b This is why I stopped doing a release every few commits
Signed-off-by: fbt <fbt@fleshless.org>
2018-07-27 17:02:22 +03:00
Jack L. Frost 739c430e42 even smarter DSL
Signed-off-by: fbt <fbt@fleshless.org>
2018-07-27 16:49:08 +03:00
Jack L. Frost c054744d48 Allow multiple regexes to be specified
Signed-off-by: fbt <fbt@fleshless.org>
2018-07-27 16:28:13 +03:00
Jack L. Frost 8493a07fdc Read pairs, no need for a separator this way
Signed-off-by: fbt <fbt@fleshless.org>
2018-07-27 08:05:14 +03:00
Jack L. Frost 7eef67695a cosmetics
Signed-off-by: fbt <fbt@fleshless.org>
2018-07-27 07:47:43 +03:00
Jack L. Frost b10611f5ae code overhaul
Signed-off-by: fbt <fbt@fleshless.org>
2018-07-27 06:32:29 +03:00
Jack L. Frost 6afb99d1ce filetype detection fix 2015-07-19 21:51:22 +03:00
Jack L. Frost 0deb0b449c printf 2015-03-10 01:29:49 +03:00
Jack L. Frost 597c801bdf Merge branch 'master' of builder:git/sx-open 2015-02-25 08:00:57 +03:00
Jack L. Frost 0347154d6b wut 2015-02-25 08:00:47 +03:00
Jack L. Frost 2470681dcb conflict 2015-02-19 14:03:49 +03:00
Jack L. Frost 6cb89f0cd6 Code cleanup, thx to http://www.shellcheck.net 2015-01-17 16:38:52 +03:00
Jack L. Frost 958ae3f264 associative arrays mess up sorting 2015-01-13 23:40:37 +03:00
Jack L. Frost 303bdf5d71 that is also redundant 2014-11-26 16:00:03 +03:00
Jack L. Frost d8b9b5dc01 ^file:// is redundant 2014-11-26 15:59:17 +03:00
Jack L. Frost 7696ea5ce8 ugh, making this work with mimes is annoying 2014-11-25 13:22:15 +03:00
Jack L. Frost 214ab03647 No no no, that was ugly as hell. Files need to be handled as uris if we want to do so by name 2014-11-21 14:14:01 +03:00
Jack L. Frost 97b1be6732 the hash table declarations don't need to be in the config. 2014-11-21 13:48:57 +03:00
Jack L. Frost 545447c9b0 Handling files by name. Takes precedence over mimes. 2014-11-21 13:48:09 +03:00
Jack L. Frost 93ec32f793 a usage function 2014-11-08 08:03:59 +03:00
Jack L. Frost 02c7e5cb1a no more grep! 2014-10-16 13:46:57 +04:00
Jack L. Frost b32491ea9c Fixing a typo in the readme 2014-09-28 01:49:58 +04:00
Jack L. Frost 31a48b9795 Hmm. The ISC licence looks better 2014-09-26 02:41:28 +04:00
Jack L. Frost 6eb58fa18a The year is wrong 2014-09-26 02:34:10 +04:00
Jack L. Frost 6fd20205c4 add a license 2014-09-26 02:29:28 +04:00
Jack L. Frost de8733b625 Prevent the script from returning 1 2014-09-25 22:16:11 +04:00
Jack L. Frost a4286e8b6c treat file:// as an fs target 2014-09-25 19:27:52 +04:00
Jack L. Frost 69cbb6f286 Nah, that doesn't really work. Falling back to this method 2014-09-25 19:11:43 +04:00
Jack L. Frost b2eb1eabf0 made the code a bit cleaner 2014-09-25 19:05:17 +04:00
Jack L. Frost 8ff05450d2 Forgot to break; 2014-09-25 17:58:11 +04:00
Jack L. Frost 6b373d2aeb A warning added to the config 2014-09-25 17:50:08 +04:00
Jack L. Frost 89052504ce init 2014-09-25 17:26:15 +04:00