dotfiles/de/home/.config/sway/config.d/layout
2025-09-01 01:15:02 -07:00

52 lines
1.6 KiB
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Spacing between windows and edges
gaps inner 10
#gaps top -10
#gaps left -10
workspace 0: {
# gaps left 310
output $overview_display
}
# Border styling
#default_border pixel 3
default_border pixel 2
default_floating_border pixel 2
# Borders
client.focused $color5 $color5 $color5 $color0dd
client.focused_inactive $color0 $color0 $color0 $color0
client.unfocused $color5 $color5 $color5 $color0dd
set {
$layer_blur blur enable, blur_ignore_transparent enable, corner_radius 10
$eww_blur blur enable, blur_ignore_transparent enable, shadows enable, shadow_color #ffffff, shadow_blur_radius 5
# $layer_blur blur enable, shadows enable, blur_ignore_transparent enable, corner_radius 10
# $nonwofi_layer_blur blur enable, blur_ignore_transparent enable
}
# Blur
layer_effects {
"eww-bar" blur enable, blur_ignore_transparent enable, shadows enable
#, shadows enable, shadow_color #ffffff, shadow_blur_radius 5
"wofi" $layer_blur
"worf" $layer_blur
"gtk_layer_shell" $layer_blur
# "gtk-layer-shell" $eww_blur
"swaync-control-center" $layer_blur
"swaync-notification-window" $layer_blur
}
blur_brightness 0.85
blur enable
shadows enable
shadow_color $color5aa
shadow_inactive_color $color088
shadow_blur_radius 5
corner_radius 8
#default_dim_inactive 0.25
#set $trans 0.8
#set $alphamark "α"
#for_window [con_mark=$alphamark] opacity set $trans
#bindsym $mod+Control+a mark --toggle "$alphamark" ; [con_id=__focused__] opacity set 1 ;[con_mark=$alphamark con_id=__focused__] opacity set $trans
exec '/usr/bin/python3 $HOME/.config/sway/scripts/inactive-windows-transparency.py -o 0.75'