Added X11 compositor (picom) and configure background transparancy

This commit is contained in:
Fabio Scotto di Santolo
2026-05-14 23:48:26 +02:00
parent 5c510220a3
commit dfa1bd194f
8 changed files with 77 additions and 7 deletions

View File

@@ -1,6 +1,6 @@
[window]
padding = { x = 8, y = 8 }
opacity = 1.0
opacity = 0.90
[font]
normal = { family = "Hack Nerd Font", style = "Regular" }

View File

@@ -4,9 +4,9 @@ follow = mouse
gap_size = 10
width = 360
height = 120
height = (0, 120)
origin = top-right
offset = 20x40
offset = (20, 40)
font = Liberation Sans 10
line_height = 2
@@ -19,7 +19,7 @@ separator_height = 2
frame_width = 2
corner_radius = 8
transparency = 0
transparency = 15
background = "#1f1f28"
foreground = "#eeeeee"

View File

@@ -18,6 +18,9 @@ exec --no-startup-id pipewire
exec --no-startup-id pipewire-pulse
exec --no-startup-id wireplumber
# Compositor
exec_always --no-startup-id picom -b
# Monitor configuration
exec --no-startup-id autorandr --persistent --change
@@ -46,6 +49,12 @@ new_window pixel 2
new_float pixel 2
hide_edge_borders none
# Gaps (i3 >= 4.22)
gaps inner 10
gaps outer 4
smart_gaps on
smart_borders on
# vim-like directions
set $left h
set $down j

View File

@@ -0,0 +1,57 @@
backend = "glx";
vsync = true;
use-damage = true;
detect-rounded-corners = true;
detect-client-opacity = true;
detect-transient = true;
corner-radius = 10;
rounded-corners-exclude = [
"window_type = 'dock'",
"window_type = 'desktop'",
"class_g = 'i3-frame'"
];
shadow = true;
shadow-radius = 18;
shadow-opacity = 0.55;
shadow-offset-x = -10;
shadow-offset-y = -10;
shadow-exclude = [
"name = 'Notification'",
"class_g = 'Conky'",
"class_g ?= 'Notify-osd'",
"class_g = 'Cairo-clock'",
"_GTK_FRAME_EXTENTS@:c",
"window_type = 'dock'",
"window_type = 'desktop'"
];
fading = true;
fade-in-step = 0.05;
fade-out-step = 0.05;
fade-delta = 6;
blur-method = "dual_kawase";
blur-strength = 5;
blur-background = true;
blur-background-frame = true;
blur-background-fixed = false;
blur-background-exclude = [
"window_type = 'dock'",
"window_type = 'desktop'",
"class_g = 'i3-frame'",
"class_g = 'Dunst'",
"_GTK_FRAME_EXTENTS@:c"
];
opacity-rule = [];
wintypes:
{
tooltip = { fade = true; shadow = true; opacity = 0.95; focus = true; };
dock = { shadow = false; };
dnd = { shadow = false; };
popup_menu = { opacity = 0.95; };
dropdown_menu = { opacity = 0.95; };
};