dwm: getExe and inherit
parent
4d08e896b7
commit
82c03e3055
|
@ -1,6 +1,8 @@
|
|||
{ lib, config, pkgs, inputs, ... }:
|
||||
|
||||
let
|
||||
inherit (lib) getExe;
|
||||
|
||||
cfg = config.snowhawk.dwm;
|
||||
in
|
||||
{
|
||||
|
@ -37,7 +39,7 @@ in
|
|||
systemd.user.services.xrootdatetime = {
|
||||
script = ''
|
||||
while true; do
|
||||
sleep 1 && date +"<-- %A, %B %d -- %H:%M -->" | xargs -I% ${pkgs.xorg.xsetroot}/bin/xsetroot -name %
|
||||
sleep 1 && date +"<-- %A, %B %d -- %H:%M -->" | xargs -I% ${getExe pkgs.xorg.xsetroot} -name %
|
||||
done
|
||||
'';
|
||||
wantedBy = [ "graphical-session.target" ];
|
||||
|
@ -46,7 +48,7 @@ in
|
|||
|
||||
systemd.user.services.fehbg = {
|
||||
script = ''
|
||||
${pkgs.feh}/bin/feh --no-fehbg --bg-scale '${inputs.backgrounds}/bg-none-nord.webp'
|
||||
${getExe pkgs.feh} --no-fehbg --bg-scale '${inputs.backgrounds}/bg-none-nord.webp'
|
||||
'';
|
||||
wantedBy = [ "graphical-session.target" ];
|
||||
partOf = [ "graphical-session.target" ];
|
||||
|
|
Loading…
Reference in New Issue