aboutsummaryrefslogtreecommitdiffstats
path: root/src/config.rs
diff options
context:
space:
mode:
authordependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2025-03-28 09:52:17 +0100
committerGitHub <noreply@github.com>2025-03-28 09:52:17 +0100
commit2772e18d1bf57b5fe24c7e2c86a6cbec0475cd88 (patch)
treeecc016c02f400aacd70ec4a41db6a38764acb223 /src/config.rs
parentchore(deps): bump uuid from 1.14.0 to 1.16.0 (#138) (diff)
downloadsl0pstatus-2772e18d1bf57b5fe24c7e2c86a6cbec0475cd88.tar.gz
sl0pstatus-2772e18d1bf57b5fe24c7e2c86a6cbec0475cd88.tar.xz
sl0pstatus-2772e18d1bf57b5fe24c7e2c86a6cbec0475cd88.zip
chore(deps): bump zellij-tile from 0.41.2 to 0.42.1 (#141)
* chore(deps): bump zellij-tile from 0.41.2 to 0.42.1 Bumps zellij-tile from 0.41.2 to 0.42.1. --- updated-dependencies: - dependency-name: zellij-tile dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * fix(config): implement missing trait member --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Daniel Jankowski <daniel.jankowski@rub.de>
Diffstat (limited to '')
-rw-r--r--src/config.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/config.rs b/src/config.rs
index 5a64b3d..458ab7a 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -102,7 +102,8 @@ impl ModuleConfig {
Some(toggle) => toggle == "true",
None => false,
};
- let hide_frame_except_for_fullscreen = match config.get("hide_frame_except_for_fullscreen") {
+ let hide_frame_except_for_fullscreen = match config.get("hide_frame_except_for_fullscreen")
+ {
Some(toggle) => toggle == "true",
None => false,
};
@@ -181,6 +182,7 @@ impl ModuleConfig {
Mouse::RightClick(_, y) => y,
Mouse::Hold(_, y) => y,
Mouse::Release(_, y) => y,
+ Mouse::Hover(_, _) => return,
};
let output_left = self.left_parts.iter_mut().fold("".to_owned(), |acc, part| {