Moved xfce theme specific from kali-defaults

This commit is contained in:
Sophie Brun
2019-10-22 11:26:31 +02:00
parent 0dbeed74cc
commit 6ee94be2b4
8 changed files with 89 additions and 0 deletions
+2
View File
@@ -36,6 +36,8 @@ Package: kali-theme
Architecture: all Architecture: all
Depends: kali-desktop-base (= ${source:Version}), Depends: kali-desktop-base (= ${source:Version}),
${misc:Depends} ${misc:Depends}
Breaks: kali-defaults (<< 2019.4.0)
Replaces: kali-defaults (<< 2019.4.0)
Description: Configure all desktops to use the Kali theme Description: Configure all desktops to use the Kali theme
Installing this package should configure most desktops to use the Kali theme Installing this package should configure most desktops to use the Kali theme
by default. by default.
+1
View File
@@ -8,3 +8,4 @@ usr/share/icons/
usr/share/plymouth/ usr/share/plymouth/
usr/share/gnome-background-properties/ usr/share/gnome-background-properties/
usr/share/wallpapers/ usr/share/wallpapers/
xfce/xsettings.xml usr/share/kali-theme-common/
+1
View File
@@ -0,0 +1 @@
xfce/terminalrc etc/xdg/xfce4/terminal/
+18
View File
@@ -0,0 +1,18 @@
#!/bin/sh
set -e
if [ "$1" = "configure" ]; then
for file in /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
do
orig_file="/usr/share/kali-theme-common/$(basename $file)"
if [ ! -e $file ] && [ -e $orig_file ]; then
echo "Installing $orig_file as $file"
mkdir -p $(dirname $file)
cp $orig_file $file
fi
done
dconf update || true
fi
#DEBHELPER#
+14
View File
@@ -0,0 +1,14 @@
#!/bin/sh
set -e
case "$1" in
remove)
rm -f /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
dpkg-divert --rename --package kali-theme \
--divert /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml.original \
--remove /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
;;
esac
#DEBHELPER#
+13
View File
@@ -0,0 +1,13 @@
#!/bin/sh
set -e
case "$1" in
install)
dpkg-divert --rename --package kali-theme \
--divert /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml.original\
--add /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
;;
esac
#DEBHELPER#
+3
View File
@@ -0,0 +1,3 @@
[Configuration]
BackgroundMode=TERMINAL_BACKGROUND_TRANSPARENT
BackgroundDarkness=0.850000
+37
View File
@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?>
<channel name="xsettings" version="1.0">
<property name="Net" type="empty">
<property name="ThemeName" type="string" value="Kali-X"/>
<property name="IconThemeName" type="string" value="Vibrancy-Kali"/>
<property name="DoubleClickTime" type="empty"/>
<property name="DoubleClickDistance" type="empty"/>
<property name="DndDragThreshold" type="empty"/>
<property name="CursorBlink" type="empty"/>
<property name="CursorBlinkTime" type="empty"/>
<property name="SoundThemeName" type="empty"/>
<property name="EnableEventSounds" type="empty"/>
<property name="EnableInputFeedbackSounds" type="empty"/>
</property>
<property name="Xft" type="empty">
<property name="DPI" type="empty"/>
<property name="Antialias" type="empty"/>
<property name="Hinting" type="empty"/>
<property name="HintStyle" type="empty"/>
<property name="RGBA" type="empty"/>
</property>
<property name="Gtk" type="empty">
<property name="CanChangeAccels" type="empty"/>
<property name="ColorPalette" type="empty"/>
<property name="FontName" type="empty"/>
<property name="IconSizes" type="empty"/>
<property name="KeyThemeName" type="empty"/>
<property name="ToolbarStyle" type="empty"/>
<property name="ToolbarIconSize" type="empty"/>
<property name="MenuImages" type="empty"/>
<property name="ButtonImages" type="empty"/>
<property name="MenuBarAccel" type="empty"/>
<property name="CursorThemeName" type="empty"/>
<property name="CursorThemeSize" type="empty"/>
</property>
</channel>