chore(picom): fix xmobar rounded corner and dim inactive windows
This commit is contained in:
		
							parent
							
								
									4e220426a4
								
							
						
					
					
						commit
						f694c5b268
					
				
					 1 changed files with 10 additions and 7 deletions
				
			
		| 
						 | 
				
			
			@ -16,7 +16,10 @@ rounded-corners-exclude = [
 | 
			
		|||
  #"window_type = 'normal'",
 | 
			
		||||
  "class_g = 'Rofi'",
 | 
			
		||||
  "class_g = 'TelegramDesktop'",
 | 
			
		||||
  "class_g = 'Dunst'"
 | 
			
		||||
  "class_g = 'Dunst'",
 | 
			
		||||
  "name = 'xmobar'",
 | 
			
		||||
  "class_g = 'trayer'",
 | 
			
		||||
  "name = 'panel'",
 | 
			
		||||
];
 | 
			
		||||
round-borders = 1;
 | 
			
		||||
round-borders-exclude = [
 | 
			
		||||
| 
						 | 
				
			
			@ -148,11 +151,11 @@ fade-exclude = [
 | 
			
		|||
 | 
			
		||||
# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
 | 
			
		||||
# inactive-opacity = 1
 | 
			
		||||
inactive-opacity = 0.8;
 | 
			
		||||
inactive-opacity = 1;
 | 
			
		||||
 | 
			
		||||
# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
 | 
			
		||||
# frame-opacity = 1.0
 | 
			
		||||
frame-opacity = 0.7;
 | 
			
		||||
#frame-opacity = 0.7;
 | 
			
		||||
 | 
			
		||||
# Default opacity for dropdown menus and popup menus. (0.0 - 1.0, defaults to 1.0)
 | 
			
		||||
# menu-opacity = 1.0 
 | 
			
		||||
| 
						 | 
				
			
			@ -171,7 +174,7 @@ inactive-opacity-override = false;
 | 
			
		|||
active-opacity = 1.0;
 | 
			
		||||
 | 
			
		||||
# Dim inactive windows. (0.0 - 1.0, defaults to 0.0)
 | 
			
		||||
# inactive-dim = 0.0
 | 
			
		||||
inactive-dim = 0.06;
 | 
			
		||||
 | 
			
		||||
# Specify a list of conditions of windows that should always be considered focused.
 | 
			
		||||
# focus-exclude = []
 | 
			
		||||
| 
						 | 
				
			
			@ -182,7 +185,7 @@ focus-exclude = [
 | 
			
		|||
];
 | 
			
		||||
 | 
			
		||||
# Use fixed inactive dim value, instead of adjusting according to window opacity.
 | 
			
		||||
# inactive-dim-fixed = 1.0
 | 
			
		||||
inactive-dim-fixed = false;
 | 
			
		||||
 | 
			
		||||
# Specify a list of opacity rules, in the format `PERCENT:PATTERN`, 
 | 
			
		||||
# like `50:name *= "Firefox"`. picom-trans is recommended over this. 
 | 
			
		||||
| 
						 | 
				
			
			@ -302,7 +305,7 @@ mark-wmwin-focused = true;
 | 
			
		|||
 | 
			
		||||
# Mark override-redirect windows that doesn't have a child window with 'WM_STATE' focused.
 | 
			
		||||
# mark-ovredir-focused = false
 | 
			
		||||
mark-ovredir-focused = true;
 | 
			
		||||
mark-ovredir-focused = false;
 | 
			
		||||
 | 
			
		||||
# Try to detect windows with rounded corners and don't consider them 
 | 
			
		||||
# shaped windows. The accuracy is not very high, unfortunately.
 | 
			
		||||
| 
						 | 
				
			
			@ -320,7 +323,7 @@ detect-client-opacity = true;
 | 
			
		|||
# try detecting this with X RandR extension.
 | 
			
		||||
#
 | 
			
		||||
# refresh-rate = 60
 | 
			
		||||
refresh-rate = 0
 | 
			
		||||
#refresh-rate = 0
 | 
			
		||||
 | 
			
		||||
# Limit picom to repaint at most once every 1 / 'refresh_rate' second to 
 | 
			
		||||
# boost performance. This should not be used with 
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue