nixpkgs-suyu/pkgs/tools/graphics/wallutils/lscollection-Add-NixOS-paths-to-DefaultWallpaperDirectories.patch

27 lines
791 B
Diff
Raw Normal View History

2019-11-17 20:26:13 +01:00
From 2643b06889605e6096174fb48dcb64a49b252217 Mon Sep 17 00:00:00 2001
2019-04-19 21:43:04 +02:00
From: Michael Weiss <dev.primeos@gmail.com>
2019-11-17 20:26:13 +01:00
Date: Sun, 17 Nov 2019 20:30:08 +0100
2019-04-19 21:43:04 +02:00
Subject: [PATCH] lscollection: Add NixOS paths to DefaultWallpaperDirectories
---
2019-11-17 20:26:13 +01:00
collections.go | 3 +++
1 file changed, 3 insertions(+)
2019-04-19 21:43:04 +02:00
diff --git a/collections.go b/collections.go
2019-11-17 20:26:13 +01:00
index be04d41..cc79c56 100644
2019-04-19 21:43:04 +02:00
--- a/collections.go
+++ b/collections.go
2019-11-17 20:26:13 +01:00
@@ -22,6 +22,9 @@ const (
2019-04-19 21:43:04 +02:00
2019-11-17 20:26:13 +01:00
// 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",
2019-04-19 21:43:04 +02:00
--
2019-11-17 20:26:13 +01:00
2.23.0
2019-04-19 21:43:04 +02:00