use wallpaper from swaybg
This commit is contained in:
parent
56cba97339
commit
b5e5ecf2f3
1 changed files with 43 additions and 13 deletions
|
|
@ -10,8 +10,7 @@
|
|||
coreutils,
|
||||
gawk,
|
||||
gnugrep,
|
||||
# Blurred behind the lockscreen
|
||||
wallpaper ? null,
|
||||
procps,
|
||||
}:
|
||||
let
|
||||
config = lib.fileset.toSource {
|
||||
|
|
@ -31,10 +30,10 @@ writeShellApplication {
|
|||
gawk
|
||||
gnugrep
|
||||
glib # gdbus, for logind's lock signal
|
||||
procps # pgrep, for the wallpaper swaybg is showing
|
||||
];
|
||||
|
||||
text = ''
|
||||
${lib.optionalString (wallpaper != null) "export QUADSHELL_WALLPAPER=${wallpaper}"}
|
||||
exec ${lib.getExe quickshell} --path ${config} "$@"
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue