42 lines
1.4 KiB
Bash
42 lines
1.4 KiB
Bash
#!/bin/sh
|
|
#
|
|
# Copyright (C) 2025 Luis Guzmán <ark@switnet.org>
|
|
# Copyright (C) 2021-2022 Ruben Rodriguez <ruben@trisquel.info>
|
|
#
|
|
# 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=4
|
|
|
|
. ./config
|
|
|
|
# Use wallpaper details from the kubuntu-settings package.
|
|
TW_RELEASE="Ecne"
|
|
TW_FILW_SIZE="3840x2160.jpg"
|
|
|
|
# Smaller clock size on panel
|
|
sed -i 's/main.height \* 0.56 : main.height \* 0.71/main.height * 0.4 : main.height * 0.4/' applets/digital-clock/package/contents/ui/DigitalClock.qml
|
|
|
|
# Use trisquel background
|
|
for i in $(find -name theme.conf.cmake)
|
|
do
|
|
echo -e "\n> customizing wallpaper at $i file:\n"
|
|
sed "s|/Next/contents/images/5120x2880.*|/${TW_RELEASE}/contents/images/${TW_FILW_SIZE}|" -i $i
|
|
done
|
|
|
|
changelog "Customized for Trisquel"
|
|
|
|
package
|
|
|