void-packages/srcpkgs/lightdm-webkit2-greeter/patches/conf.patch
Đoàn Trần Công Danh 861ac185a6 srcpkgs/l*: convert patches to -Np1
```sh
git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" |
while read template; do
	for p in ${template%/template}/patches/*; do
		sed -i '
			\,^[+-][+-][+-] /dev/null,b
			/^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b
			s,^[*][*][*] ,&a/,
			/^--- /{
				s,\(^--- \)\(./\)*,\1a/,
				s,[.][Oo][Rr][Ii][Gg]\([	/]\),\1,
				s/[.][Oo][Rr][Ii][Gg]$//
				s/[.]patched[.]\([^.]\)/.\1/
				h
			}
			/^+++ -/{
				g
				s/^--- a/+++ b/
				b
			}
			s,\(^+++ \)\(./\)*,\1b/,
		' "$p"
	done
	sed -i '/^patch_args=/d' $template
done
```
2021-06-20 13:17:29 +07:00

20 lines
711 B
Diff

--- a/data/lightdm-webkit2-greeter.conf 2018-06-26 15:29:27.461313219 +0200
+++ b/data/lightdm-webkit2-greeter.conf 2018-06-26 18:58:13.649378103 +0200
@@ -18,7 +18,7 @@
secure_mode = true
time_format = LT
time_language = auto
-webkit_theme = antergos
+webkit_theme = void
#
# [branding]
@@ -31,5 +31,6 @@
[branding]
background_images = /usr/share/backgrounds
-logo = /usr/share/lightdm-webkit/themes/antergos/img/antergos.png
-user_image = /usr/share/lightdm-webkit/themes/antergos/img/antergos-logo-user.png
+logo = /usr/share/void-artwork/void-transparent.png
+user_image = /usr/share/void-artwork/void-transparent.png
+