mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
xfce4: nautilus as default file manager
This commit is contained in:
parent
970fd7eb89
commit
f5b6ed07b2
@ -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/
|
||||
}
|
||||
|
1
pkg/de-p1st-xfce4/skel_nautilus/.config/mimeapps.list
Normal file
1
pkg/de-p1st-xfce4/skel_nautilus/.config/mimeapps.list
Normal file
@ -0,0 +1 @@
|
||||
"$pkgdir"/etc/skel/.config
|
1
pkg/de-p1st-xfce4/skel_nautilus/.config/xfce4/helpers.rc
Normal file
1
pkg/de-p1st-xfce4/skel_nautilus/.config/xfce4/helpers.rc
Normal file
@ -0,0 +1 @@
|
||||
FileManager=nautilus
|
0
pkg/de-p1st-xfce4/skel_nautilus/Templates/new_md.md
Normal file
0
pkg/de-p1st-xfce4/skel_nautilus/Templates/new_md.md
Normal file
Loading…
Reference in New Issue
Block a user