budgie-desktop-environment: update helper ecne; (S5RR)

This commit is contained in:
Luis Guzmán 2024-09-04 18:47:49 +00:00
parent 1f9902ea66
commit 65b532c7dc
2 changed files with 9 additions and 4 deletions

View file

@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright (C) 2022 Luis Guzmán <ark@switnet.org>
# Copyright (C) 2024 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
@ -17,16 +17,21 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
VERSION=1
#STAGE-5-DESKTOP|ARTWORK
VERSION=2
. ./config
#Set default trisquel wallpaper
BUDGIE_WALLP="usr/share/backgrounds/budgie/ubuntu_budgie_wallpaper1.jpg"
TRISQUEL_WALLP="usr/share/backgrounds/$CODENAME.jpg"
BUDGIE_WALLP="budgie-codename.png"
TRISQUEL_WALLP="$CODENAME.jpg"
grep -lr "$BUDGIE_WALLP" | xargs -r sed -i "s|$BUDGIE_WALLP|$TRISQUEL_WALLP|g"
#menu-icon
cp $DATA/logo-trisquel.svg distrologo/trisquel-logo.svg
cp $DATA/$CODENAME.jpg codename-wallpapers/
rm codename-wallpapers/budgie-codename.png
#Tweak default handlers
sed -i "s|thunderbird|icedove|g" etc/budgie-desktop/defaults.list