tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
wallutils: 5.8.2 -> 5.8.3
Michael Weiss
6 years ago
f62e1c41
35f3ecab
+17
-16
2 changed files
expand all
collapse all
unified
split
pkgs
tools
graphics
wallutils
default.nix
lscollection-Add-NixOS-paths-to-DefaultWallpaperDirectories.patch
+2
-2
pkgs/tools/graphics/wallutils/default.nix
···
4
4
5
5
buildGoPackage rec {
6
6
pname = "wallutils";
7
7
-
version = "5.8.2";
7
7
+
version = "5.8.3";
8
8
9
9
src = fetchFromGitHub {
10
10
owner = "xyproto";
11
11
repo = "wallutils";
12
12
rev = version;
13
13
-
sha256 = "1ghvcxsy5prj8l38r4lg39imsqbwmvn1zmiv7004j6skmgpaaawh";
13
13
+
sha256 = "1cc0bb6bdh3pm9mf6rcgk9myr62xhqc6l84xgw44lhm6hkkp16gb";
14
14
};
15
15
16
16
goPackagePath = "github.com/xyproto/wallutils";
+15
-14
pkgs/tools/graphics/wallutils/lscollection-Add-NixOS-paths-to-DefaultWallpaperDirectories.patch
···
1
1
-
From 9d064428cec970ced9be6753d6250b20a45a9fe2 Mon Sep 17 00:00:00 2001
1
1
+
From 2643b06889605e6096174fb48dcb64a49b252217 Mon Sep 17 00:00:00 2001
2
2
From: Michael Weiss <dev.primeos@gmail.com>
3
3
-
Date: Fri, 19 Apr 2019 11:56:50 +0200
3
3
+
Date: Sun, 17 Nov 2019 20:30:08 +0100
4
4
Subject: [PATCH] lscollection: Add NixOS paths to DefaultWallpaperDirectories
5
5
6
6
---
7
7
-
collections.go | 2 +-
8
8
-
1 file changed, 1 insertion(+), 1 deletion(-)
7
7
+
collections.go | 3 +++
8
8
+
1 file changed, 3 insertions(+)
9
9
10
10
diff --git a/collections.go b/collections.go
11
11
-
index ef74ea6..9f9a608 100644
11
11
+
index be04d41..cc79c56 100644
12
12
--- a/collections.go
13
13
+++ b/collections.go
14
14
-
@@ -21,7 +21,7 @@ const (
15
15
-
)
14
14
+
@@ -22,6 +22,9 @@ const (
16
15
17
17
-
var (
18
18
-
- DefaultWallpaperDirectories = []string{"/usr/share/pixmaps", "/usr/share/wallpapers", "/usr/share/backgrounds", "/usr/local/share/pixmaps", "/usr/local/share/wallpapers", "/usr/local/share/backgrounds", "/usr/share/archlinux"}
19
19
-
+ DefaultWallpaperDirectories = []string{"/run/current-system/sw/share/pixmaps", "/run/current-system/sw/share/wallpapers", "/run/current-system/sw/share/backgrounds", "/usr/share/pixmaps", "/usr/share/wallpapers", "/usr/share/backgrounds", "/usr/local/share/pixmaps", "/usr/local/share/wallpapers", "/usr/local/share/backgrounds", "/usr/share/archlinux"}
20
20
-
)
21
21
-
22
22
-
type SearchResults struct {
16
16
+
// DefaultWallpaperDirectories lists the default locations to look for wallpapers
17
17
+
var DefaultWallpaperDirectories = []string{
18
18
+
+ "/run/current-system/sw/share/pixmaps",
19
19
+
+ "/run/current-system/sw/share/wallpapers",
20
20
+
+ "/run/current-system/sw/share/backgrounds",
21
21
+
"/usr/share/pixmaps",
22
22
+
"/usr/share/wallpapers",
23
23
+
"/usr/share/backgrounds",
23
24
--
24
24
-
2.19.2
25
25
+
2.23.0
25
26