diff --git a/Cargo.lock b/Cargo.lock index a5869ee..3f6d1b4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -266,7 +266,7 @@ dependencies = [ [[package]] name = "cnx" version = "0.3.0" -source = "git+https://github.com/thled/cnx?branch=color_from_hex#e82cac2e7aaec06201a901bfd1d3623a44667b4e" +source = "git+https://github.com/thled/cnx?branch=mark_hidden_desktops#b5711193e7db463eec5b043d4ded12893d6e312e" dependencies = [ "anyhow", "async-stream", @@ -288,7 +288,7 @@ dependencies = [ [[package]] name = "cnx-contrib" version = "0.1.0" -source = "git+https://github.com/thled/cnx?branch=color_from_hex#e82cac2e7aaec06201a901bfd1d3623a44667b4e" +source = "git+https://github.com/thled/cnx?branch=mark_hidden_desktops#b5711193e7db463eec5b043d4ded12893d6e312e" dependencies = [ "alsa", "anyhow", @@ -1398,7 +1398,7 @@ dependencies = [ [[package]] name = "thledbar" -version = "1.1.3" +version = "1.2.0" dependencies = [ "anyhow", "cnx", diff --git a/Cargo.toml b/Cargo.toml index bd64618..a5d290b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/src/main.rs b/src/main.rs index 2ee410e..cbc06e5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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 {