From 479b25848f148c436848d8d9c7e3c687a724faa2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Luis=20Guzm=C3=A1n?= <ark@switnet.org>
Date: Sat, 24 Dec 2022 15:18:10 +0000
Subject: [PATCH] budgie-desktop-environment: tweak wallpaper and schema names.

---
 helpers/make-budgie-desktop-environment | 37 +++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 helpers/make-budgie-desktop-environment

diff --git a/helpers/make-budgie-desktop-environment b/helpers/make-budgie-desktop-environment
new file mode 100644
index 000000000..72433f6bd
--- /dev/null
+++ b/helpers/make-budgie-desktop-environment
@@ -0,0 +1,37 @@
+#!/bin/sh
+#
+#    Copyright (C) 2022 Luis Guzmán <ark@switnet.org>
+#
+#    This program is free software; you can redistribute it and/or modify
+#    it under the terms of the GNU General Public License as published by
+#    the Free Software Foundation; either version 2 of the License, or
+#    (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU General Public License for more details.
+#
+#    You should have received a copy of the GNU General Public License
+#    along with this program; if not, write to the Free Software
+#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+#
+
+VERSION=0
+. ./config
+
+#Set default trisquel wallpaper
+BUDGIE_WALLP="usr/share/backgrounds/budgie/ubuntu_budgie_wallpaper1.jpg"
+TRISQUEL_WALLP="usr/share/backgrounds/$CODENAME.jpg"
+grep -lr "$BUDGIE_WALLP" | xargs sed -i "s|$BUDGIE_WALLP|$TRISQUEL_WALLP|g"
+
+#Tweak default handlers
+sed -i "s|thunderbird|icedove|g" etc/budgie-desktop/defaults.list
+sed -i "s|firefox|abrowser|g" etc/budgie-desktop/defaults.list
+sed -i "s|snap-store.*.desktop||g" etc/budgie-desktop/defaults.list
+
+sed -i "s|Launcher=.*|Launcher=|" home-folder/.config/plank/dock1/launchers/budgie-welcome.dockitem
+sed -i "s|, 'ubuntu-budgie-welcome_budgie-welcome.desktop'||" schemas/25_budgie-desktop-environment.gschema.override
+changelog "Tweak settings and names to match trisquel packages on budgie"
+
+compile
-- 
GitLab