aboutsummaryrefslogtreecommitdiff
path: root/pkgs/theme
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2023-01-08 11:25:01 +0100
committerKarel Kočí <cynerd@email.cz>2023-01-08 11:25:01 +0100
commitd5dc7479c489d17e6dcacf081c0f1b5242d99bd9 (patch)
treec12d18231cacb81ff5b69a2073894d228e3c81e7 /pkgs/theme
parentc7a226a92d65cedd384fa29083efdbb07a6084b0 (diff)
downloadnixos-personal-d5dc7479c489d17e6dcacf081c0f1b5242d99bd9.tar.gz
nixos-personal-d5dc7479c489d17e6dcacf081c0f1b5242d99bd9.tar.bz2
nixos-personal-d5dc7479c489d17e6dcacf081c0f1b5242d99bd9.zip
Format using Alejandra
Diffstat (limited to 'pkgs/theme')
-rw-r--r--pkgs/theme/background-lnxpcs.nix10
-rw-r--r--pkgs/theme/delft-icon-theme.nix15
-rw-r--r--pkgs/theme/myswaylock.nix21
-rw-r--r--pkgs/theme/swaybackground.nix20
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}
'';
}