[Picom] Upgrade from Ibhagwan’s fork to main fork

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.
This commit is contained in:
Lucien Cartier-Tilet 2021-02-04 09:18:24 +01:00
parent 9062092b1d
commit 6787e6452a
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
3 changed files with 38 additions and 45 deletions

View File

@ -80,22 +80,21 @@ network-manager-applet networkmanager networkmanager-openvpn \
nm-connection-editor nodejs-vmd nomacs nordic-theme-git nordvpn-bin \ nm-connection-editor nodejs-vmd nomacs nordic-theme-git nordvpn-bin \
noto-fonts-emoji npm ntfs-3g numlockx obs-studio openssh otf-fandol \ noto-fonts-emoji npm ntfs-3g numlockx obs-studio openssh otf-fandol \
otf-ipafont p7zip pacman-contrib pandoc-bin pass pavucontrol pdfpc \ otf-ipafont p7zip pacman-contrib pandoc-bin pass pavucontrol pdfpc \
picom-ibhagwan-git powerline-fonts prettier pulseaudio-bluetooth \ picom-git powerline-fonts prettier pulseaudio-bluetooth python-autoflake \
python-autoflake python-epc python-importmagic python-language-server \ python-epc python-importmagic python-language-server python-nose python-pip \
python-nose python-pip python-poetry python-ptvsd python-pytest \ python-poetry python-ptvsd python-pytest qt5-imageformats qemu r \
qt5-imageformats qemu r raw-thumbnailer reflector ripgrep rofi rsync rtv \ raw-thumbnailer reflector ripgrep rofi rsync rtv ruby-rb-fsevent ruby-sass \
ruby-rb-fsevent ruby-sass rustup samba scrot sent shadow siji-git \ rustup samba scrot sent shadow siji-git simplescreenrecorder sshfs \
simplescreenrecorder sshfs st-luke-git sxiv texlive-bin texlive-langchinese \ st-luke-git sxiv texlive-bin texlive-langchinese texlive-langcyrillic \
texlive-langcyrillic texlive-langgreek texlive-langjapanese texlive-langkorean \ texlive-langgreek texlive-langjapanese texlive-langkorean texlive-latexextra \
texlive-latexextra texlive-localmanager-git texlive-most tldr tmux tree \ texlive-localmanager-git texlive-most tldr tmux tree ttf-arphic-uming \
ttf-arphic-uming ttf-baekmuk ttf-charis-sil ttf-dejavu \ ttf-baekmuk ttf-charis-sil ttf-dejavu ttf-google-fonts-opinionated-git \
ttf-google-fonts-opinionated-git ttf-hanazono ttf-joypixels ttf-koruri \ ttf-hanazono ttf-joypixels ttf-koruri ttf-liberation ttf-monapo ttf-sazanami \
ttf-liberation ttf-monapo ttf-sazanami ttf-tibetan-machine typescript \ ttf-tibetan-machine typescript typescript-language-server-bin unicode-emoji \
typescript-language-server-bin unicode-emoji unrar usbutils valgrind \ unrar usbutils valgrind vscode-css-languageserver-bin \
vscode-css-languageserver-bin vscode-html-languageserver-bin w3m wget \ vscode-html-languageserver-bin w3m wget x11-ssh-askpass xclip \
x11-ssh-askpass xclip xdg-user-dirs-gtk xfce-polkit xidlehook xfsprogs \ xdg-user-dirs-gtk xfce-polkit xidlehook xfsprogs xorg-drivers xorg-server \
xorg-drivers xorg-server xorg-xinit xss-lock xvkbd xwallpaper \ xorg-xinit xss-lock xvkbd xwallpaper yaml-language-server-bin zeal
yaml-language-server-bin zeal
printf "\n# Installing needed packages ##################################################\n\n" printf "\n# Installing needed packages ##################################################\n\n"
sudo pacman -Syu sudo pacman -Syu

View File

@ -224,22 +224,21 @@ Lets set in a custom varible what packages well be needing.
nm-connection-editor nodejs-vmd nomacs nordic-theme-git nordvpn-bin \ nm-connection-editor nodejs-vmd nomacs nordic-theme-git nordvpn-bin \
noto-fonts-emoji npm ntfs-3g numlockx obs-studio openssh otf-fandol \ noto-fonts-emoji npm ntfs-3g numlockx obs-studio openssh otf-fandol \
otf-ipafont p7zip pacman-contrib pandoc-bin pass pavucontrol pdfpc \ otf-ipafont p7zip pacman-contrib pandoc-bin pass pavucontrol pdfpc \
picom-ibhagwan-git powerline-fonts prettier pulseaudio-bluetooth \ picom-git powerline-fonts prettier pulseaudio-bluetooth python-autoflake \
python-autoflake python-epc python-importmagic python-language-server \ python-epc python-importmagic python-language-server python-nose python-pip \
python-nose python-pip python-poetry python-ptvsd python-pytest \ python-poetry python-ptvsd python-pytest qt5-imageformats qemu r \
qt5-imageformats qemu r raw-thumbnailer reflector ripgrep rofi rsync rtv \ raw-thumbnailer reflector ripgrep rofi rsync rtv ruby-rb-fsevent ruby-sass \
ruby-rb-fsevent ruby-sass rustup samba scrot sent shadow siji-git \ rustup samba scrot sent shadow siji-git simplescreenrecorder sshfs \
simplescreenrecorder sshfs st-luke-git sxiv texlive-bin texlive-langchinese \ st-luke-git sxiv texlive-bin texlive-langchinese texlive-langcyrillic \
texlive-langcyrillic texlive-langgreek texlive-langjapanese texlive-langkorean \ texlive-langgreek texlive-langjapanese texlive-langkorean texlive-latexextra \
texlive-latexextra texlive-localmanager-git texlive-most tldr tmux tree \ texlive-localmanager-git texlive-most tldr tmux tree ttf-arphic-uming \
ttf-arphic-uming ttf-baekmuk ttf-charis-sil ttf-dejavu \ ttf-baekmuk ttf-charis-sil ttf-dejavu ttf-google-fonts-opinionated-git \
ttf-google-fonts-opinionated-git ttf-hanazono ttf-joypixels ttf-koruri \ ttf-hanazono ttf-joypixels ttf-koruri ttf-liberation ttf-monapo ttf-sazanami \
ttf-liberation ttf-monapo ttf-sazanami ttf-tibetan-machine typescript \ ttf-tibetan-machine typescript typescript-language-server-bin unicode-emoji \
typescript-language-server-bin unicode-emoji unrar usbutils valgrind \ unrar usbutils valgrind vscode-css-languageserver-bin \
vscode-css-languageserver-bin vscode-html-languageserver-bin w3m wget \ vscode-html-languageserver-bin w3m wget x11-ssh-askpass xclip \
x11-ssh-askpass xclip xdg-user-dirs-gtk xfce-polkit xidlehook xfsprogs \ xdg-user-dirs-gtk xfce-polkit xidlehook xfsprogs xorg-drivers xorg-server \
xorg-drivers xorg-server xorg-xinit xss-lock xvkbd xwallpaper \ xorg-xinit xss-lock xvkbd xwallpaper yaml-language-server-bin zeal
yaml-language-server-bin zeal
#+END_SRC #+END_SRC
These are the minimum I would have in my own installation. You can edit it however you want. Lets install those. These are the minimum I would have in my own installation. You can edit it however you want. Lets install those.

View File

@ -17,12 +17,12 @@ Picom is the successor to Compton, a standalone compositor for Xorg. It provides
:END: :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 dont work out too well with rounded corners. 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 dont work out too well with rounded corners.
#+BEGIN_SRC conf #+BEGIN_SRC conf
shadow = false; shadow = true;
#+END_SRC #+END_SRC
The blur radius radius for shadows is measured in pixels, and it defaults to 12px. The blur radius radius for shadows is measured in pixels, and it defaults to 12px.
#+BEGIN_SRC conf #+BEGIN_SRC conf
shadow-radius = 7; shadow-radius = 17;
#+END_SRC #+END_SRC
Picom can also apply some level of opacity on shadows. 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~ | | Min value | ~0.0~ |
| Max value | ~1.0~ | | Max value | ~1.0~ |
#+BEGIN_SRC conf #+BEGIN_SRC conf
shadow-opacity = 0.85 shadow-opacity = 0.6
#+END_SRC #+END_SRC
The left and top offsets for shadows are expressed in pixels. The left and top offsets for shadows are expressed in pixels.
| Default value | ~-15~ | | Default value | ~-15~ |
#+BEGIN_SRC conf #+BEGIN_SRC conf
shadow-offset-x = -5; shadow-offset-x = -12;
shadow-offset-y = -5; shadow-offset-y = -12;
#+END_SRC #+END_SRC
The following values have an impact on the shadows RGB color. It is possible to set the color of the shadow with the string contained in ~shadow-color~ with a hexadecimal value. I havent included these values in my config, but this value will override any value in ~shadow-red~, ~shadow-green~, or ~shadow-blue~.
| Default value | ~0.0~ |
| Min value | ~0.0~ |
| Max value | ~1.0~ |
#+BEGIN_SRC conf #+BEGIN_SRC conf
shadow-red = 0.0; shadow-color = "#000000"
shadow-green = 0.0;
shadow-blue = 0.0;
#+END_SRC #+END_SRC
It is possible to specify a list of conditions of windows that should have no 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; strength = 7;
background = false; background = false;
background-frame = false; background-frame = false;
background-fixed = false; background-fixed = true;
} }
#+END_SRC #+END_SRC