diff options
Diffstat (limited to 'pkgs/theme')
-rw-r--r-- | pkgs/theme/background-lnxpcs.nix | 10 | ||||
-rw-r--r-- | pkgs/theme/delft-icon-theme.nix | 15 | ||||
-rw-r--r-- | pkgs/theme/myswaylock.nix | 21 | ||||
-rw-r--r-- | pkgs/theme/swaybackground.nix | 20 |
4 files changed, 43 insertions, 23 deletions
diff --git a/pkgs/theme/background-lnxpcs.nix b/pkgs/theme/background-lnxpcs.nix index a3983af..c6e61db 100644 --- a/pkgs/theme/background-lnxpcs.nix +++ b/pkgs/theme/background-lnxpcs.nix @@ -1,5 +1,9 @@ -{ lib, stdenvNoCC, fetchFromGitHub, imagemagick }: - +{ + lib, + stdenvNoCC, + fetchFromGitHub, + imagemagick, +}: stdenvNoCC.mkDerivation rec { pname = "background-lnxpcs"; version = "20190411"; @@ -11,7 +15,7 @@ stdenvNoCC.mkDerivation rec { sha256 = "vtyyG0EHRmgWlxHmHgeckwtOv7t3C+hsuTt/vBdrRQM="; }; - nativeBuildInputs = [ imagemagick ]; + nativeBuildInputs = [imagemagick]; wallpapers = "bash cron gcc gnu gnu-linux iptables kernel kill python root su sudo vim"; buildPhase = '' diff --git a/pkgs/theme/delft-icon-theme.nix b/pkgs/theme/delft-icon-theme.nix index 08ed773..1dcd904 100644 --- a/pkgs/theme/delft-icon-theme.nix +++ b/pkgs/theme/delft-icon-theme.nix @@ -1,5 +1,12 @@ -{ lib, stdenv, stdenvNoCC, fetchFromGitHub, gtk3, gnome-icon-theme, hicolor-icon-theme }: - +{ + lib, + stdenv, + stdenvNoCC, + fetchFromGitHub, + gtk3, + gnome-icon-theme, + hicolor-icon-theme, +}: stdenv.mkDerivation rec { pname = "delft-icon-theme"; version = "1.15"; @@ -11,9 +18,9 @@ stdenv.mkDerivation rec { sha256 = "fluSh2TR1CdIW54wkUp1QRB0m9akFKnSn4d+0z6gkLA="; }; - nativeBuildInputs = [ gtk3 ]; + nativeBuildInputs = [gtk3]; - propagatedBuildInputs = [ gnome-icon-theme hicolor-icon-theme ]; + propagatedBuildInputs = [gnome-icon-theme hicolor-icon-theme]; dontDropIconThemeCache = true; diff --git a/pkgs/theme/myswaylock.nix b/pkgs/theme/myswaylock.nix index 64f55f2..44d7bda 100644 --- a/pkgs/theme/myswaylock.nix +++ b/pkgs/theme/myswaylock.nix @@ -1,8 +1,13 @@ -{ lib, stdenvNoCC, makeWrapper -, bash, jq, sway, swaylock -, background-lnxpcs +{ + lib, + stdenvNoCC, + makeWrapper, + bash, + jq, + sway, + swaylock, + background-lnxpcs, }: - stdenvNoCC.mkDerivation { pname = "myswaylock"; version = "1.0"; @@ -11,13 +16,13 @@ stdenvNoCC.mkDerivation { platforms = platforms.linux; }; - nativeBuildInputs = [ makeWrapper ]; - phases = [ "installPhase" ]; + nativeBuildInputs = [makeWrapper]; + phases = ["installPhase"]; installPhase = '' mkdir -p $out/bin cp ${./myswaylock.sh} $out/bin/myswaylock wrapProgram $out/bin/myswaylock \ - --prefix PATH : ${lib.makeBinPath [ bash jq sway swaylock ]} \ - --prefix BACKGROUND_LNXPCS : ${ background-lnxpcs } + --prefix PATH : ${lib.makeBinPath [bash jq sway swaylock]} \ + --prefix BACKGROUND_LNXPCS : ${background-lnxpcs} ''; } diff --git a/pkgs/theme/swaybackground.nix b/pkgs/theme/swaybackground.nix index 6675d24..8b4be5a 100644 --- a/pkgs/theme/swaybackground.nix +++ b/pkgs/theme/swaybackground.nix @@ -1,8 +1,12 @@ -{ lib, stdenvNoCC, makeWrapper -, bash, jq, sway -, background-lnxpcs +{ + lib, + stdenvNoCC, + makeWrapper, + bash, + jq, + sway, + background-lnxpcs, }: - stdenvNoCC.mkDerivation { pname = "swaybackground"; version = "1.0"; @@ -11,13 +15,13 @@ stdenvNoCC.mkDerivation { platforms = platforms.linux; }; - nativeBuildInputs = [ makeWrapper ]; - phases = [ "installPhase" ]; + nativeBuildInputs = [makeWrapper]; + phases = ["installPhase"]; installPhase = '' mkdir -p $out/bin cp ${./swaybackground.sh} $out/bin/swaybackground wrapProgram $out/bin/swaybackground \ - --prefix PATH : ${lib.makeBinPath [ bash jq sway ]} \ - --prefix BACKGROUND_LNXPCS : ${ background-lnxpcs } + --prefix PATH : ${lib.makeBinPath [bash jq sway]} \ + --prefix BACKGROUND_LNXPCS : ${background-lnxpcs} ''; } |