Add picom configuration file
This will allow alacritty to be transparent. * added: picom/picom.conf * modified: i3/config
This commit is contained in:
@@ -34,6 +34,9 @@ exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock -f --nofork
|
|||||||
# and nm-applet is a desktop environment-independent system tray GUI for it.
|
# and nm-applet is a desktop environment-independent system tray GUI for it.
|
||||||
exec --no-startup-id nm-applet
|
exec --no-startup-id nm-applet
|
||||||
|
|
||||||
|
# Start picom compositor for transparency effects
|
||||||
|
exec --no-startup-id picom -b
|
||||||
|
|
||||||
# Use pactl to adjust volume in PulseAudio.
|
# Use pactl to adjust volume in PulseAudio.
|
||||||
set $refresh_i3status killall -SIGUSR1 i3status
|
set $refresh_i3status killall -SIGUSR1 i3status
|
||||||
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
|
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
|
||||||
@@ -152,6 +155,12 @@ set $ws8 "8"
|
|||||||
set $ws9 "9"
|
set $ws9 "9"
|
||||||
set $ws10 "10"
|
set $ws10 "10"
|
||||||
|
|
||||||
|
# Mouse side button bindings for MX Master 3S
|
||||||
|
# Button 8 (Back) - Focus next window
|
||||||
|
bindsym --whole-window button8 focus next
|
||||||
|
# Button 9 (Forward) - Focus previous window
|
||||||
|
bindsym --whole-window button9 focus prev
|
||||||
|
|
||||||
# switch to workspace
|
# switch to workspace
|
||||||
bindsym $mod+1 workspace number $ws1
|
bindsym $mod+1 workspace number $ws1
|
||||||
bindsym $mod+2 workspace number $ws2
|
bindsym $mod+2 workspace number $ws2
|
||||||
|
|||||||
53
picom/picom.conf
Normal file
53
picom/picom.conf
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
# Backend
|
||||||
|
backend = "glx";
|
||||||
|
|
||||||
|
# GLX backend
|
||||||
|
glx-no-stencil = true;
|
||||||
|
glx-copy-from-front = false;
|
||||||
|
|
||||||
|
# Opacity
|
||||||
|
active-opacity = 1;
|
||||||
|
inactive-opacity = 1;
|
||||||
|
frame-opacity = 1;
|
||||||
|
inactive-opacity-override = false;
|
||||||
|
|
||||||
|
# Blur
|
||||||
|
blur-background = false;
|
||||||
|
|
||||||
|
# Fading
|
||||||
|
fading = true;
|
||||||
|
fade-delta = 4;
|
||||||
|
fade-in-step = 0.03;
|
||||||
|
fade-out-step = 0.03;
|
||||||
|
|
||||||
|
# Other
|
||||||
|
mark-wmwin-focused = true;
|
||||||
|
mark-ovredir-focused = true;
|
||||||
|
detect-rounded-corners = true;
|
||||||
|
detect-client-opacity = true;
|
||||||
|
refresh-rate = 0;
|
||||||
|
vsync = true;
|
||||||
|
dbe = false;
|
||||||
|
unredir-if-possible = false;
|
||||||
|
focus-exclude = [ ];
|
||||||
|
detect-transient = true;
|
||||||
|
detect-client-leader = true;
|
||||||
|
|
||||||
|
# Window type settings
|
||||||
|
wintypes:
|
||||||
|
{
|
||||||
|
tooltip =
|
||||||
|
{
|
||||||
|
fade = true;
|
||||||
|
shadow = false;
|
||||||
|
opacity = 0.85;
|
||||||
|
focus = true;
|
||||||
|
};
|
||||||
|
fullscreen =
|
||||||
|
{
|
||||||
|
fade = true;
|
||||||
|
shadow = false;
|
||||||
|
opacity = 1;
|
||||||
|
focus = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
Reference in New Issue
Block a user