updated gnome script

This commit is contained in:
Sohrab Behdani 2024-03-24 20:10:43 +03:30
parent 26df5249e6
commit aee8ffb85d
2 changed files with 5 additions and 4 deletions

View file

@ -1,8 +1,8 @@
pkgname=gnome-parch pkgname=gnome-parch
_destname1="/etc" _destname1="/etc"
_destname2="/usr" _destname2="/usr"
pkgver=1.0.0 pkgver=2.0.0
pkgrel=1 pkgrel=2
pkgdesc="parch linux gnome config" pkgdesc="parch linux gnome config"
arch=("any") arch=("any")
url="https://github.com/parchlinux" url="https://github.com/parchlinux"
@ -13,7 +13,7 @@ provides=("${pkgname}")
options=(!strip !emptydirs) options=(!strip !emptydirs)
source=(${pkgname}::"git+${url}/${pkgname}") source=(${pkgname}::"git+${url}/${pkgname}")
sha256sums=('SKIP') sha256sums=('SKIP')
deps=("gnome-shell" "parch-gnome-backgrounds" "orchis-theme") deps=("gnome-shell" "papirus-icon-theme" "parch-gnome-backgrounds" "orchis-theme")
package() { package() {
install -dm755 ${pkgdir}${_destname1} install -dm755 ${pkgdir}${_destname1}
cp -r ${srcdir}/${pkgname}${_destname1}/* ${pkgdir}${_destname1} cp -r ${srcdir}/${pkgname}${_destname1}/* ${pkgdir}${_destname1}

View file

@ -1,8 +1,9 @@
#!/bin/sh #!/bin/sh
dconf load /org/gnome/shell/ < /etc/skel/.config/parch-dconf #dconf load /org/gnome/shell/ < /etc/skel/.config/parch-dconf
sleep 1.5 sleep 1.5
gsettings set org.gnome.desktop.interface gtk-theme adw-gtk3-dark gsettings set org.gnome.desktop.interface gtk-theme adw-gtk3-dark
gsettings set org.gnome.desktop.interface color-scheme prefer-dark gsettings set org.gnome.desktop.interface color-scheme prefer-dark
gsettings set org.gnome.desktop.interface icon-theme 'Papirus-Dark'
sleep 1.5 sleep 1.5
notify-send "parch gnome settings Applied/Restored! 🔥" notify-send "parch gnome settings Applied/Restored! 🔥"