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}"
|
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
|
|
||||||
}
|
}
|
||||||
|
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