mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-23 10:18: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
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/picom --backend glx \
|
||||
--xrender-sync-fence \
|
||||
--vsync \
|
||||
--inactive-opacity 0.85 \
|
||||
--opacity-rule 100:fullscreen \
|
||||
--opacity-rule 100:override_redirect
|
||||
ExecStart=/usr/bin/picom
|
||||
Restart=on-failure
|
||||
|
|
|
@ -31,6 +31,7 @@ gtk3.css .config/gtk-3.0/gtk.css
|
|||
qt5ct.conf .config/qt5ct/qt5ct.conf
|
||||
systemd .config/systemd/user
|
||||
dunstrc .config/dunst/dunstrc
|
||||
picom.conf .config/picom.conf
|
||||
polybar.conf .config/polybar/config
|
||||
firefox.js .mozilla/firefox/*/user.js
|
||||
EOF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue