mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-08-31 07:57:16 +02:00
refactor(ahk): remove derive-ahk and references
This commit finally sunsets the derive-ahk proc macro and the ahk-library cli command. There is now a dedicated, stripped down komorebi.ahk example on the docs website which mirrors the contents and style of the sample whkdrc: https://lgug2z.github.io/komorebi/common-workflows/autohotkey.html
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
#![warn(clippy::all)]
|
||||
|
||||
pub mod border_manager;
|
||||
pub mod com;
|
||||
#[macro_use]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#![warn(clippy::all, clippy::nursery, clippy::pedantic)]
|
||||
#![warn(clippy::all)]
|
||||
#![allow(
|
||||
clippy::missing_errors_doc,
|
||||
clippy::redundant_pub_crate,
|
||||
|
||||
@@ -493,20 +493,16 @@ impl From<&WindowManager> for StaticConfig {
|
||||
}
|
||||
|
||||
impl StaticConfig {
|
||||
#[allow(
|
||||
clippy::cognitive_complexity,
|
||||
clippy::too_many_lines,
|
||||
clippy::assigning_clones
|
||||
)]
|
||||
#[allow(clippy::cognitive_complexity, clippy::too_many_lines)]
|
||||
fn apply_globals(&mut self) -> Result<()> {
|
||||
if let Some(monitor_index_preferences) = &self.monitor_index_preferences {
|
||||
let mut preferences = MONITOR_INDEX_PREFERENCES.lock();
|
||||
*preferences = monitor_index_preferences.clone();
|
||||
preferences.clone_from(monitor_index_preferences);
|
||||
}
|
||||
|
||||
if let Some(display_index_preferences) = &self.display_index_preferences {
|
||||
let mut preferences = DISPLAY_INDEX_PREFERENCES.lock();
|
||||
*preferences = display_index_preferences.clone();
|
||||
preferences.clone_from(display_index_preferences);
|
||||
}
|
||||
|
||||
if let Some(behaviour) = self.window_hiding_behaviour {
|
||||
|
||||
Reference in New Issue
Block a user