diff --git a/README.md b/README.md
index bca2995..fc68fc3 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,3 @@
-
-
-
-
Rex

@@ -57,6 +53,7 @@ cargo run --release
**4. Install using a package manager:**
* On NetBSD a package is available from the [official repositories](https://pkgsrc.se/finance/rex). To install it simply run:
+
```sh
pkgin install rex
```
diff --git a/logo.png b/logo.png
deleted file mode 100644
index e04ade4..0000000
Binary files a/logo.png and /dev/null differ
diff --git a/tui/src/config.rs b/tui/src/config.rs
index da2bbd2..f668076 100644
--- a/tui/src/config.rs
+++ b/tui/src/config.rs
@@ -21,6 +21,7 @@ pub struct Config {
pub location: PathBuf,
pub backup_db_path: Option
>,
pub new_location: Option,
+ pub theme_index: Option,
}
impl Config {
@@ -35,6 +36,7 @@ impl Config {
backup_db_path: None,
new_location: None,
location: target_dir,
+ theme_index: Some(0),
});
}
@@ -44,6 +46,11 @@ impl Config {
let mut config: Config = serde_json::from_str(&file_content)?;
config.location = target_dir;
+
+ if config.theme_index.is_none() {
+ config.theme_index = Some(0);
+ }
+
Ok(config)
}
@@ -157,6 +164,7 @@ pub fn migrate_config(config_path: &PathBuf) -> Result<()> {
backup_db_path: None,
new_location: None,
location: PathBuf::new(),
+ theme_index: Some(0),
};
let mut backup_path = config_path.to_owned();
diff --git a/tui/src/key_checker/activity.rs b/tui/src/key_checker/activity.rs
index 13156ca..51a6aae 100644
--- a/tui/src/key_checker/activity.rs
+++ b/tui/src/key_checker/activity.rs
@@ -17,6 +17,7 @@ pub fn activity_keys(handler: &mut InputKeyHandler) -> Result