use layershell for blurred background
This commit is contained in:
parent
32c1b3562c
commit
184c9a2b77
2 changed files with 7 additions and 2 deletions
|
@ -123,9 +123,9 @@ The possibilities are endless! Here are some powerful examples of what you can b
|
|||

|
||||
|
||||
- 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
|
||||
|
||||
---
|
||||
|
||||
|
|
|
@ -760,11 +760,14 @@ fn create_background(config: &Config) -> Option<ApplicationWindow> {
|
|||
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)
|
||||
|
|
Loading…
Add table
Reference in a new issue