Picom: sync config with mainstream
This commit is contained in:
@@ -43,8 +43,8 @@ theme.fg_focus = srcery_colors.blue
|
|||||||
theme.fg_urgent = srcery_colors.magenta
|
theme.fg_urgent = srcery_colors.magenta
|
||||||
theme.fg_minimize = srcery_colors.white
|
theme.fg_minimize = srcery_colors.white
|
||||||
|
|
||||||
theme.useless_gap = dpi(2)
|
theme.useless_gap = dpi(1)
|
||||||
theme.border_width = dpi(2)
|
theme.border_width = dpi(1)
|
||||||
theme.border_normal = srcery_colors.brightblack
|
theme.border_normal = srcery_colors.brightblack
|
||||||
theme.border_focus = srcery_colors.white
|
theme.border_focus = srcery_colors.white
|
||||||
theme.border_marked = srcery_colors.brightred
|
theme.border_marked = srcery_colors.brightred
|
||||||
|
|||||||
@@ -25,6 +25,8 @@ if test -e ~/.local/share/nvim/lazy/falcon/exa/EXA_COLORS
|
|||||||
source ~/.local/share/nvim/lazy/falcon/exa/EXA_COLORS
|
source ~/.local/share/nvim/lazy/falcon/exa/EXA_COLORS
|
||||||
end
|
end
|
||||||
|
|
||||||
function list_dir --on-variable PWD
|
if status is-interactive
|
||||||
|
function list_dir --on-variable PWD
|
||||||
ls
|
ls
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
# unless explicitly requested using the wintypes option.
|
# unless explicitly requested using the wintypes option.
|
||||||
#
|
#
|
||||||
# shadow = false
|
# shadow = false
|
||||||
|
shadow = true;
|
||||||
|
|
||||||
# The blur radius for shadows, in pixels. (defaults to 12)
|
# The blur radius for shadows, in pixels. (defaults to 12)
|
||||||
# shadow-radius = 12
|
# shadow-radius = 12
|
||||||
@@ -24,16 +25,6 @@ shadow-offset-x = -7;
|
|||||||
# shadow-offset-y = -15
|
# shadow-offset-y = -15
|
||||||
shadow-offset-y = -7;
|
shadow-offset-y = -7;
|
||||||
|
|
||||||
# Avoid drawing shadows on dock/panel windows. This option is deprecated,
|
|
||||||
# you should use the *wintypes* option in your config file instead.
|
|
||||||
#
|
|
||||||
# no-dock-shadow = false
|
|
||||||
|
|
||||||
# Don't draw shadows on drag-and-drop windows. This option is deprecated,
|
|
||||||
# you should use the *wintypes* option in your config file instead.
|
|
||||||
#
|
|
||||||
# no-dnd-shadow = false
|
|
||||||
|
|
||||||
# Red color value of shadow (0.0 - 1.0, defaults to 0).
|
# Red color value of shadow (0.0 - 1.0, defaults to 0).
|
||||||
# shadow-red = 0
|
# shadow-red = 0
|
||||||
|
|
||||||
@@ -43,31 +34,22 @@ shadow-offset-y = -7;
|
|||||||
# Blue color value of shadow (0.0 - 1.0, defaults to 0).
|
# Blue color value of shadow (0.0 - 1.0, defaults to 0).
|
||||||
# shadow-blue = 0
|
# shadow-blue = 0
|
||||||
|
|
||||||
# Do not paint shadows on shaped windows. Note shaped windows
|
# Hex string color value of shadow (#000000 - #FFFFFF, defaults to #000000). This option will override options set shadow-(red/green/blue)
|
||||||
# here means windows setting its shape through X Shape extension.
|
# shadow-color = "#000000"
|
||||||
# Those using ARGB background is beyond our control.
|
|
||||||
# Deprecated, use
|
|
||||||
# shadow-exclude = 'bounding_shaped'
|
|
||||||
# or
|
|
||||||
# shadow-exclude = 'bounding_shaped && !rounded_corners'
|
|
||||||
# instead.
|
|
||||||
#
|
|
||||||
# shadow-ignore-shaped = ''
|
|
||||||
|
|
||||||
# Specify a list of conditions of windows that should have no shadow.
|
# Specify a list of conditions of windows that should have no shadow.
|
||||||
#
|
|
||||||
# examples:
|
|
||||||
# shadow-exclude = "n:e:Notification";
|
|
||||||
#
|
|
||||||
# shadow-exclude = []
|
# shadow-exclude = []
|
||||||
shadow-exclude = [
|
shadow-exclude = [
|
||||||
"name = 'Notification'",
|
"name = 'Notification'",
|
||||||
"class_g = 'Conky'",
|
"class_g = 'Conky'",
|
||||||
"class_g ?= 'Notify-osd'",
|
"class_g ?= 'Notify-osd'",
|
||||||
"class_g = 'Cairo-clock'",
|
"class_g = 'Cairo-clock'",
|
||||||
"_GTK_FRAME_EXTENTS@:c"
|
"_GTK_FRAME_EXTENTS@"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Specify a list of conditions of windows that should have no shadow painted over, such as a dock window.
|
||||||
|
# clip-shadow-above = []
|
||||||
|
|
||||||
# Specify a X geometry that describes the region in which shadow should not
|
# Specify a X geometry that describes the region in which shadow should not
|
||||||
# be painted in, such as a dock window region. Use
|
# be painted in, such as a dock window region. Use
|
||||||
# shadow-exclude-reg = "x10+0+0"
|
# shadow-exclude-reg = "x10+0+0"
|
||||||
@@ -75,8 +57,9 @@ shadow-exclude = [
|
|||||||
#
|
#
|
||||||
# shadow-exclude-reg = ""
|
# shadow-exclude-reg = ""
|
||||||
|
|
||||||
# Crop shadow of a window fully on a particular Xinerama screen to the screen.
|
# Crop shadow of a window fully on a particular monitor to that monitor. This is
|
||||||
# xinerama-shadow-crop = false
|
# currently implemented using the X RandR extension.
|
||||||
|
# crop-shadow-to-monitor = false
|
||||||
|
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
@@ -87,15 +70,15 @@ shadow-exclude = [
|
|||||||
# Fade windows in/out when opening/closing and when opacity changes,
|
# Fade windows in/out when opening/closing and when opacity changes,
|
||||||
# unless no-fading-openclose is used.
|
# unless no-fading-openclose is used.
|
||||||
# fading = false
|
# fading = false
|
||||||
fading = false
|
fading = true;
|
||||||
|
|
||||||
# Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028)
|
# Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028)
|
||||||
# fade-in-step = 0.028
|
# fade-in-step = 0.028
|
||||||
fade-in-step = 0.03;
|
fade-in-step = 0.10;
|
||||||
|
|
||||||
# Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03)
|
# Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03)
|
||||||
# fade-out-step = 0.03
|
# fade-out-step = 0.03
|
||||||
fade-out-step = 0.03;
|
fade-out-step = 0.20;
|
||||||
|
|
||||||
# The time between steps in fade step, in milliseconds. (> 0, defaults to 10)
|
# The time between steps in fade step, in milliseconds. (> 0, defaults to 10)
|
||||||
# fade-delta = 10
|
# fade-delta = 10
|
||||||
@@ -117,26 +100,23 @@ fade-out-step = 0.03;
|
|||||||
|
|
||||||
# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
|
# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
|
||||||
# inactive-opacity = 1
|
# inactive-opacity = 1
|
||||||
inactive-opacity = 0.8;
|
# inactive-opacity = 0.8;
|
||||||
|
|
||||||
# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
|
# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
|
||||||
# frame-opacity = 1.0
|
# frame-opacity = 1.0
|
||||||
frame-opacity = 0.5;
|
frame-opacity = 0.7;
|
||||||
|
|
||||||
# Default opacity for dropdown menus and popup menus. (0.0 - 1.0, defaults to 1.0)
|
# Let inactive opacity set by -i override the '_NET_WM_WINDOW_OPACITY' values of windows.
|
||||||
# menu-opacity = 1.0
|
|
||||||
|
|
||||||
# Let inactive opacity set by -i override the '_NET_WM_OPACITY' values of windows.
|
|
||||||
# inactive-opacity-override = true
|
# inactive-opacity-override = true
|
||||||
inactive-opacity-override = false;
|
inactive-opacity-override = false;
|
||||||
|
|
||||||
# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0)
|
# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0)
|
||||||
active-opacity = 0.95
|
# active-opacity = 1.0
|
||||||
|
|
||||||
# Dim inactive windows. (0.0 - 1.0, defaults to 0.0)
|
# Dim inactive windows. (0.0 - 1.0, defaults to 0.0)
|
||||||
#inactive-dim = 0.05
|
# inactive-dim = 0.0
|
||||||
|
|
||||||
# Specify a list of conditions of windows that should always be considered focused.
|
# Specify a list of conditions of windows that should never be considered focused.
|
||||||
# focus-exclude = []
|
# focus-exclude = []
|
||||||
focus-exclude = [ "class_g = 'Cairo-clock'" ];
|
focus-exclude = [ "class_g = 'Cairo-clock'" ];
|
||||||
|
|
||||||
@@ -153,6 +133,20 @@ focus-exclude = [ "class_g = 'Cairo-clock'" ];
|
|||||||
opacity-rule = [ "100:name *= 'Firefox'",
|
opacity-rule = [ "100:name *= 'Firefox'",
|
||||||
"100:name *= 'Chrome'",
|
"100:name *= 'Chrome'",
|
||||||
"100:name *= 'Slack'"]
|
"100:name *= 'Slack'"]
|
||||||
|
#################################
|
||||||
|
# Corners #
|
||||||
|
#################################
|
||||||
|
|
||||||
|
# Sets the radius of rounded window corners. When > 0, the compositor will
|
||||||
|
# round the corners of windows. Does not interact well with
|
||||||
|
# `transparent-clipping`.
|
||||||
|
corner-radius = 0
|
||||||
|
|
||||||
|
# Exclude conditions for rounded corners.
|
||||||
|
rounded-corners-exclude = [
|
||||||
|
"window_type = 'dock'",
|
||||||
|
"window_type = 'desktop'"
|
||||||
|
];
|
||||||
|
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
@@ -162,9 +156,11 @@ opacity-rule = [ "100:name *= 'Firefox'",
|
|||||||
|
|
||||||
# Parameters for background blurring, see the *BLUR* section for more information.
|
# Parameters for background blurring, see the *BLUR* section for more information.
|
||||||
# blur-method =
|
# blur-method =
|
||||||
blur-size = 12
|
blur-size = 16
|
||||||
#
|
#
|
||||||
# blur-deviation = false
|
# blur-deviation = false
|
||||||
|
#
|
||||||
|
blur-strength = 20
|
||||||
|
|
||||||
# Blur background of semi-transparent / ARGB windows.
|
# Blur background of semi-transparent / ARGB windows.
|
||||||
# Bad in performance, with driver-dependent behavior.
|
# Bad in performance, with driver-dependent behavior.
|
||||||
@@ -188,8 +184,8 @@ blur-background = true
|
|||||||
# example:
|
# example:
|
||||||
# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1";
|
# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1";
|
||||||
#
|
#
|
||||||
# blur-kern = ''
|
# blur-kern = ""
|
||||||
blur-kern = "3x3box";
|
blur-kern = "7x7box";
|
||||||
|
|
||||||
|
|
||||||
# Exclude conditions for background blur.
|
# Exclude conditions for background blur.
|
||||||
@@ -197,28 +193,32 @@ blur-kern = "3x3box";
|
|||||||
blur-background-exclude = [
|
blur-background-exclude = [
|
||||||
"window_type = 'dock'",
|
"window_type = 'dock'",
|
||||||
"window_type = 'desktop'",
|
"window_type = 'desktop'",
|
||||||
"_GTK_FRAME_EXTENTS@:c"
|
"_GTK_FRAME_EXTENTS@"
|
||||||
];
|
];
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
# General Settings #
|
# General Settings #
|
||||||
#################################
|
#################################
|
||||||
|
|
||||||
|
# Enable remote control via D-Bus. See the man page for more details.
|
||||||
|
# dbus = true
|
||||||
|
|
||||||
# Daemonize process. Fork to background after initialization. Causes issues with certain (badly-written) drivers.
|
# Daemonize process. Fork to background after initialization. Causes issues with certain (badly-written) drivers.
|
||||||
# daemon = false
|
# daemon = false
|
||||||
|
|
||||||
# Specify the backend to use: `xrender`, `glx`, or `xr_glx_hybrid`.
|
# Specify the backend to use: `xrender`, `glx`, `egl` or `xr_glx_hybrid`.
|
||||||
# `xrender` is the default one.
|
# `xrender` is the default one.
|
||||||
#
|
#
|
||||||
# backend = 'glx'
|
# backend = "glx"
|
||||||
backend = "xrender";
|
backend = "xrender";
|
||||||
|
|
||||||
# Enable/disable VSync.
|
# Use higher precision during rendering, and apply dither when presenting the
|
||||||
# vsync = false
|
# rendered screen. Reduces banding artifacts, but might cause performance
|
||||||
vsync = true
|
# degradation. Only works with OpenGL.
|
||||||
|
dithered-present = false;
|
||||||
|
|
||||||
# Enable remote control via D-Bus. See the *D-BUS API* section below for more details.
|
# Enable/disable VSync.
|
||||||
# dbus = false
|
vsync = true
|
||||||
|
|
||||||
# Try to detect WM windows (a non-override-redirect window with no
|
# Try to detect WM windows (a non-override-redirect window with no
|
||||||
# child that has 'WM_STATE') and mark them as active.
|
# child that has 'WM_STATE') and mark them as active.
|
||||||
@@ -236,20 +236,12 @@ mark-ovredir-focused = true;
|
|||||||
# detect-rounded-corners = false
|
# detect-rounded-corners = false
|
||||||
detect-rounded-corners = true;
|
detect-rounded-corners = true;
|
||||||
|
|
||||||
# Detect '_NET_WM_OPACITY' on client windows, useful for window managers
|
# Detect '_NET_WM_WINDOW_OPACITY' on client windows, useful for window managers
|
||||||
# not passing '_NET_WM_OPACITY' of client windows to frame windows.
|
# not passing '_NET_WM_WINDOW_OPACITY' of client windows to frame windows.
|
||||||
#
|
#
|
||||||
# detect-client-opacity = false
|
# detect-client-opacity = false
|
||||||
detect-client-opacity = true;
|
detect-client-opacity = true;
|
||||||
|
|
||||||
# Limit picom to repaint at most once every 1 / 'refresh_rate' second to
|
|
||||||
# boost performance. This should not be used with
|
|
||||||
# vsync drm/opengl/opengl-oml
|
|
||||||
# as they essentially does sw-opti's job already,
|
|
||||||
# unless you wish to specify a lower refresh rate than the actual value.
|
|
||||||
#
|
|
||||||
# sw-opti =
|
|
||||||
|
|
||||||
# Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window,
|
# Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window,
|
||||||
# rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy,
|
# rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy,
|
||||||
# provided that the WM supports it.
|
# provided that the WM supports it.
|
||||||
@@ -272,14 +264,14 @@ detect-client-opacity = true;
|
|||||||
# in the same group focused at the same time.
|
# in the same group focused at the same time.
|
||||||
#
|
#
|
||||||
# detect-transient = false
|
# detect-transient = false
|
||||||
detect-transient = true
|
detect-transient = true;
|
||||||
|
|
||||||
# Use 'WM_CLIENT_LEADER' to group windows, and consider windows in the same
|
# Use 'WM_CLIENT_LEADER' to group windows, and consider windows in the same
|
||||||
# group focused at the same time. 'WM_TRANSIENT_FOR' has higher priority if
|
# group focused at the same time. This usually means windows from the same application
|
||||||
# detect-transient is enabled, too.
|
# will be considered focused or unfocused at the same time.
|
||||||
|
# 'WM_TRANSIENT_FOR' has higher priority if detect-transient is enabled, too.
|
||||||
#
|
#
|
||||||
# detect-client-leader = false
|
# detect-client-leader = false
|
||||||
detect-client-leader = true
|
|
||||||
|
|
||||||
# Resize damaged region by a specific number of pixels.
|
# Resize damaged region by a specific number of pixels.
|
||||||
# A positive value enlarges it while a negative one shrinks it.
|
# A positive value enlarges it while a negative one shrinks it.
|
||||||
@@ -314,12 +306,12 @@ detect-client-leader = true
|
|||||||
# glx-no-rebind-pixmap = false
|
# glx-no-rebind-pixmap = false
|
||||||
|
|
||||||
# Disable the use of damage information.
|
# Disable the use of damage information.
|
||||||
# This cause the whole screen to be redrawn everytime, instead of the part of the screen
|
# This cause the whole screen to be redrawn every time, instead of the part of the screen
|
||||||
# has actually changed. Potentially degrades the performance, but might fix some artifacts.
|
# has actually changed. Potentially degrades the performance, but might fix some artifacts.
|
||||||
# The opposing option is use-damage
|
# The opposing option is use-damage
|
||||||
#
|
#
|
||||||
# no-use-damage = false
|
# no-use-damage = false
|
||||||
use-damage = true
|
use-damage = true;
|
||||||
|
|
||||||
# Use X Sync fence to sync clients' draw calls, to make sure all draw
|
# Use X Sync fence to sync clients' draw calls, to make sure all draw
|
||||||
# calls are finished before picom starts drawing. Needed on nvidia-drivers
|
# calls are finished before picom starts drawing. Needed on nvidia-drivers
|
||||||
@@ -327,11 +319,17 @@ use-damage = true
|
|||||||
#
|
#
|
||||||
# xrender-sync-fence = false
|
# xrender-sync-fence = false
|
||||||
|
|
||||||
# GLX backend: Use specified GLSL fragment shader for rendering window contents.
|
# GLX backend: Use specified GLSL fragment shader for rendering window
|
||||||
# See `compton-default-fshader-win.glsl` and `compton-fake-transparency-fshader-win.glsl`
|
# contents. Read the man page for a detailed explanation of the interface.
|
||||||
# in the source tree for examples.
|
|
||||||
#
|
#
|
||||||
# glx-fshader-win = ''
|
# window-shader-fg = "default"
|
||||||
|
|
||||||
|
# Use rules to set per-window shaders. Syntax is SHADER_PATH:PATTERN, similar
|
||||||
|
# to opacity-rule. SHADER_PATH can be "default". This overrides window-shader-fg.
|
||||||
|
#
|
||||||
|
# window-shader-fg-rule = [
|
||||||
|
# "my_shader.frag:window_type != 'dock'"
|
||||||
|
# ]
|
||||||
|
|
||||||
# Force all windows to be painted with blending. Useful if you
|
# Force all windows to be painted with blending. Useful if you
|
||||||
# have a glx-fshader-win that could turn opaque pixels transparent.
|
# have a glx-fshader-win that could turn opaque pixels transparent.
|
||||||
@@ -355,6 +353,12 @@ use-damage = true
|
|||||||
#
|
#
|
||||||
# transparent-clipping = false
|
# transparent-clipping = false
|
||||||
|
|
||||||
|
# Specify a list of conditions of windows that should never have transparent
|
||||||
|
# clipping applied. Useful for screenshot tools, where you need to be able to
|
||||||
|
# see through transparent parts of the window.
|
||||||
|
#
|
||||||
|
# transparent-clipping-exclude = []
|
||||||
|
|
||||||
# Set the log level. Possible values are:
|
# Set the log level. Possible values are:
|
||||||
# "trace", "debug", "info", "warn", "error"
|
# "trace", "debug", "info", "warn", "error"
|
||||||
# in increasing level of importance. Case doesn't matter.
|
# in increasing level of importance. Case doesn't matter.
|
||||||
@@ -370,13 +374,13 @@ log-level = "warn";
|
|||||||
# logs might still be written to the stderr.
|
# logs might still be written to the stderr.
|
||||||
# When setting this option from the config file, it is recommended to use an absolute path.
|
# When setting this option from the config file, it is recommended to use an absolute path.
|
||||||
#
|
#
|
||||||
# log-file = '/path/to/your/log/file'
|
# log-file = "/path/to/your/log/file"
|
||||||
|
|
||||||
# Show all X errors (for debugging)
|
# Show all X errors (for debugging)
|
||||||
# show-all-xerrors = false
|
# show-all-xerrors = false
|
||||||
|
|
||||||
# Write process ID to a file.
|
# Write process ID to a file.
|
||||||
# write-pid-path = '/path/to/your/log/file'
|
# write-pid-path = "/path/to/your/log/file"
|
||||||
|
|
||||||
# Window type settings
|
# Window type settings
|
||||||
#
|
#
|
||||||
@@ -402,6 +406,10 @@ log-level = "warn";
|
|||||||
# normally won't be able to see. Useful when the window has parts of it
|
# normally won't be able to see. Useful when the window has parts of it
|
||||||
# transparent, and you want shadows in those areas.
|
# transparent, and you want shadows in those areas.
|
||||||
#
|
#
|
||||||
|
# clip-shadow-above:::
|
||||||
|
# Controls whether shadows that would have been drawn above the window should
|
||||||
|
# be clipped. Useful for dock windows that should have no shadow painted on top.
|
||||||
|
#
|
||||||
# redir-ignore:::
|
# redir-ignore:::
|
||||||
# Controls whether this type of windows should cause screen to become
|
# Controls whether this type of windows should cause screen to become
|
||||||
# redirected again after been unredirected. If you have unredir-if-possible
|
# redirected again after been unredirected. If you have unredir-if-possible
|
||||||
@@ -411,7 +419,7 @@ log-level = "warn";
|
|||||||
wintypes:
|
wintypes:
|
||||||
{
|
{
|
||||||
tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
|
tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
|
||||||
dock = { shadow = false; }
|
dock = { shadow = false; clip-shadow-above = true; }
|
||||||
dnd = { shadow = false; }
|
dnd = { shadow = false; }
|
||||||
popup_menu = { opacity = 0.8; }
|
popup_menu = { opacity = 0.8; }
|
||||||
dropdown_menu = { opacity = 0.8; }
|
dropdown_menu = { opacity = 0.8; }
|
||||||
|
|||||||
Reference in New Issue
Block a user