refactor: restructure

This commit is contained in:
justchokingaround
2022-07-10 19:00:23 +02:00
parent bbd99ad5f7
commit e99dc19ea3
12 changed files with 522 additions and 413 deletions

11
src/ln/open_text.rs Normal file
View File

@@ -0,0 +1,11 @@
use std::io::Result;
use std::process::{Command, ExitStatus};
pub fn open_bat() -> Result<ExitStatus> {
Command::new("bat")
.arg("--paging")
.arg("always")
.arg("/tmp/log_e")
.spawn()?
.wait()
}