From 535354d9a3a7f4da7467ab56ce37e0cf2f8c76cd Mon Sep 17 00:00:00 2001 From: koraynilay <54177752+koraynilay@users.noreply.github.com> Date: Sun, 2 Aug 2020 23:11:17 +0200 Subject: [PATCH 1/7] Update picom.sample.conf --- picom.sample.conf | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/picom.sample.conf b/picom.sample.conf index 754e62e..398d395 100644 --- a/picom.sample.conf +++ b/picom.sample.conf @@ -1,7 +1,19 @@ +################################# +# 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 # ################################# -# requires: https://github.com/sdhand/compton corner-radius = 25.0; rounded-corners-exclude = [ #"window_type = 'normal'", From 67c35158bd149e15fb85f736e001c4db223c4a6c Mon Sep 17 00:00:00 2001 From: koraynilay Date: Sun, 2 Aug 2020 23:28:26 +0200 Subject: [PATCH 2/7] Added PKGBUILD --- PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 PKGBUILD diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..fc0b91c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: koraynilay +_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() { + # this is adapted from tryone144's fork PKGBUILD + 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" +} From 645f3fc5e9e27028af83ca1d2cfbb3dbec5f0219 Mon Sep 17 00:00:00 2001 From: koraynilay Date: Sun, 2 Aug 2020 23:36:01 +0200 Subject: [PATCH 3/7] Added Installation instructions in README.md Added AUR link and manual build and installation instructions in README.md --- README.md | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 914feea..210e229 100644 --- a/README.md +++ b/README.md @@ -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. -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) @@ -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) - [ ] * `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** From f3e12aaf0ac849144ced8cad520b841c217805c0 Mon Sep 17 00:00:00 2001 From: koraynilay <54177752+koraynilay@users.noreply.github.com> Date: Sun, 2 Aug 2020 23:39:27 +0200 Subject: [PATCH 4/7] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 210e229..d6e1f82 100644 --- a/README.md +++ b/README.md @@ -21,8 +21,8 @@ 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) - [ ] * `no-scale-down` Whether to animate down scaling (some programs handle this poorly) (default: false) ----- -## Installation of this fork +**Installation of this fork** + [AUR](https://aur.archlinux.org/packages/picom-jonaburg-git) package OR From 3f2b5432f28b4af864de2a234ddb931704af4fc0 Mon Sep 17 00:00:00 2001 From: koraynilay <54177752+koraynilay@users.noreply.github.com> Date: Sun, 2 Aug 2020 23:40:45 +0200 Subject: [PATCH 5/7] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d6e1f82..48b1191 100644 --- a/README.md +++ b/README.md @@ -21,8 +21,8 @@ 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) - [ ] * `no-scale-down` Whether to animate down scaling (some programs handle this poorly) (default: false) -**Installation of this fork** - +---- +### Installation of this fork [AUR](https://aur.archlinux.org/packages/picom-jonaburg-git) package OR From ff8c74b02ae04a693d31cc81173a95d950c1ae71 Mon Sep 17 00:00:00 2001 From: koraynilay <54177752+koraynilay@users.noreply.github.com> Date: Sun, 2 Aug 2020 23:42:06 +0200 Subject: [PATCH 6/7] Update PKGBUILD --- PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PKGBUILD b/PKGBUILD index fc0b91c..edb6a4e 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,4 +1,5 @@ # Maintainer: koraynilay +# 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 @@ -24,7 +25,6 @@ build() { } package() { - # this is adapted from tryone144's fork PKGBUILD cd "${srcdir}/${_gitfolder}" DESTDIR="$pkgdir/" ninja -C build install From c9b7b72741d6828107df94032d96d3c84b9b3578 Mon Sep 17 00:00:00 2001 From: koraynilay <54177752+koraynilay@users.noreply.github.com> Date: Sun, 2 Aug 2020 23:45:51 +0200 Subject: [PATCH 7/7] Update picom.sample.conf --- picom.sample.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/picom.sample.conf b/picom.sample.conf index 398d395..89f8d69 100644 --- a/picom.sample.conf +++ b/picom.sample.conf @@ -14,6 +14,7 @@ size-transition = true ################################# # Corners # ################################# +# requires: https://github.com/sdhand/compton or https://github.com/jonaburg/picom corner-radius = 25.0; rounded-corners-exclude = [ #"window_type = 'normal'",