Merge pull request #372 from JakeStanger/feat/auto-hide

feat: bar auto-hide options
This commit is contained in:
Jake Stanger
2023-12-11 21:37:55 +00:00
committed by GitHub
4 changed files with 111 additions and 27 deletions

View File

@@ -21,7 +21,6 @@ use glib::PropertySet;
use gtk::gdk::Display;
use gtk::prelude::*;
use gtk::Application;
use lazy_static::lazy_static;
use tokio::runtime::Handle;
use tokio::task::{block_in_place, spawn_blocking};
use tracing::{debug, error, info, warn};
@@ -93,7 +92,7 @@ async fn run_with_args() {
static COUNTER: AtomicUsize = AtomicUsize::new(1);
#[cfg(feature = "ipc")]
lazy_static! {
lazy_static::lazy_static! {
static ref VARIABLE_MANAGER: Arc<RwLock<VariableManager>> = arc_rw!(VariableManager::new());
}