mirror of
https://github.com/EdenQwQ/nixos.git
synced 2026-02-22 12:55:33 +08:00
update niri
This commit is contained in:
parent
6b144d0da1
commit
b7fe63c516
3 changed files with 10 additions and 5 deletions
|
|
@ -110,10 +110,11 @@ let
|
|||
if not active_workspace_is_empty:
|
||||
wallpaper = blurred_wallpaper
|
||||
real_wallpaper = os.path.realpath(wallpaper)
|
||||
if init:
|
||||
set_backdrop_wallpaper(active_workspace_monitor, blurred_wallpaper)
|
||||
if current_wallpaper == real_wallpaper and not init:
|
||||
return
|
||||
set_wallpaper(active_workspace_monitor, wallpaper)
|
||||
set_backdrop_wallpaper(active_workspace_monitor, blurred_wallpaper)
|
||||
|
||||
|
||||
def change_wallpaper(init=False):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue