Skip to content

Commit

Permalink
🔥 add wayfire
Browse files Browse the repository at this point in the history
  • Loading branch information
vnepogodin committed Aug 5, 2022
1 parent 28417af commit a47b188
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
37 changes: 37 additions & 0 deletions cachyos-wayfire-settings/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Maintainer: Vladislav Nepogodin <[email protected]>

pkgname=cachyos-wayfire-settings
pkgdesc='CachyOS GNOME settings'
pkgver=1.0.0
pkgrel=1
arch=('any')
url="https://github.com/cachyos/$pkgname"
license=('GPL')
makedepends=('coreutils')
source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
sha512sums=('4c7340f6fc62804026f6f6d1a017ba5b8a981ef2b89ed987114aafbf6528ef71bc2120cb1bbb757ed06020c7abe160064518185e8807eb46a54986ee0801285e')
depends=('cachyos-fish-config'
'nerd-fonts-fantasque-sans-mono'
'noto-fonts'
'ttf-fira-sans'
'kvantum-qt5'
'qt5ct'
'char-white'
'bemenu'
'bemenu-wayland'
'xorg-xwayland'
'wayfire-desktop-git'
'capitaine-cursors'
'cachyos-wallpapers'
'kvantum-theme-nordic-git'
'cachyos-nord-gtk-theme-git')
install=$pkgname.install
provides=('cachyos-desktop-settings')
conflicts=('cachyos-desktop-settings')

package() {
install -d $pkgdir/etc
cp -rf $srcdir/$pkgname-$pkgver/etc $pkgdir
install -d $pkgdir/usr
cp -rf $srcdir/$pkgname-$pkgver/usr $pkgdir
}
13 changes: 13 additions & 0 deletions cachyos-wayfire-settings/cachyos-wayfire-settings.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
post_install() {
post_upgrade
}

post_upgrade() {
mkfontscale /usr/share/fonts/TTF /usr/share/fonts/OTF /usr/share/fonts/misc > /dev/null 2>&1
mkfontdir /usr/share/fonts/TTF /usr/share/fonts/OTF /usr/share/fonts/misc > /dev/null 2>&1
fc-cache -s >/dev/null

glib-compile-schemas usr/share/glib-2.0/schemas
gtk-update-icon-cache -ftq usr/share/icons/hicolor
/bin/sh -c 'dconf update'
}

0 comments on commit a47b188

Please sign in to comment.