Merge pull request #3 from meshya/main
Add theme for gdm login page and change structure of repo
5
.gitignore
vendored
|
@ -1,4 +1 @@
|
|||
src/
|
||||
pkg/
|
||||
*.tar.zst
|
||||
gnome-parch
|
||||
build
|
25
PKGBUILD
|
@ -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
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
rm -rf build
|
||||
mkdir build
|
||||
cd rootfs
|
||||
zip -r ../build/rootfs.zip ./*
|
||||
cd ../build
|
||||
cp ../PKGBUILD .
|
||||
makepkg -sc
|
77
rootfs/etc/dconf/db/gdm.d/95-parch-gdm-config
Normal 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
|
BIN
rootfs/etc/gdm/gdm-login-logo
Normal file
After Width: | Height: | Size: 6.3 KiB |
0
etc/skel/.config/autostart/dconf-load.desktop → rootfs/etc/skel/.config/autostart/dconf-load.desktop
Executable file → Normal file
0
usr/local/bin/pdconf → rootfs/usr/local/bin/pdconf
Executable file → Normal file
Before Width: | Height: | Size: 249 B After Width: | Height: | Size: 249 B |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 667 B After Width: | Height: | Size: 667 B |
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 2 KiB |
Before Width: | Height: | Size: 740 B After Width: | Height: | Size: 740 B |
Before Width: | Height: | Size: 406 B After Width: | Height: | Size: 406 B |
Before Width: | Height: | Size: 346 B After Width: | Height: | Size: 346 B |
Before Width: | Height: | Size: 346 B After Width: | Height: | Size: 346 B |