diff options
author | Ryan Mulligan <ryan@ryantm.com> | 2021-05-26 12:40:19 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-26 12:40:19 -0700 |
commit | 6596f38b4b00de2c667e70d229c747037c6b7d26 (patch) | |
tree | b9aba4909bdad28703c2722b0d4991a9b18a54ab /pkgs | |
parent | ff5aa118274d1c9e9dc4e1010fb1eafdeeddc4d1 (diff) | |
parent | 8f23eb073a814df9322a44c1484585d267f7d10e (diff) |
Merge pull request #124473 from eyJhb/betterlockscreen-patch
betterlockscreen: readd patch for i3color
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/misc/screensavers/betterlockscreen/default.nix | 2 | ||||
-rw-r--r-- | pkgs/misc/screensavers/betterlockscreen/replace-i3lock.patch | 14 |
2 files changed, 16 insertions, 0 deletions
diff --git a/pkgs/misc/screensavers/betterlockscreen/default.nix b/pkgs/misc/screensavers/betterlockscreen/default.nix index 287db1086977..127344193d84 100644 --- a/pkgs/misc/screensavers/betterlockscreen/default.nix +++ b/pkgs/misc/screensavers/betterlockscreen/default.nix @@ -16,6 +16,8 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ makeWrapper ]; + patches = [ ./replace-i3lock.patch ]; + installPhase = let PATH = diff --git a/pkgs/misc/screensavers/betterlockscreen/replace-i3lock.patch b/pkgs/misc/screensavers/betterlockscreen/replace-i3lock.patch new file mode 100644 index 000000000000..439c3561f960 --- /dev/null +++ b/pkgs/misc/screensavers/betterlockscreen/replace-i3lock.patch @@ -0,0 +1,14 @@ +diff --git a/betterlockscreen b/betterlockscreen +index 6dd06e0..746d820 100755 +--- a/betterlockscreen ++++ b/betterlockscreen +@@ -87,7 +87,7 @@ prelock() { + lock() { + #$1 image path + +- i3lock \ ++ i3lock-color \ + -c 00000000 \ + -t -i "$1" \ + --timepos='x+110:h-70' \ + |