summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/config.rs2
-rw-r--r--src/state.rs2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/config.rs b/src/config.rs
index e4b82cf..f54e2ed 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -48,6 +48,7 @@ pub struct Config {
pub show_layout_name: bool,
pub blend: bool,
pub show_mode: bool,
+ pub start_hidden: bool,
// wm-specific
pub wm: WmConfig,
// overrides
@@ -93,6 +94,7 @@ impl Default for Config {
show_layout_name: true,
blend: true,
show_mode: true,
+ start_hidden: false,
wm: WmConfig {
river: RiverConfig { max_tag: 9 },
diff --git a/src/state.rs b/src/state.rs
index 19d6434..263f38c 100644
--- a/src/state.rs
+++ b/src/state.rs
@@ -94,7 +94,7 @@ impl State {
pending_outputs: Vec::new(),
- hidden: false,
+ hidden: config.start_hidden,
has_error: false,
bars: Vec::new(),