xfce4: nautilus as default file manager

This commit is contained in:
Daniel Langbein 2021-09-06 12:52:19 +02:00
parent 970fd7eb89
commit f5b6ed07b2
15 changed files with 9 additions and 8 deletions

View File

@ -9,6 +9,7 @@ arch=('any')
url="https://codeberg.org/privacy1st/${_reponame}"
license=('MIT')
makedepends=('git')
makedepends+=('rsync') # to merge two directories
backup=('etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml') # de-p1st-xfce4-hidpi changes this file through holo
install='.install'
source=("git+${url}.git" "git+https://codeberg.org/privacy1st/md-to-pdf.git")
@ -136,8 +137,8 @@ package() {
# Thus we place it in the skeleton for new users!
# -> See comments in individual files in directory "config"
# -> Additionally there is the file .config/user-dirs.dirs for nautilus new file templates
mkdir -p "$pkgdir"/etc/skel/
cp -ra config "$pkgdir"/etc/skel/.config
mkdir -p "$pkgdir"/etc/
rsync -av skel/ "$pkgdir"/etc/skel/
# === shortcuts ===
install -Dm0544 xfce4-keyboard-shortcuts.xml.holoscript "$pkgdir"/usr/share/holo/files/20-"$pkgname"/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml.holoscript
@ -146,10 +147,8 @@ package() {
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
# === nautilus scripts ===
mkdir -p "$pkgdir"/etc/skel/
cp -ra local "$pkgdir"/etc/skel/.local
mkdir -p "$pkgdir"/etc/skel/Templates/
touch "$pkgdir"/etc/skel/Templates/new_md.md
touch "$pkgdir"/etc/skel/Templates/new_txt.txt
# === nautilus ===
# -> default file manager and nautilus scripts
mkdir -p "$pkgdir"/etc/
rsync -av skel_nautilus/ "$pkgdir"/etc/skel/
}

View File

@ -0,0 +1 @@
"$pkgdir"/etc/skel/.config

View File

@ -0,0 +1 @@
FileManager=nautilus