diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c795b05 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +build \ No newline at end of file diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..61d3168 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +pkgname=parch-gdm-settings +pkgver=0.1 +pkgrel=4 +pkgdesc="Parch settings and theme for gdm" +arch=('any') +url="https://github.com/parchlinuxb/parch-gdm-settings" +license=("GPL-3.0") +depends=("gnome-parch") +source=("rootfs.zip") +sha256sums=('SKIP') + + +package() { + cp -r * $pkgdir + chmod 544 /usr/share/gnome-shell/gnome-shell-theme.gresource + chmod 544 /etc/dconf/db/gdm.d/95-parch-gdm-config + chmod 544 /etc/gdm/gdm-login-logo +} + +post_install(){ + mv /usr/share/gnome-shell/parch-gnome-shell-theme.gresource /usr/share/gnome-shell/gnome-shell-theme.gresource + chmod 544 /usr/share/gnome-shell/gnome-shell-theme.gresource + chmod 544 /etc/dconf/db/gdm.d/95-parch-gdm-config + chmod 544 /etc/gdm/gdm-login-logo + +} \ No newline at end of file diff --git a/README.md b/README.md index 307ec35..0ece3d5 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,3 @@ # Parch gdm settings Theme and setting files of gdm for parch -made by [meshya](https://github.com/meshya) diff --git a/build.sh b/build.sh new file mode 100644 index 0000000..a69e9fa --- /dev/null +++ b/build.sh @@ -0,0 +1,7 @@ +rm -rf build +mkdir build +cd rootfs +zip -r ../build/rootfs.zip ./* +cd ../build +cp ../PKGBUILD . +makepkg -sc diff --git a/rootfs/etc/dconf/db/gdm.d/95-parch-gdm-config b/rootfs/etc/dconf/db/gdm.d/95-parch-gdm-config new file mode 100644 index 0000000..3a12710 --- /dev/null +++ b/rootfs/etc/dconf/db/gdm.d/95-parch-gdm-config @@ -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 diff --git a/rootfs/etc/gdm/gdm-login-logo b/rootfs/etc/gdm/gdm-login-logo new file mode 100644 index 0000000..1fa6231 Binary files /dev/null and b/rootfs/etc/gdm/gdm-login-logo differ diff --git a/rootfs/usr/share/gnome-shell/parch-gnome-shell-theme.gresource b/rootfs/usr/share/gnome-shell/parch-gnome-shell-theme.gresource new file mode 100644 index 0000000..927b96a Binary files /dev/null and b/rootfs/usr/share/gnome-shell/parch-gnome-shell-theme.gresource differ