From 01c1aa6f6521d75636b0168497a0c4de6a6b4ec7 Mon Sep 17 00:00:00 2001 From: Lilou <quentinduchemin@tuta.io> Date: Sun, 30 Mar 2025 15:30:32 +0200 Subject: [PATCH] Delegate transparency to picom --- .config/picom.conf | 12 +++++++++++- .config/solaar/rules.yaml | 7 +++++++ .config/terminator/config | 3 +-- 3 files changed, 19 insertions(+), 3 deletions(-) diff --git a/.config/picom.conf b/.config/picom.conf index d6fc25d..ffa45d9 100644 --- a/.config/picom.conf +++ b/.config/picom.conf @@ -11,6 +11,16 @@ # Get rid of shadow behind corners shadow = false; +rules: ({ + match = "focused && window_type = 'normal' && class_g != 'firefox'" + opacity = 0.95; +}, { + match = "!focused && window_type = 'normal' && class_g != 'firefox'" + opacity = 0.8; +}, { + match = "class_g = 'Terminator' && focused" + opacity = 0.8; +}) # The blur radius for shadows, in pixels. (defaults to 12) # shadow-radius = 12 shadow-radius = 7; @@ -93,7 +103,7 @@ fading = true # Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028) # fade-in-step = 0.028 -fade-in-step = 0.03; +fade-in-step = 0.07; # Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03) # fade-out-step = 0.03 diff --git a/.config/solaar/rules.yaml b/.config/solaar/rules.yaml index e5ba52e..ed75bb1 100644 --- a/.config/solaar/rules.yaml +++ b/.config/solaar/rules.yaml @@ -1,5 +1,12 @@ %YAML 1.3 --- +- Rule: + - Key: [Forward Button, pressed] + - KeyPress: + - [Control_L, Shift_L, T] + - click +... +--- - Rule: - MouseGesture: Mouse Up - Execute: [/home/.config/i3/scripts/organize.sh, web] diff --git a/.config/terminator/config b/.config/terminator/config index 38b3df0..052d60c 100644 --- a/.config/terminator/config +++ b/.config/terminator/config @@ -42,9 +42,8 @@ title_transmit_bg_color = "#ffffff" [[Catppuccin_Mocha]] icon_bell = False - background_color = "#282828" + background_color = "#1e1e2e" background_darkness = 0.7 - background_type = transparent cursor_fg_color = "#000000" cursor_bg_color = "#f5e0dc" font = MesloLGM Nerd Font 11