Configure package for mobile theme

This commit is contained in:
Daniel Ruiz de Alegría 2022-11-21 13:29:36 +01:00
parent 6c87381c2e
commit 10217e1b9b
No known key found for this signature in database
GPG Key ID: 59667A77E8BFCB6C
2 changed files with 18 additions and 1 deletions

3
debian/control vendored
View File

@ -90,10 +90,11 @@ Description: Transitional package to install kali-themes
This dummy package can be safely removed once kali-themes is installed on the
system.
Package: kali-themes-phosh
Package: kali-themes-mobile
Architecture: all
Depends:
kali-themes,
kali-wallpapers-mobile-2022,
adw-gtk3-kali,
${misc:Depends},
Description: Configure Phosh desktop to use the Kali theme

16
debian/kali-themes-mobile.postinst vendored Normal file
View File

@ -0,0 +1,16 @@
#!/bin/sh
comment="Wallpaper for mobile theme"
if grep -q "${comment}" /usr/share/plasma/desktoptheme/kali/metadata.desktop; then
cat >> /usr/share/plasma/desktoptheme/kali/metadata.desktop <<- EOF
# $comment
[Wallpaper]
defaultWallpaperTheme=NethunterProRedBlue
defaultFileSuffix=.png
defaultWidth=3800
defaultHeight=3800
EOF
fi
#DEBHELPER#