Merge pull request #3 from meshya/main

Add theme for gdm login page and change structure of repo
This commit is contained in:
Sohrab Behdani 2024-07-23 22:55:10 +03:30 committed by GitHub
commit b1afe4a02d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
156 changed files with 105 additions and 10 deletions

5
.gitignore vendored
View file

@ -1,4 +1 @@
src/
pkg/
*.tar.zst
gnome-parch
build

View file

@ -1,8 +1,8 @@
pkgname=gnome-parch
_destname1="/etc"
_destname2="/usr"
pkgver=2.0.0
pkgrel=2
pkgver=3.0.0
pkgrel=1
pkgdesc="parch linux gnome config"
arch=("any")
url="https://github.com/parchlinux"
@ -11,13 +11,26 @@ makedepends=('git')
conflicts=()
provides=("${pkgname}")
options=(!strip !emptydirs)
source=(${pkgname}::"git+${url}/${pkgname}")
source=("rootfs.zip")
sha256sums=('SKIP')
deps=("gnome-shell" "papirus-icon-theme" "parch-gnome-backgrounds" "orchis-theme")
package() {
install -dm755 ${pkgdir}${_destname1}
cp -r ${srcdir}/${pkgname}${_destname1}/* ${pkgdir}${_destname1}
cp -r ${srcdir}${_destname1}/* ${pkgdir}${_destname1}
install -dm755 ${pkgdir}${_destname2}
cp -r ${srcdir}/${pkgname}${_destname2}/* ${pkgdir}${_destname2}
rm ${srcdir}/${pkgname}/PKGBUILD
cp -r ${srcdir}${_destname2}/* ${pkgdir}${_destname2}
chmod 544 ${pkgdir}/usr/share/gnome-shell/parch-gnome-shell-theme.gresource
chmod 544 ${pkgdir}/etc/dconf/db/gdm.d/95-parch-gdm-config
chmod 544 ${pkgdir}/etc/gdm/gdm-login-logo
}
post_install(){
cp /usr/share/gnome-shell/gnome-shell-theme.gresource /usr/share/gnome-shell/gnome-shell-theme.gresource.old
mv /usr/share/gnome-shell/parch-gnome-shell-theme.gresource /usr/share/gnome-shell/gnome-shell-theme.gresource
chmod 544 ${pkgdir}/usr/share/gnome-shell/gnome-shell-theme.gresource
}
pre_remove(){
mv /usr/share/gnome-shell/gnome-shell-theme.gresource.old /usr/share/gnome-shell/gnome-shell-theme.gresource
}

8
build.sh Normal file
View file

@ -0,0 +1,8 @@
#!/bin/bash
rm -rf build
mkdir build
cd rootfs
zip -r ../build/rootfs.zip ./*
cd ../build
cp ../PKGBUILD .
makepkg -sc

View file

@ -0,0 +1,77 @@
#-------- Interface ---------
[org/gnome/desktop/interface]
#----------------------------
cursor-theme='Adwaita'
cursor-size=24
icon-theme='Papirus-Dark'
show-battery-percentage=true
clock-show-seconds=false
clock-show-weekday=false
clock-format='12h'
font-name='Cantarell 11'
font-antialiasing='grayscale'
font-hinting='slight'
text-scaling-factor=1.0
#---- Accessibility ----
[org/gnome/desktop/a11y]
#------------------------
always-show-universal-access-status=false
#-------- Sound ---------
[org/gnome/desktop/sound]
#------------------------
theme-name='freedesktop'
event-sounds=true
input-feedback-sounds=false
allow-volume-above-100-percent=false
#-------------- Mouse ---------------
[org/gnome/desktop/peripherals/mouse]
#------------------------------------
accel-profile='default'
natural-scroll=false
speed=0.0
#-------------- Touchpad ---------------
[org/gnome/desktop/peripherals/touchpad]
#---------------------------------------
speed=0.0
tap-to-click=true
natural-scroll=true
two-finger-scrolling-enabled=true
disable-while-typing=true
#---------------- Power -----------------
[org/gnome/settings-daemon/plugins/power]
#----------------------------------------
power-button-action='suspend'
power-saver-profile-on-low-battery=true
dim-screen=true
sleep-inactive-ac-type='suspend'
sleep-inactive-ac-timeout=900
sleep-inactive-battery-type='suspend'
sleep-inactive-battery-timeout=900
#--------------- Session ----------------
[org/gnome/desktop/session]
#----------------------------------------
idle-delay=300
#------------- Night Light --------------
[org/gnome/settings-daemon/plugins/color]
#----------------------------------------
night-light-enabled=false
night-light-temperature=uint32 2700
night-light-schedule-automatic=true
night-light-schedule-from=20.0
night-light-schedule-to=6.0
#----- Login Screen ----
[org/gnome/login-screen]
#-----------------------
logo='/etc/gdm/gdm-login-logo'
banner-message-enable=false
banner-message-text=''
disable-restart-buttons=false
disable-user-list=false

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

0
usr/local/bin/pdconf → rootfs/usr/local/bin/pdconf Executable file → Normal file
View file

Some files were not shown because too many files have changed in this diff Show more