jonaburg / picom

A lightweight compositor for X11 (previously a compton fork)
Other
954 stars 98 forks source link

Picom is outright ignoring the config #47

Open themaster567 opened 3 years ago

themaster567 commented 3 years ago

Platform

Arch Linux

GPU, drivers, and screen setup

Intel i5 5200u 1080p

Environment

Qtile

picom version

picom-jonavurg-git 0.1-4

Configuration:

# vim: filetype=conf

backend = "glx";
glx-no-stencil = true;
glx-no-rebind-pixmap = true;
xrender-sync-fence = true;
use-damage = false;
#unredir-if-possible = true;
#resize-damage = 7;
vsync = true;

#corner-radius = 12.0;
corner-radius = 0.0;
#round-borders = 1;
round-borders = 0;
rounded-corners-exclude = [
  "class_g = 'dunst'",
  "class_g = 'Polybar'",
  "class_g = 'Rofi'",
  "QTILE_INTERNAL:32c = 1"
  #"! name~=''",
];
rounded-borders-exclude = [
  "class_g = 'dunst'",
  "class_g = 'Polybar'",
  "class_g = 'Rofi'",
  "QTILE_INTERNAL:32c = 1"
  #"! name~=''",
]

 #Shadow
shadow = true;          # Enabled client-side shadows on windows.
shadow-radius = 40;     # The blur radius for shadows. (default 12)
shadow-offset-x = -40;      # The left offset for shadows. (default -15)
shadow-offset-y = -20;      # The top offset for shadows. (default -15)
shadow-opacity = 0.45;
shadow-exclude = [
 "class_g = 'Plank'",
 "! name~=''",
 "class_g = 'conky'",
 "name = 'cpt_frame_window'",
 "class_g = 'slop'",
 "name = 'lead'",
 "name = 'Eww - border1'",
 "name = 'Eww - border2'",
 "class_g = 'firefox' && argb",
 "QTILE_INTERNAL:32c = 1"
];

# Fading
fading = true; # Fade windows during opacity changes.
fade-delta = 5; # The time between steps in a fade in milliseconds. (default 10).
fade-in-step = 0.03; # Opacity change between steps while fading in. (default 0.028).
fade-out-step = 0.03; # Opacity change between steps while fading out. (default 0.03).
#no-fading-openclose = true; # Fade windows in/out when opening/closing

## Opacity
#inactive-opacity = 0.90;
#active-opacity = 1;
#frame-opacity = 1;
#inactive-opacity-override = false;
#inactive-dim = 0.2;
#inactive-dim-fixed = true;
## Opacity rules, do "xprop | grep WM_CLASS" to find class name
#opacity-rule = ["100:class_g = 'firefox'", "100:class_g = 'Chromium'", "100:class_g = 'Polybar'", "100:class_g = 'Thunderbird'", "100:name *? = 'i3lock'", "90:class_i = 'urxvt'", "100:class_i = 'cmatrixterm'", "90:class_i = 'dropdown'", "100:class_g = 'Zathura'", "100:class_g = 'Emacs'", "100:class_g = 'mpv'", "100:class_g = 'Joplin'", "90:class_i = 'applauncher'", "90:class_i = 'greenclip'", "90:class_i = 'bsphidwins'", "90:class_i = 'findFiles'", "90:class_i = 'sxhkdhelp'", "90:class_i = 'splatmoji'", "90:class_i = 'powermenu'", "90:class_i = 'fzfnotes'", "90:class_i = 'google'", "90:class_i = 'Spotify'", "90:class_g *? = 'xob'", "90:class_i = 'notifHistory'"];

detect-client-opacity = true; # This prevents opacity being ignored for some apps. For example without this enabled my xfce4-notifyd is 100% opacity no matter what.

# Blur
#blur-method = "dual_kawase";
#blur-strength = 8;
#blur-background = true;
#blur-background-frame = true;
#blur-background-fixed = true;
#blur-background-exclude = ["class_g = 'Plank'", "class_g = 'slop'", "name = 'polybar-example_eDP1'"]

# Animation settings
transition-length = 300;
transition-pow-x = 0.99;
transition-pow-y = 0.99;
transition-pow-w = 0.99;
transition-pow-h = 0.99;
size-transition = true;

# Window type settings
wintypes:
{
  tooltip = { fade = true; full-shadow = true; opacity = 1; };
  dock = { full-shadow = true;};
  popup_menu = { opacity = 1; full-shadow = true; };
  normal = {full-shadow = true;};
  dropdown_menu = { opacity = 1; full-shadow = true; }
};

Steps of reproduction

  1. change any setting at all, even comment out entire chunks.
  2. restart, reload, whatever
  3. nothing changes

Expected behavior

It should reflect changes made in the config

Current Behavior

It ignores all rounded border and corner inclusions as well as completely ignores the fact that I've completely disabled rounded everything.

Other details

The easiest way to see it is to look at the status bar at the top, noting that despite clearly excluding Qtile in the way you're supposed to, it stays rounded. This is the case with all other exceptions. Reminder, nothing is supposed to be rounded anyway, you can see in the config I've posted as well as part of the screenshot that both rounded values are set to zero.

I should add that the config is indeed in the correct location of ~/.config/picom/picom.conf image

jonaburg commented 3 years ago

Have you tried to run picom directly with passing in the path for your config file?

picom --experimental-backend --config ~/.config/picom/picom.conf (substitute with your config path if not that)

Without this, picom will by default look for the config in, usually, ~/.config/picom.conf, followed by ~/.config/picom/picom.conf. So you could have a ~/.config/picom.conf file obscuring your desired config file!