wallutils: 5.8.2 -> 5.8.3

This commit is contained in:
Michael Weiss
2019-11-17 21:27:07 +01:00
parent 35f3ecab63
commit f62e1c41e2
2 changed files with 17 additions and 16 deletions
@@ -1,25 +1,26 @@
From 9d064428cec970ced9be6753d6250b20a45a9fe2 Mon Sep 17 00:00:00 2001
From 2643b06889605e6096174fb48dcb64a49b252217 Mon Sep 17 00:00:00 2001
From: Michael Weiss <dev.primeos@gmail.com>
Date: Fri, 19 Apr 2019 11:56:50 +0200
Date: Sun, 17 Nov 2019 20:30:08 +0100
Subject: [PATCH] lscollection: Add NixOS paths to DefaultWallpaperDirectories
---
collections.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
collections.go | 3 +++
1 file changed, 3 insertions(+)
diff --git a/collections.go b/collections.go
index ef74ea6..9f9a608 100644
index be04d41..cc79c56 100644
--- a/collections.go
+++ b/collections.go
@@ -21,7 +21,7 @@ const (
)
@@ -22,6 +22,9 @@ const (
var (
- 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"}
+ 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"}
)
type SearchResults struct {
// DefaultWallpaperDirectories lists the default locations to look for wallpapers
var 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",
--
2.19.2
2.23.0