diff options
author | Tom Willemse | 2023-03-30 09:55:48 -0700 |
---|---|---|
committer | Tom Willemse | 2023-03-30 09:55:48 -0700 |
commit | 17d3bfce41befd73bbb0de98a715396074235c1f (patch) | |
tree | 86bafcd93f9bee557ee177f5443bf4c706f153ea /oni/home/services | |
parent | 8eb8bcacdf761e0ffe6e24a62f96e6e43a8fbfe1 (diff) | |
download | new-dotfiles-17d3bfce41befd73bbb0de98a715396074235c1f.tar.gz new-dotfiles-17d3bfce41befd73bbb0de98a715396074235c1f.zip |
Add opacity-rule option for picom
Use this option to specify that anything containing “(Meeting) | Microsoft
Teams” (which should be in the title of MS Teams when in a meeting) should have
100% opacity, and also that anything containing “freerdp” should have 100%
opacity.
For Teams I really only need it to be opaque once a meeting starts, I don't care
the rest of the time.
For XFreeRDP I've tried matching on ‘class_g’, ‘name’, nothing seems to work.
Using ‘opacity-rule’ finally seems to have an effect.
The rules both use ‘*’ to match anywhere in the name, and ‘?’ to specify that
the match should be case-insensitive.
Diffstat (limited to 'oni/home/services')
-rw-r--r-- | oni/home/services/picom.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/oni/home/services/picom.scm b/oni/home/services/picom.scm index c195c3a..332ad89 100644 --- a/oni/home/services/picom.scm +++ b/oni/home/services/picom.scm @@ -143,6 +143,9 @@ (blur-background-exclude (list '()) "Exclude conditions for background blur") + (opacity-rule + (list '()) + "Specify a list of opacity rules, in the format PERCENT:PATTERN, like 50:name *= \"Firefox\".") (focus-exclude (list '()) "Specify a list of conditions of windows that should always be considered focused") |