mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-09-18 07:41:25 +02:00
feat(config): add matchers for removing titlebars
This commit adds a new field to the static config file, "remove_titlebar_applications", which allows users to now use the full range of matching strategies to identify applications for which titlebars should be removed. This is heavily discouraged for a number of reasons, and is unlikely to work with a wide range of applications which now draw their own titlebar regions. The previous advice to use in-application configuration settings to hide title bars if they exist is still valid. resolve #805
This commit is contained in:
+1
-1
@@ -215,7 +215,7 @@ lazy_static! {
|
||||
|
||||
// Use app-specific titlebar removal options where possible
|
||||
// eg. Windows Terminal, IntelliJ IDEA, Firefox
|
||||
static ref NO_TITLEBAR: Arc<Mutex<Vec<String>>> = Arc::new(Mutex::new(vec![]));
|
||||
static ref NO_TITLEBAR: Arc<Mutex<Vec<MatchingRule>>> = Arc::new(Mutex::new(vec![]));
|
||||
|
||||
static ref WINDOWS_BY_BAR_HWNDS: Arc<Mutex<HashMap<isize, VecDeque<isize>>>> =
|
||||
Arc::new(Mutex::new(HashMap::new()));
|
||||
|
||||
Reference in New Issue
Block a user