diff --git a/pkg/de-p1st-xfce4/PKGBUILD b/pkg/de-p1st-xfce4/PKGBUILD index ab998ee..1abef56 100644 --- a/pkg/de-p1st-xfce4/PKGBUILD +++ b/pkg/de-p1st-xfce4/PKGBUILD @@ -2,7 +2,7 @@ _pkgname=xfce4 _reponame=arch pkgname="de-p1st-$_pkgname" -pkgver=0.0.25 +pkgver=0.0.26 pkgrel=1 pkgdesc="XFCE4 with configuration" arch=('any') @@ -99,7 +99,10 @@ package() { mkdir -p "$pkgdir"/etc/skel/ cp -ra config "$pkgdir"/etc/skel/.config + # === shortcuts === + install -Dm0544 xfce4-keyboard-shortcuts.xml.holoscript "$pkgdir"/usr/share/holo/files/"$pkgname"/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml.holoscript + # === display manager === - install -Dm0644 systemd.preset "$pkgdir"/usr/lib/systemd/system-preset/20-"$pkgname".preset - install -Dm0644 p1st-settings.conf "$pkgdir"/etc/sddm.conf.d/p1st-settings.conf + install -Dm0644 systemd.preset "$pkgdir"/usr/lib/systemd/system-preset/20-"$pkgname".preset + install -Dm0644 p1st-settings.conf "$pkgdir"/etc/sddm.conf.d/p1st-settings.conf } diff --git a/pkg/de-p1st-xfce4/TESTED b/pkg/de-p1st-xfce4/TESTED index 3087d63..7327912 100644 --- a/pkg/de-p1st-xfce4/TESTED +++ b/pkg/de-p1st-xfce4/TESTED @@ -15,3 +15,5 @@ Panel2: Thunar: -> hidden files visible -> filders not before files + +TODO: keyboard shortcut "Print" -> save .png in Pictures folder diff --git a/pkg/de-p1st-xfce4/xfce4-keyboard.shortcuts.xml.holoscript b/pkg/de-p1st-xfce4/xfce4-keyboard.shortcuts.xml.holoscript new file mode 100644 index 0000000..ecff4ca --- /dev/null +++ b/pkg/de-p1st-xfce4/xfce4-keyboard.shortcuts.xml.holoscript @@ -0,0 +1,12 @@ +#!/bin/sh +# stdin: default config +# stdout: modified config + +# save stdin (content of /etc/mkinitcpio.conf) in variable +stdin=$(cat) + +# assert a screenshot for key-combination "Print" exists +echo "$stdin" | grep --quiet '^\s*\s*$' + +# replace action key-combination "Print" +sed 's|||' <<< "$stdin"