Skip to content

Commit

Permalink
Mark hidden desktops which contain windows
Browse files Browse the repository at this point in the history
  • Loading branch information
thled committed Oct 27, 2022
1 parent a9769ef commit 0cb0b56
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "thledbar"
version = "1.1.3"
version = "1.2.0"
edition = "2021"

[dependencies]
cnx = { git = "https://github.com/thled/cnx", branch = "color_from_hex" }
cnx-contrib = { git = "https://github.com/thled/cnx", branch = "color_from_hex" }
cnx = { git = "https://github.com/thled/cnx", branch = "mark_hidden_desktops" }
cnx-contrib = { git = "https://github.com/thled/cnx", branch = "mark_hidden_desktops" }
anyhow = "1.0.62"
xrdb = "0.1.1"
7 changes: 6 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,12 @@ fn workspaces() -> Pager {
bg_color: Some(xcolor::blue()),
..default_attr()
};
Pager::new(active_attr, default_attr())
let hidden_attr = Attributes {
fg_color: xcolor::blue(),
..default_attr()
};

Pager::new(active_attr, default_attr(), hidden_attr)
}

fn window_title() -> ActiveWindowTitle {
Expand Down

0 comments on commit 0cb0b56

Please sign in to comment.