diff --git a/README.md b/README.md index 1be81ff..fc3560d 100644 --- a/README.md +++ b/README.md @@ -123,9 +123,9 @@ The possibilities are endless! Here are some powerful examples of what you can b ![Hyprland Exit](examples/images/hyprland-exit.png) - Full screen exit menu -- Shell script using dmenu mode - Desktop hiding with background display - Uses launcher theme styling +- Shell script using dmenu mode ### worf-hyprswitch *Elegant window switcher* @@ -143,6 +143,7 @@ The possibilities are endless! Here are some powerful examples of what you can b - Bitwarden integration via [rbw](https://github.com/doy/rbw) - Additional dependencies required ([see readme](examples/worf-warden/Readme.md)) - Showcasing GlacierPrism theme +- Written in Rust using Worf API ### worf-rtw *Time tracking made simple* @@ -151,6 +152,7 @@ The possibilities are endless! Here are some powerful examples of what you can b - Time tracking with [rtw](https://github.com/PicoJr/rtw) - Using AmberNight theme with custom positioning +- Bash script using dmenu --- diff --git a/worf/src/lib/gui.rs b/worf/src/lib/gui.rs index 940a199..8696c71 100644 --- a/worf/src/lib/gui.rs +++ b/worf/src/lib/gui.rs @@ -760,11 +760,14 @@ fn create_background(config: &Config) -> Option { let background = ApplicationWindow::builder() .decorated(false) .resizable(false) - .fullscreened(true) + .fullscreened(false) // arbitrary huge window so it fills the whole screen .default_width(100_000) .default_height(100_000) .build(); + if !config.normal_window() { + background.set_layer(config.layer().into()); + } background.set_widget_name("background"); background.set_namespace(Some("worf")); Some(background)