aboutsummaryrefslogtreecommitdiffstats
path: root/main/xfce4
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-09-12 16:15:33 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2014-09-12 16:15:33 +0200
commitb2645b22e9ba08a6aee699fb50f90fc694a29819 (patch)
tree8b9cf85279b81614d14c5e245136cc27bda2c61a /main/xfce4
parent7f619855000f5de539987d0628076b549cedf798 (diff)
downloadaports-b2645b22e9ba08a6aee699fb50f90fc694a29819.tar.bz2
aports-b2645b22e9ba08a6aee699fb50f90fc694a29819.tar.xz
main/xfce4: add -skel subpackage with default config for /etc/skel
Diffstat (limited to 'main/xfce4')
-rw-r--r--main/xfce4/APKBUILD20
-rw-r--r--main/xfce4/xfwm4.xml82
-rw-r--r--main/xfce4/xsettings.xml37
3 files changed, 135 insertions, 4 deletions
diff --git a/main/xfce4/APKBUILD b/main/xfce4/APKBUILD
index 5c86c2bc15..96980f7576 100644
--- a/main/xfce4/APKBUILD
+++ b/main/xfce4/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4
pkgver=4.10.0
-pkgrel=2
+pkgrel=3
pkgdesc="XFCE 4 meta package"
url="http://www.xfce.org"
arch="noarch"
@@ -29,8 +29,8 @@ depends="
makedepends=
install=
-subpackages=
-source=
+subpackages="$pkgname-skel"
+source="xsettings.xml xfwm4.xml"
build() {
return 0
@@ -40,5 +40,17 @@ package() {
mkdir -p "$pkgdir"
}
+skel() {
+ pkgdesc="Alpine Linux default xfce config"
+ mkdir -p "$subpkgdir"/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml
+ install "$srcdir"/xfwm4.xml "$srcdir"/xsettings.xml \
+ "$subpkgdir"/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/
-md5sums="" #generate with 'abuild checksum'
+}
+
+md5sums="47ed9c7516ea5f0ed49b0e7dc4d8ec22 xsettings.xml
+aa5fe166968eaf6d8bf6945461f551e8 xfwm4.xml"
+sha256sums="e7971fd0da618d1e321e0d639bc11f02ed88ec43bffb2c79f998cfcc0feca0ea xsettings.xml
+851442a06d47a9609cd1faa41123cc2df00f5d0eb562ef7e104138dc4bc9a3a6 xfwm4.xml"
+sha512sums="729bff482e9c1ae91140381e07461decaf878af7d8373ee110cdabe11f6832f1489fe2b70bb3e623a38addb4ecda8e4bfc2b462a41fc0b8b146077ddd403ff14 xsettings.xml
+3a7b018c211842e8c0ed43383188a431ee719a8b78d913138fbf92ae146e2b61def0721154a7077670d8b560b1e683b941e4a76a45b6bc70fda3132c13ce827d xfwm4.xml"
diff --git a/main/xfce4/xfwm4.xml b/main/xfce4/xfwm4.xml
new file mode 100644
index 0000000000..f5bb6ad11d
--- /dev/null
+++ b/main/xfce4/xfwm4.xml
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<channel name="xfwm4" version="1.0">
+ <property name="general" type="empty">
+ <property name="theme" type="string" value="Default"/>
+ <property name="activate_action" type="string" value="bring"/>
+ <property name="borderless_maximize" type="bool" value="true"/>
+ <property name="box_move" type="bool" value="false"/>
+ <property name="box_resize" type="bool" value="false"/>
+ <property name="button_layout" type="string" value="O|SHMC"/>
+ <property name="button_offset" type="int" value="0"/>
+ <property name="button_spacing" type="int" value="0"/>
+ <property name="click_to_focus" type="bool" value="true"/>
+ <property name="focus_delay" type="int" value="250"/>
+ <property name="cycle_apps_only" type="bool" value="false"/>
+ <property name="cycle_draw_frame" type="bool" value="true"/>
+ <property name="cycle_hidden" type="bool" value="true"/>
+ <property name="cycle_minimum" type="bool" value="true"/>
+ <property name="cycle_workspaces" type="bool" value="false"/>
+ <property name="double_click_time" type="int" value="250"/>
+ <property name="double_click_distance" type="int" value="5"/>
+ <property name="double_click_action" type="string" value="maximize"/>
+ <property name="easy_click" type="string" value="Alt"/>
+ <property name="focus_hint" type="bool" value="true"/>
+ <property name="focus_new" type="bool" value="true"/>
+ <property name="frame_opacity" type="int" value="100"/>
+ <property name="full_width_title" type="bool" value="true"/>
+ <property name="inactive_opacity" type="int" value="100"/>
+ <property name="maximized_offset" type="int" value="0"/>
+ <property name="move_opacity" type="int" value="100"/>
+ <property name="placement_ratio" type="int" value="20"/>
+ <property name="placement_mode" type="string" value="center"/>
+ <property name="popup_opacity" type="int" value="100"/>
+ <property name="mousewheel_rollup" type="bool" value="true"/>
+ <property name="prevent_focus_stealing" type="bool" value="false"/>
+ <property name="raise_delay" type="int" value="250"/>
+ <property name="raise_on_click" type="bool" value="true"/>
+ <property name="raise_on_focus" type="bool" value="false"/>
+ <property name="raise_with_any_button" type="bool" value="true"/>
+ <property name="repeat_urgent_blink" type="bool" value="false"/>
+ <property name="resize_opacity" type="int" value="100"/>
+ <property name="restore_on_move" type="bool" value="true"/>
+ <property name="scroll_workspaces" type="bool" value="true"/>
+ <property name="shadow_delta_height" type="int" value="0"/>
+ <property name="shadow_delta_width" type="int" value="0"/>
+ <property name="shadow_delta_x" type="int" value="0"/>
+ <property name="shadow_delta_y" type="int" value="-3"/>
+ <property name="shadow_opacity" type="int" value="50"/>
+ <property name="show_app_icon" type="bool" value="false"/>
+ <property name="show_dock_shadow" type="bool" value="true"/>
+ <property name="show_frame_shadow" type="bool" value="true"/>
+ <property name="show_popup_shadow" type="bool" value="false"/>
+ <property name="snap_resist" type="bool" value="false"/>
+ <property name="snap_to_border" type="bool" value="true"/>
+ <property name="snap_to_windows" type="bool" value="false"/>
+ <property name="snap_width" type="int" value="10"/>
+ <property name="tile_on_move" type="bool" value="true"/>
+ <property name="title_alignment" type="string" value="center"/>
+ <property name="title_font" type="string" value="Sans Bold 9"/>
+ <property name="title_horizontal_offset" type="int" value="0"/>
+ <property name="title_shadow_active" type="string" value="false"/>
+ <property name="title_shadow_inactive" type="string" value="false"/>
+ <property name="title_vertical_offset_active" type="int" value="0"/>
+ <property name="title_vertical_offset_inactive" type="int" value="0"/>
+ <property name="toggle_workspaces" type="bool" value="false"/>
+ <property name="unredirect_overlays" type="bool" value="true"/>
+ <property name="urgent_blink" type="bool" value="false"/>
+ <property name="use_compositing" type="bool" value="true"/>
+ <property name="workspace_count" type="int" value="4"/>
+ <property name="workspace_names" type="array">
+ <value type="string" value="Workspace 1"/>
+ <value type="string" value="Workspace 2"/>
+ <value type="string" value="Workspace 3"/>
+ <value type="string" value="Workspace 4"/>
+ </property>
+ <property name="wrap_cycle" type="bool" value="true"/>
+ <property name="wrap_layout" type="bool" value="true"/>
+ <property name="wrap_resistance" type="int" value="10"/>
+ <property name="wrap_windows" type="bool" value="true"/>
+ <property name="wrap_workspaces" type="bool" value="false"/>
+ </property>
+</channel>
diff --git a/main/xfce4/xsettings.xml b/main/xfce4/xsettings.xml
new file mode 100644
index 0000000000..6460be01f2
--- /dev/null
+++ b/main/xfce4/xsettings.xml
@@ -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="Xfce"/>
+ <property name="IconThemeName" type="empty"/>
+ <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>