changes to picom and slstatus
This commit is contained in:
parent
f94d1765ce
commit
62bb2713fb
5 changed files with 225 additions and 1 deletions
117
.config/picom/picom/picom.conf
Normal file
117
.config/picom/picom/picom.conf
Normal file
|
@ -0,0 +1,117 @@
|
|||
# Speedy controlled animations
|
||||
animations = true;
|
||||
animation-stiffness-in-tag = 120;
|
||||
animation-stiffness-tag-change = 90.0;
|
||||
animation-window-mass = 0.3;
|
||||
animation-dampening = 5;
|
||||
animation-clamping = false;
|
||||
|
||||
# Zoom, but FAST
|
||||
animation-for-open-window = "zoom";
|
||||
animation-for-unmap-window = "zoom";
|
||||
animation-for-transient-window = "zoom";
|
||||
animation-for-prev-tag = "zoom";
|
||||
animation-for-next-tag = "zoom";
|
||||
animation-for-workspace-switch-in = "zoom";
|
||||
animation-for-workspace-switch-out = "zoom";
|
||||
|
||||
animation-max-size = 20;
|
||||
|
||||
# Fading transitions (FASTER)
|
||||
enable-fading-prev-tag = true;
|
||||
enable-fading-next-tag = true;
|
||||
fading = true;
|
||||
fade-in-step = 0.07;
|
||||
fade-out-step = 0.06;
|
||||
fade-delta = 5;
|
||||
|
||||
# Shadow stuff
|
||||
shadow = true;
|
||||
shadow-radius = 12;
|
||||
shadow-offset-x = -5;
|
||||
shadow-offset-y = -5;
|
||||
shadow-opacity = 0.7;
|
||||
shadow-color = "#000000";
|
||||
shadow-exclude = [
|
||||
"class_g = 'slop'"
|
||||
];
|
||||
|
||||
# Blur (still spicy)
|
||||
blur-background = true;
|
||||
blur-background-frame = true;
|
||||
blur-method = "dual_kawase";
|
||||
blur-strength = 6;
|
||||
blur-kern = "3x3box";
|
||||
blur-background-fixed = false;
|
||||
blur-exclude = [
|
||||
"class_g = 'slop'",
|
||||
"class_g = 'maim'",
|
||||
"window_type = 'dock'"
|
||||
];
|
||||
|
||||
# Corners
|
||||
#corner-radius = 10;
|
||||
rounded-corners-exclude = [
|
||||
"class_g = 'slop'",
|
||||
"class_g = 'maim'"
|
||||
];
|
||||
|
||||
# Opacity rules
|
||||
opacity-rule = [
|
||||
"93:class_g = 'discord'",
|
||||
"80:class_g = 'spotify'",
|
||||
"80:class_g = 'st'",
|
||||
"80:class_g = 'dmenu'",
|
||||
"85:class_g = 'dwm'",
|
||||
"90:class_g = 'floorp'",
|
||||
"90:class_g = 'firefox'",
|
||||
"100:class_g = 'slop'"
|
||||
];
|
||||
|
||||
# Focus and animation exclude
|
||||
focus-exclude = [
|
||||
"class_g = 'slop'",
|
||||
"class_g = 'maim'"
|
||||
];
|
||||
animation-exclude = [
|
||||
"class_g = 'slop'"
|
||||
];
|
||||
|
||||
# General stuff
|
||||
daemon = false;
|
||||
backend = "glx";
|
||||
dithered-present = false;
|
||||
vsync = true;
|
||||
mark-wmwin-focused = true;
|
||||
mark-ovredir-focused = true;
|
||||
detect-rounded-corners = true;
|
||||
detect-client-opacity = true;
|
||||
use-ewmh-active-win = true;
|
||||
unredir-if-possible = false;
|
||||
detect-transient = true;
|
||||
glx-no-stencil = true;
|
||||
use-damage = true;
|
||||
xrender-sync-fence = true;
|
||||
window-shader-fg = "default";
|
||||
transparent-clipping = false;
|
||||
log-level = "warn";
|
||||
|
||||
# Wintypes (with fast popup animations)
|
||||
wintypes: {
|
||||
tooltip = { fade = true; shadow = true; opacity = 0.95; focus = true; animations = true; animation-for-open-window = "zoom"; };
|
||||
dock = { shadow = false; clip-shadow-above = true; };
|
||||
dnd = { shadow = false; };
|
||||
popup_menu = { opacity = 0.95; animations = true; shadow = true; animation-for-open-window = "zoom"; };
|
||||
dropdown_menu = { opacity = 0.95; animations = true; shadow = true; animation-for-open-window = "zoom"; };
|
||||
unknown = { fade = false; shadow = false; opacity = 1.0; focus = false; full-shadow = false; clip-shadow-above = false; animations = false; };
|
||||
};
|
||||
|
||||
# Global exclusion
|
||||
blur-exclude = [
|
||||
"class_g = 'slop'",
|
||||
"class_g = 'screenie'",
|
||||
"window_type = 'utility'",
|
||||
"window_type = 'notification'",
|
||||
"_NET_WM_WINDOW_TYPE@:32a *= '_NET_WM_WINDOW_TYPE_DOCK'",
|
||||
"name = 'slop'"
|
||||
];
|
107
.config/picom/picom/picom.conf~
Normal file
107
.config/picom/picom/picom.conf~
Normal file
|
@ -0,0 +1,107 @@
|
|||
# Animation settings - controlled zoom
|
||||
animations = true;
|
||||
animation-stiffness-in-tag = 80;
|
||||
animation-stiffness-tag-change = 35.0;
|
||||
animation-window-mass = 0.6;
|
||||
animation-dampening = 9;
|
||||
animation-clamping = false;
|
||||
# Animation styles with controlled zoom effect
|
||||
animation-for-open-window = "zoom"; # Kept zoom for main windows
|
||||
animation-for-unmap-window = "zoom";
|
||||
animation-for-transient-window = "zoom"; # Changed to squeeze for popups to limit screen space usage
|
||||
animation-for-prev-tag = "zoom";
|
||||
animation-for-next-tag = "zoom";
|
||||
# Additional animation control
|
||||
animation-for-workspace-switch-in = "zoom"; # Control workspace transitions
|
||||
animation-for-workspace-switch-out = "zoom"; # Control workspace transitions
|
||||
# Animation size limits (new parameters)
|
||||
animation-max-size = 50; # Limit maximum animation expansion
|
||||
# Tag transition fading
|
||||
enable-fading-prev-tag = true;
|
||||
enable-fading-next-tag = true;
|
||||
# Shadow settings
|
||||
shadow = true;
|
||||
shadow-radius = 15;
|
||||
shadow-offset-x = -5;
|
||||
shadow-offset-y = -5;
|
||||
shadow-opacity = 0.8;
|
||||
shadow-color = "#000000"
|
||||
shadow-exclude = [
|
||||
"class_g = 'slop'"
|
||||
];
|
||||
# Fading settings
|
||||
fading = true;
|
||||
fade-in-step = 0.025;
|
||||
fade-out-step = 0.015;
|
||||
fade-delta = 15;
|
||||
fade-exclude = [
|
||||
"class_g = 'slop'"
|
||||
];
|
||||
# Focus settings
|
||||
focus-exclude = [
|
||||
"class_g = 'slop'",
|
||||
"class_g = 'maim'"
|
||||
];
|
||||
# Opacity rules
|
||||
opacity-rule = [
|
||||
"93:class_g = 'discord'",
|
||||
"80:class_g = 'st'",
|
||||
"80:class_g = 'dmenu'",
|
||||
"85:class_g = 'dwm'",
|
||||
"100:class_g = 'floorp'",
|
||||
"100:class_g = 'slop'"
|
||||
];
|
||||
# Corner settings
|
||||
corner-radius = 12;
|
||||
rounded-corners-exclude = [
|
||||
"class_g = 'slop'",
|
||||
"class_g = 'maim'",
|
||||
];
|
||||
# Blur settings
|
||||
blur-background = true;
|
||||
blur-background-frame = true;
|
||||
blur-method = "dual_kawase";
|
||||
blur-strength = 6;
|
||||
blur-kern = "3x3box";
|
||||
blur-background-fixed = false;
|
||||
blur-exclude = [
|
||||
"class_g = 'slop'",
|
||||
"class_g = 'maim'",
|
||||
];
|
||||
# Animation exclude
|
||||
animation-exclude = [
|
||||
"class_g = 'slop'"
|
||||
];
|
||||
# General settings
|
||||
daemon = false;
|
||||
backend = "glx";
|
||||
dithered-present = false;
|
||||
vsync = true;
|
||||
mark-wmwin-focused = true;
|
||||
mark-ovredir-focused = true;
|
||||
detect-rounded-corners = true;
|
||||
detect-client-opacity = true;
|
||||
use-ewmh-active-win = true;
|
||||
unredir-if-possible = false;
|
||||
detect-transient = true;
|
||||
glx-no-stencil = true;
|
||||
use-damage = true;
|
||||
xrender-sync-fence = true;
|
||||
window-shader-fg = "default";
|
||||
transparent-clipping = false;
|
||||
log-level = "warn";
|
||||
# Window type specific settings - special handling for popups
|
||||
wintypes: {
|
||||
tooltip = { fade = true; shadow = true; opacity = 0.95; focus = true; animations = true; animation-for-open-window = "squeeze"; };
|
||||
dock = { shadow = false; clip-shadow-above = true; };
|
||||
dnd = { shadow = false; };
|
||||
popup_menu = { opacity = 0.95; animations = true; shadow = true; animation-for-open-window = "squeeze"; };
|
||||
dropdown_menu = { opacity = 0.95; animations = true; shadow = true; animation-for-open-window = "squeeze"; };
|
||||
# Add slop to wintypes for specific handling
|
||||
unknown = { fade = false; shadow = false; opacity = 1.0; focus = false; full-shadow = false; clip-shadow-above = false; animations = false; };
|
||||
};
|
||||
|
||||
# Global exclusion for slop
|
||||
unredir-if-possible-exclude = [
|
||||
"class_g = 'slop'"
|
||||
];
|
|
@ -65,7 +65,7 @@ static const char unknown_str[] = "n/a";
|
|||
*/
|
||||
static const struct arg args[] = {
|
||||
/* function format argument */
|
||||
{run_command, " [ %s] ", "sb-network" },
|
||||
{run_command, " [ %s] ", "sb-network" },
|
||||
{battery_state, " [%s", "BAT1"},
|
||||
{battery_perc, " %s%] ", "BAT1"},
|
||||
{run_command, " [ %s%] ", "pamixer --get-volume"},
|
||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Add table
Reference in a new issue