From 6787e6452a17c576ada1e486c5ce2e87835a9b9b Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Thu, 4 Feb 2021 09:18:24 +0100 Subject: [PATCH] =?UTF-8?q?[Picom]=20Upgrade=20from=20Ibhagwan=E2=80=99s?= =?UTF-8?q?=20fork=20to=20main=20fork?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This made me lose access to rounded corners for now, as they are only available for legacy backends and the dual_kawase blur is not one of them. --- .config/yadm/bootstrap | 31 +++++++++++++++---------------- org/config/installation.org | 31 +++++++++++++++---------------- org/config/picom.org | 21 ++++++++------------- 3 files changed, 38 insertions(+), 45 deletions(-) diff --git a/.config/yadm/bootstrap b/.config/yadm/bootstrap index 0afcfd4..7e373d6 100755 --- a/.config/yadm/bootstrap +++ b/.config/yadm/bootstrap @@ -80,22 +80,21 @@ network-manager-applet networkmanager networkmanager-openvpn \ nm-connection-editor nodejs-vmd nomacs nordic-theme-git nordvpn-bin \ noto-fonts-emoji npm ntfs-3g numlockx obs-studio openssh otf-fandol \ otf-ipafont p7zip pacman-contrib pandoc-bin pass pavucontrol pdfpc \ -picom-ibhagwan-git powerline-fonts prettier pulseaudio-bluetooth \ -python-autoflake python-epc python-importmagic python-language-server \ -python-nose python-pip python-poetry python-ptvsd python-pytest \ -qt5-imageformats qemu r raw-thumbnailer reflector ripgrep rofi rsync rtv \ -ruby-rb-fsevent ruby-sass rustup samba scrot sent shadow siji-git \ -simplescreenrecorder sshfs st-luke-git sxiv texlive-bin texlive-langchinese \ -texlive-langcyrillic texlive-langgreek texlive-langjapanese texlive-langkorean \ -texlive-latexextra texlive-localmanager-git texlive-most tldr tmux tree \ -ttf-arphic-uming ttf-baekmuk ttf-charis-sil ttf-dejavu \ -ttf-google-fonts-opinionated-git ttf-hanazono ttf-joypixels ttf-koruri \ -ttf-liberation ttf-monapo ttf-sazanami ttf-tibetan-machine typescript \ -typescript-language-server-bin unicode-emoji unrar usbutils valgrind \ -vscode-css-languageserver-bin vscode-html-languageserver-bin w3m wget \ -x11-ssh-askpass xclip xdg-user-dirs-gtk xfce-polkit xidlehook xfsprogs \ -xorg-drivers xorg-server xorg-xinit xss-lock xvkbd xwallpaper \ -yaml-language-server-bin zeal +picom-git powerline-fonts prettier pulseaudio-bluetooth python-autoflake \ +python-epc python-importmagic python-language-server python-nose python-pip \ +python-poetry python-ptvsd python-pytest qt5-imageformats qemu r \ +raw-thumbnailer reflector ripgrep rofi rsync rtv ruby-rb-fsevent ruby-sass \ +rustup samba scrot sent shadow siji-git simplescreenrecorder sshfs \ +st-luke-git sxiv texlive-bin texlive-langchinese texlive-langcyrillic \ +texlive-langgreek texlive-langjapanese texlive-langkorean texlive-latexextra \ +texlive-localmanager-git texlive-most tldr tmux tree ttf-arphic-uming \ +ttf-baekmuk ttf-charis-sil ttf-dejavu ttf-google-fonts-opinionated-git \ +ttf-hanazono ttf-joypixels ttf-koruri ttf-liberation ttf-monapo ttf-sazanami \ +ttf-tibetan-machine typescript typescript-language-server-bin unicode-emoji \ +unrar usbutils valgrind vscode-css-languageserver-bin \ +vscode-html-languageserver-bin w3m wget x11-ssh-askpass xclip \ +xdg-user-dirs-gtk xfce-polkit xidlehook xfsprogs xorg-drivers xorg-server \ +xorg-xinit xss-lock xvkbd xwallpaper yaml-language-server-bin zeal printf "\n# Installing needed packages ##################################################\n\n" sudo pacman -Syu diff --git a/org/config/installation.org b/org/config/installation.org index a2c8e8d..296b4eb 100644 --- a/org/config/installation.org +++ b/org/config/installation.org @@ -224,22 +224,21 @@ Let’s set in a custom varible what packages we’ll be needing. nm-connection-editor nodejs-vmd nomacs nordic-theme-git nordvpn-bin \ noto-fonts-emoji npm ntfs-3g numlockx obs-studio openssh otf-fandol \ otf-ipafont p7zip pacman-contrib pandoc-bin pass pavucontrol pdfpc \ - picom-ibhagwan-git powerline-fonts prettier pulseaudio-bluetooth \ - python-autoflake python-epc python-importmagic python-language-server \ - python-nose python-pip python-poetry python-ptvsd python-pytest \ - qt5-imageformats qemu r raw-thumbnailer reflector ripgrep rofi rsync rtv \ - ruby-rb-fsevent ruby-sass rustup samba scrot sent shadow siji-git \ - simplescreenrecorder sshfs st-luke-git sxiv texlive-bin texlive-langchinese \ - texlive-langcyrillic texlive-langgreek texlive-langjapanese texlive-langkorean \ - texlive-latexextra texlive-localmanager-git texlive-most tldr tmux tree \ - ttf-arphic-uming ttf-baekmuk ttf-charis-sil ttf-dejavu \ - ttf-google-fonts-opinionated-git ttf-hanazono ttf-joypixels ttf-koruri \ - ttf-liberation ttf-monapo ttf-sazanami ttf-tibetan-machine typescript \ - typescript-language-server-bin unicode-emoji unrar usbutils valgrind \ - vscode-css-languageserver-bin vscode-html-languageserver-bin w3m wget \ - x11-ssh-askpass xclip xdg-user-dirs-gtk xfce-polkit xidlehook xfsprogs \ - xorg-drivers xorg-server xorg-xinit xss-lock xvkbd xwallpaper \ - yaml-language-server-bin zeal + picom-git powerline-fonts prettier pulseaudio-bluetooth python-autoflake \ + python-epc python-importmagic python-language-server python-nose python-pip \ + python-poetry python-ptvsd python-pytest qt5-imageformats qemu r \ + raw-thumbnailer reflector ripgrep rofi rsync rtv ruby-rb-fsevent ruby-sass \ + rustup samba scrot sent shadow siji-git simplescreenrecorder sshfs \ + st-luke-git sxiv texlive-bin texlive-langchinese texlive-langcyrillic \ + texlive-langgreek texlive-langjapanese texlive-langkorean texlive-latexextra \ + texlive-localmanager-git texlive-most tldr tmux tree ttf-arphic-uming \ + ttf-baekmuk ttf-charis-sil ttf-dejavu ttf-google-fonts-opinionated-git \ + ttf-hanazono ttf-joypixels ttf-koruri ttf-liberation ttf-monapo ttf-sazanami \ + ttf-tibetan-machine typescript typescript-language-server-bin unicode-emoji \ + unrar usbutils valgrind vscode-css-languageserver-bin \ + vscode-html-languageserver-bin w3m wget x11-ssh-askpass xclip \ + xdg-user-dirs-gtk xfce-polkit xidlehook xfsprogs xorg-drivers xorg-server \ + xorg-xinit xss-lock xvkbd xwallpaper yaml-language-server-bin zeal #+END_SRC These are the minimum I would have in my own installation. You can edit it however you want. Let’s install those. diff --git a/org/config/picom.org b/org/config/picom.org index 0752836..105d2ff 100644 --- a/org/config/picom.org +++ b/org/config/picom.org @@ -17,12 +17,12 @@ Picom is the successor to Compton, a standalone compositor for Xorg. It provides :END: The following enables client-side shadows on windows. Note desktop windows (windows with ~_NET_WM_WINDOW_TYPE_DESKTOP~) never get shadow, unless explicitly requested using the wintypes option. I personally deactivated shadows because they don’t work out too well with rounded corners. #+BEGIN_SRC conf - shadow = false; + shadow = true; #+END_SRC The blur radius radius for shadows is measured in pixels, and it defaults to 12px. #+BEGIN_SRC conf - shadow-radius = 7; + shadow-radius = 17; #+END_SRC Picom can also apply some level of opacity on shadows. @@ -30,24 +30,19 @@ Picom can also apply some level of opacity on shadows. | Min value | ~0.0~ | | Max value | ~1.0~ | #+BEGIN_SRC conf - shadow-opacity = 0.85 + shadow-opacity = 0.6 #+END_SRC The left and top offsets for shadows are expressed in pixels. | Default value | ~-15~ | #+BEGIN_SRC conf - shadow-offset-x = -5; - shadow-offset-y = -5; + shadow-offset-x = -12; + shadow-offset-y = -12; #+END_SRC -The following values have an impact on the shadow’s RGB color. -| Default value | ~0.0~ | -| Min value | ~0.0~ | -| Max value | ~1.0~ | +It is possible to set the color of the shadow with the string contained in ~shadow-color~ with a hexadecimal value. I haven’t included these values in my config, but this value will override any value in ~shadow-red~, ~shadow-green~, or ~shadow-blue~. #+BEGIN_SRC conf - shadow-red = 0.0; - shadow-green = 0.0; - shadow-blue = 0.0; + shadow-color = "#000000" #+END_SRC It is possible to specify a list of conditions of windows that should have no @@ -256,7 +251,7 @@ The following are the parameters for background blurring, see the \*BLUR\* secti strength = 7; background = false; background-frame = false; - background-fixed = false; + background-fixed = true; } #+END_SRC