remove imagemagick dependency
This commit is contained in:
parent
943b9cf2a6
commit
c13dc7c2bf
2 changed files with 14 additions and 11 deletions
|
@ -16,5 +16,9 @@ random_paper() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
convert "$(random_paper)" /tmp/wallpaper.jpg && swww img --transition-step 2 --transition-type random --transition-duration 1 "/tmp/wallpaper.jpg"
|
swww img \
|
||||||
|
--transition-type any \
|
||||||
|
--transition-step 2 \
|
||||||
|
--transition-duration 2 \
|
||||||
|
"$(random_paper)"
|
||||||
|
|
||||||
|
|
|
@ -1,18 +1,17 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenvNoCC
|
, stdenvNoCC
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, libnotify
|
|
||||||
, rofi-wayland
|
|
||||||
, tmux
|
|
||||||
, kitty
|
|
||||||
, imagemagick
|
|
||||||
, hyprland
|
|
||||||
, swww
|
|
||||||
, jq
|
|
||||||
, curl
|
, curl
|
||||||
, ytfzf
|
, hyprland
|
||||||
|
, jq
|
||||||
|
, kitty
|
||||||
|
, libnotify
|
||||||
, libsecret
|
, libsecret
|
||||||
|
, rofi-wayland
|
||||||
|
, swww
|
||||||
|
, tmux
|
||||||
, ueberzugpp
|
, ueberzugpp
|
||||||
|
, ytfzf
|
||||||
,
|
,
|
||||||
}:
|
}:
|
||||||
stdenvNoCC.mkDerivation {
|
stdenvNoCC.mkDerivation {
|
||||||
|
@ -48,7 +47,7 @@ stdenvNoCC.mkDerivation {
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapProgram $out/bin/power-menu --prefix PATH : ${lib.makeBinPath [libnotify rofi-wayland hyprland]}
|
wrapProgram $out/bin/power-menu --prefix PATH : ${lib.makeBinPath [libnotify rofi-wayland hyprland]}
|
||||||
wrapProgram $out/bin/tmux-sessions --prefix PATH : ${lib.makeBinPath [tmux kitty rofi-wayland]}
|
wrapProgram $out/bin/tmux-sessions --prefix PATH : ${lib.makeBinPath [tmux kitty rofi-wayland]}
|
||||||
wrapProgram $out/bin/chpaper --prefix PATH : ${lib.makeBinPath [imagemagick swww]}
|
wrapProgram $out/bin/chpaper --prefix PATH : ${lib.makeBinPath [swww]}
|
||||||
wrapProgram $out/bin/wallhaven --prefix PATH : ${lib.makeBinPath [jq curl libsecret]}
|
wrapProgram $out/bin/wallhaven --prefix PATH : ${lib.makeBinPath [jq curl libsecret]}
|
||||||
wrapProgram $out/bin/youtube --prefix PATH : ${lib.makeBinPath [kitty ytfzf rofi-wayland ueberzugpp]}
|
wrapProgram $out/bin/youtube --prefix PATH : ${lib.makeBinPath [kitty ytfzf rofi-wayland ueberzugpp]}
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue