mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-23 18:28:34 +02:00
picom: switch to a configuration file
It's easier to edit rules this way. Also, add some rules.
This commit is contained in:
parent
c08a54aed0
commit
3ba1e7e45d
3 changed files with 20 additions and 6 deletions
18
dotfiles/picom.conf
Normal file
18
dotfiles/picom.conf
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
backend = "glx";
|
||||||
|
xrender-sync-fence = true;
|
||||||
|
vsync = true;
|
||||||
|
|
||||||
|
# Opacity
|
||||||
|
inactive-opacity = 0.85;
|
||||||
|
inactive-opacity-override = true;
|
||||||
|
mark-ovredir-focused = true;
|
||||||
|
focus-exclude = [
|
||||||
|
"fullscreen"
|
||||||
|
];
|
||||||
|
fading = true;
|
||||||
|
wintypes:
|
||||||
|
{
|
||||||
|
popup_menu = { opacity = 1; }
|
||||||
|
dropdown_menu = { opacity = 1; }
|
||||||
|
menu = { opacity = 1; }
|
||||||
|
}
|
|
@ -3,10 +3,5 @@ Description=Compositor for X11
|
||||||
PartOf=graphical-session.target
|
PartOf=graphical-session.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/picom --backend glx \
|
ExecStart=/usr/bin/picom
|
||||||
--xrender-sync-fence \
|
|
||||||
--vsync \
|
|
||||||
--inactive-opacity 0.85 \
|
|
||||||
--opacity-rule 100:fullscreen \
|
|
||||||
--opacity-rule 100:override_redirect
|
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|
|
@ -31,6 +31,7 @@ gtk3.css .config/gtk-3.0/gtk.css
|
||||||
qt5ct.conf .config/qt5ct/qt5ct.conf
|
qt5ct.conf .config/qt5ct/qt5ct.conf
|
||||||
systemd .config/systemd/user
|
systemd .config/systemd/user
|
||||||
dunstrc .config/dunst/dunstrc
|
dunstrc .config/dunst/dunstrc
|
||||||
|
picom.conf .config/picom.conf
|
||||||
polybar.conf .config/polybar/config
|
polybar.conf .config/polybar/config
|
||||||
firefox.js .mozilla/firefox/*/user.js
|
firefox.js .mozilla/firefox/*/user.js
|
||||||
EOF
|
EOF
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue