Merge pull request #5 from koraynilay/next

Added PKGBUILD, "Installation" section in README.md and animations settings in the sample config
This commit is contained in:
Jon Burga 2020-08-05 18:06:05 +02:00 committed by GitHub
commit 260358201a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 65 additions and 8 deletions

36
PKGBUILD Normal file
View File

@ -0,0 +1,36 @@
# Maintainer: koraynilay <koray.fra@gmail.com>
# This PKGBUILD is adapted from https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=picom-tryone-git
_gitfolder="picom"
pkgname=picom-jonaburg-git
pkgver=0.1
pkgrel=1
pkgdesc="jonaburg's picom fork with tryone144's dual_kawase blur and ibhagwan's rounded corners, an X compositor (compton's fork)"
arch=(i686 x86_64)
url="https://github.com/jonaburg/picom"
license=('MIT' 'MPL2')
depends=('libconfig' 'libev' 'libxdg-basedir' 'pcre' 'pixman' 'xcb-util-image' 'xcb-util-renderutil' 'hicolor-icon-theme' 'libglvnd' 'libx11' 'libxcb' 'libxext' 'libdbus')
makedepends=('git' 'meson' 'ninja' 'gcc' 'asciidoc' 'uthash')
optdepends=('dbus: To control picom via D-Bus'
'xorg-xwininfo: For picom-trans'
'xorg-xprop: For picom-trans'
'python: For picom-convgen.py')
provides=('compton' 'compton-git' 'picom' 'picom-git')
conflicts=('compton' 'compton-git' 'picom' 'picom-git')
source=("${_gitfolder}::git+https://github.com/jonaburg/picom.git")
md5sums=("SKIP")
build() {
cd "${srcdir}/${_gitfolder}"
meson --buildtype=release . build --prefix=/usr -Dwith_docs=true
ninja -C build
}
package() {
cd "${srcdir}/${_gitfolder}"
DESTDIR="$pkgdir/" ninja -C build install
# install license
install -D -m644 "LICENSES/MIT" "${pkgdir}/usr/share/licenses/${pkgname/-git$/}/LICENSE-MIT"
# example conf
install -D -m644 "picom.sample.conf" "${pkgdir}/etc/xdg/picom.conf.example"
}

View File

@ -2,13 +2,6 @@ picom
======= =======
*new!* : You'll now also find tryone's dual_kawase blur for the new backend, as well as rounded corners from sdhand if they are so desired, merged from ibhagwan. *new!* : You'll now also find tryone's dual_kawase blur for the new backend, as well as rounded corners from sdhand if they are so desired, merged from ibhagwan.
If you're pulling my new updates, remember to build the binary again with ninja!
```
cd /path/to/this/picom
git pull
ninja -C build
```
![](demo.gif) ![](demo.gif)
@ -28,6 +21,21 @@ Your picom config can also now take advantage of some of the options that were p
- [ ] * `spawn-center` whether to animate new windows from their own center (default: true) - [ ] * `spawn-center` whether to animate new windows from their own center (default: true)
- [ ] * `no-scale-down` Whether to animate down scaling (some programs handle this poorly) (default: false) - [ ] * `no-scale-down` Whether to animate down scaling (some programs handle this poorly) (default: false)
----
### Installation of this fork
[AUR](https://aur.archlinux.org/packages/picom-jonaburg-git) package
OR
```bash
git clone https://github.com/jonaburg/picom
cd picom
meson --buildtype=release . build
ninja -C build
# To install the binaries in /usr/local/bin (optional)
sudo ninja -C build install
```
---- ----
**This is a development branch, bugs to be expected** **This is a development branch, bugs to be expected**

View File

@ -1,7 +1,20 @@
#################################
# Animations #
#################################
# requires https://github.com/jonaburg/picom
# (These are also the default values)
transition-length = 300
transition-pow-x = 0.1
transition-pow-y = 0.1
transition-pow-w = 0.1
transition-pow-h = 0.1
size-transition = true
################################# #################################
# Corners # # Corners #
################################# #################################
# requires: https://github.com/sdhand/compton # requires: https://github.com/sdhand/compton or https://github.com/jonaburg/picom
corner-radius = 25.0; corner-radius = 25.0;
rounded-corners-exclude = [ rounded-corners-exclude = [
#"window_type = 'normal'", #"window_type = 'normal'",