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}" url="https://codeberg.org/privacy1st/${_reponame}"
license=('MIT') license=('MIT')
makedepends=('git') 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 backup=('etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml') # de-p1st-xfce4-hidpi changes this file through holo
install='.install' install='.install'
source=("git+${url}.git" "git+https://codeberg.org/privacy1st/md-to-pdf.git") 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! # Thus we place it in the skeleton for new users!
# -> See comments in individual files in directory "config" # -> See comments in individual files in directory "config"
# -> Additionally there is the file .config/user-dirs.dirs for nautilus new file templates # -> Additionally there is the file .config/user-dirs.dirs for nautilus new file templates
mkdir -p "$pkgdir"/etc/skel/ mkdir -p "$pkgdir"/etc/
cp -ra config "$pkgdir"/etc/skel/.config rsync -av skel/ "$pkgdir"/etc/skel/
# === shortcuts === # === 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 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 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 p1st-settings.conf "$pkgdir"/etc/sddm.conf.d/p1st-settings.conf
# === nautilus scripts === # === nautilus ===
mkdir -p "$pkgdir"/etc/skel/ # -> default file manager and nautilus scripts
cp -ra local "$pkgdir"/etc/skel/.local mkdir -p "$pkgdir"/etc/
mkdir -p "$pkgdir"/etc/skel/Templates/ rsync -av skel_nautilus/ "$pkgdir"/etc/skel/
touch "$pkgdir"/etc/skel/Templates/new_md.md
touch "$pkgdir"/etc/skel/Templates/new_txt.txt
} }

View File

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

View File

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