Skip to content

Commit ed6a94b

Browse files
authored
Merge pull request #1437 from Hummer12007/alpha
Transparent background support
2 parents f53278d + ec92879 commit ed6a94b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Added:
66
- Setting to adjust inner spacing and outer padding for panes (`pane.gap.inner`, `pane.gap.outer`)
77
- Setting to style unread query buffers as highlights in the sidebar (`sidebar.unread_indicator.query_as_highlight`)
88
- Settings to configure card and imagge preview dimensions
9+
- Support for transparent background.
910

1011
Fixed:
1112

src/window.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ pub fn settings(config: &Config) -> Settings {
105105
override_redirect: false,
106106
},
107107
decorations: config.platform_specific.linux.decorations,
108+
transparent: true,
108109
..Default::default()
109110
}
110111
}
@@ -120,6 +121,7 @@ pub fn settings(config: &Config) -> Settings {
120121
fullsize_content_view: true,
121122
},
122123
decorations: config.platform_specific.macos.decorations,
124+
transparent: true,
123125
..Default::default()
124126
}
125127
}
@@ -143,6 +145,7 @@ pub fn settings(config: &Config) -> Settings {
143145
)
144146
.ok(),
145147
decorations: config.platform_specific.windows.decorations,
148+
transparent: true,
146149
..Default::default()
147150
},
148151
None => Settings::default(),

0 commit comments

Comments
 (0)