mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-07-14 09:02:45 +02:00
fix(wm): set default hiding behaviour to cloak
Documentation for the `window_hiding_behaviour` option states that it defaults to `Cloak`, however, it was actually defaulting to `Minimize`.
This commit is contained in:
+1
-1
@@ -182,7 +182,7 @@ lazy_static! {
|
|||||||
static ref TCP_CONNECTIONS: Arc<Mutex<HashMap<String, TcpStream>>> =
|
static ref TCP_CONNECTIONS: Arc<Mutex<HashMap<String, TcpStream>>> =
|
||||||
Arc::new(Mutex::new(HashMap::new()));
|
Arc::new(Mutex::new(HashMap::new()));
|
||||||
static ref HIDING_BEHAVIOUR: Arc<Mutex<HidingBehaviour>> =
|
static ref HIDING_BEHAVIOUR: Arc<Mutex<HidingBehaviour>> =
|
||||||
Arc::new(Mutex::new(HidingBehaviour::Minimize));
|
Arc::new(Mutex::new(HidingBehaviour::Cloak));
|
||||||
pub static ref HOME_DIR: PathBuf = {
|
pub static ref HOME_DIR: PathBuf = {
|
||||||
std::env::var("KOMOREBI_CONFIG_HOME").map_or_else(|_| dirs::home_dir().expect("there is no home directory"), |home_path| {
|
std::env::var("KOMOREBI_CONFIG_HOME").map_or_else(|_| dirs::home_dir().expect("there is no home directory"), |home_path| {
|
||||||
let home = PathBuf::from(&home_path);
|
let home = PathBuf::from(&home_path);
|
||||||
|
|||||||
Reference in New Issue
Block a user