summaryrefslogtreecommitdiffstats
path: root/src/file_browser.rs
diff options
context:
space:
mode:
authorrabite <rabite@posteo.de>2019-05-23 21:20:35 +0200
committerrabite <rabite@posteo.de>2019-05-23 21:20:35 +0200
commit7f708df9bd161132e41b29896910e119587e0bb0 (patch)
tree7bb49fb70db4a4c8395075eb6e3edc0a7e1a3c2c /src/file_browser.rs
parentcdaacd1ca6300a037140c01cce1d788bebf9baee (diff)
use xdg-open exclusively
Diffstat (limited to 'src/file_browser.rs')
-rw-r--r--src/file_browser.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/file_browser.rs b/src/file_browser.rs
index e01f4b8..ad15d01 100644
--- a/src/file_browser.rs
+++ b/src/file_browser.rs
@@ -409,7 +409,7 @@ impl FileBrowser {
self.core.get_sender().send(Events::InputEnabled(false))?;
self.core.screen.suspend().log();
- let status = std::process::Command::new("rifle")
+ let status = std::process::Command::new("xdg-open")
.args(file.path.file_name())
.status();
@@ -421,10 +421,10 @@ impl FileBrowser {
match status {
Ok(status) =>
self.core.show_status(&format!("\"{}\" exited with {}",
- "rifle", status)).log(),
+ "xdg-open", status)).log(),
Err(err) =>
self.core.show_status(&format!("Can't run this \"{}\": {}",
- "rifle", err)).log()
+ "xdg-open", err)).log()
}
}
Ok(())