remove separate wallpaper packages

This commit is contained in:
Adithya 2023-04-16 11:52:52 +05:30
parent f63a940e49
commit 3b8da29e60
Signed by: adtya
GPG key ID: 48FC9915FFD326D0
4 changed files with 3 additions and 35 deletions

View file

@ -11,7 +11,7 @@ let
tmux = "${config.programs.tmux.package}/bin/tmux"; tmux = "${config.programs.tmux.package}/bin/tmux";
wpctl = "${pkgs.wireplumber}/bin/wpctl"; wpctl = "${pkgs.wireplumber}/bin/wpctl";
xdg-user-dir = "${pkgs.xdg-user-dirs}/bin/xdg-user-dir"; xdg-user-dir = "${pkgs.xdg-user-dirs}/bin/xdg-user-dir";
change-wallpaper = "${pkgs.scripts}/bin/chpaper ${pkgs.catppuccin-wallpapers}/share/wallpapers"; change-wallpaper = "${pkgs.scripts}/bin/chpaper \${HOME}/Pictures/Wallpapers";
in in
{ {
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {

View file

@ -85,7 +85,7 @@
swaylock = "${pkgs.swaylock}/bin/swaylock"; swaylock = "${pkgs.swaylock}/bin/swaylock";
wpctl = "${pkgs.wireplumber}/bin/wpctl"; wpctl = "${pkgs.wireplumber}/bin/wpctl";
xdg-user-dir = "${pkgs.xdg-user-dirs}/bin/xdg-user-dir"; xdg-user-dir = "${pkgs.xdg-user-dirs}/bin/xdg-user-dir";
change-wallpaper = "${pkgs.scripts}/bin/chpaper ${pkgs.catppuccin-wallpapers}/share/wallpapers"; change-wallpaper = "${pkgs.scripts}/bin/chpaper \${HOME}/Pictures/Wallpapers";
in in
lib.mkOptionDefault { lib.mkOptionDefault {
"${modifier}+Return" = "exec ${kitty} ${tmux} new"; "${modifier}+Return" = "exec ${kitty} ${tmux} new";
@ -115,7 +115,7 @@
startup = [ startup = [
{ command = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1"; } { command = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1"; }
{ {
command = "${pkgs.scripts}/bin/chpaper ${pkgs.catppuccin-wallpapers}/share/wallpapers"; command = "${pkgs.scripts}/bin/chpaper \${HOME}/Pictures/Wallpapers";
always = true; always = true;
} }
{ {

View file

@ -1,31 +0,0 @@
{ lib
, stdenvNoCC
, fetchFromGitHub
,
}:
stdenvNoCC.mkDerivation {
pname = "catppuccin-wallpapers";
version = "latest";
src = fetchFromGitHub {
owner = "catppuccin";
repo = "wallpapers";
rev = "460356d349d3af42fcc7874df5ac95f2040710ad";
hash = "sha256-M5OmZXcH1pBFxjtRX9BcPaf7zwuZVAR+j/rG7uyRU3I=";
};
installPhase = ''
runHook preInstall
mkdir -p $out/share/wallpapers/catppuccin
find . -type f -regextype egrep -regex ".*\.(jpe?g|png)$" -exec cp {} $out/share/wallpapers/catppuccin/ \;
runHook postInstall
'';
meta = with lib; {
description = "Wallpapers to match your Catppuccin setups!";
homepage = "https://github.com/catppuccin/wallpapers";
license = licenses.mit;
};
}

View file

@ -1,6 +1,5 @@
self: super: { self: super: {
adi1090x-plymouth = super.callPackage ./adi1090x-plymouth { }; adi1090x-plymouth = super.callPackage ./adi1090x-plymouth { };
catppuccin-wallpapers = super.callPackage ./catppuccin-wallpapers { };
dracula-gtk = super.callPackage ./dracula-gtk { }; dracula-gtk = super.callPackage ./dracula-gtk { };
newaita-icon-theme = super.callPackage ./newaita-icon-theme { }; newaita-icon-theme = super.callPackage ./newaita-icon-theme { };
scripts = super.callPackage ./scripts { }; scripts = super.callPackage ./scripts { };