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):
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ config, ... }:
|
||||
{ pkgs, config, ... }:
|
||||
with config.lib.stylix.colors.withHashtag;
|
||||
let
|
||||
extraConfig =
|
||||
|
|
@ -8,6 +8,10 @@ let
|
|||
match namespace="wallpaper"
|
||||
place-within-backdrop true
|
||||
}
|
||||
|
||||
xwayland-satellite {
|
||||
path "${pkgs.xwayland-satellite}/bin/xwayland-satellite"
|
||||
}
|
||||
'';
|
||||
finalNiriConfig =
|
||||
builtins.replaceStrings
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue