Complete wallpaper support with new config
Load wallpaper_image_path from config with tilde expansion (environment variables are not supported) On the way for this commit, I also had to: - Fix wallpaper not rendering on startup by triggering init from the .wl_output handler, since wl_output.done is lost during the initial roundtrip - Re-render wallpapers on config reload when the path changes - Fix crash in deinitWallpaperLayerSurface when wl_surface is null
This commit is contained in:
parent
00835cea08
commit
3c16929a6a
6 changed files with 100 additions and 17 deletions
|
|
@ -4,6 +4,10 @@ attach_mode top
|
|||
focus_follows_pointer #true
|
||||
// Whether the focus should warp to the center of newly-focused windows
|
||||
pointer_warp_on_focus_change #true
|
||||
// Path to image to use as wallpaper
|
||||
// The same image is displayed on all outputs, but scaled separately
|
||||
// If this config is missing, then the background is blank black screen
|
||||
wallpaper_image_path "~/Pictures/the_valley.png"
|
||||
borders {
|
||||
width 2
|
||||
// 8 or 10 digit hex color
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue