chore(sway): Update

This commit is contained in:
Tibo De Peuter 2025-09-16 21:13:13 +02:00
parent 008ecba1a3
commit 19a8cbf400
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2
3 changed files with 47 additions and 30 deletions

View file

@ -61,5 +61,9 @@ exec wlsunset -l 50.50 -L 4.00 -t 3000 -T 6500
exec gnome-keyring-daemon --start --components=secrets # Secrets exec gnome-keyring-daemon --start --components=secrets # Secrets
exec dunst --verbosity crit # Notification manager exec dunst --verbosity crit # Notification manager
exec swayidle -w exec swayidle -w
exec waycorner
exec nextcloud --background exec nextcloud --background
# SwayFX
blur enable

View file

@ -7,7 +7,8 @@ set $default "default"
# Resizing # Resizing
set $mode_resize "Resize" set $mode_resize "Resize"
bindsym $flag+r mode $mode_resize bindsym $flag+r mode $mode_resize
mode $mode_resize bindsym { mode $mode_resize {
bindsym {
$right resize grow width 10 px or 10 ppt $right resize grow width 10 px or 10 ppt
$up resize grow height 10 px or 10 ppt $up resize grow height 10 px or 10 ppt
$left resize shrink width 10 px or 10 ppt $left resize shrink width 10 px or 10 ppt
@ -41,6 +42,14 @@ mode $mode_resize bindsym {
$flag+r mode $default $flag+r mode $default
Escape mode $default Escape mode $default
Return mode $default Return mode $default
}
bindgesture {
swipe:2:right resize grow width 10 px or 10 ppt
swipe:2:down resize grow height 10 px or 10 ppt
swipe:2:left resize shrink width 10 px or 10 ppt
swipe:2:up resize shrink height 10 px or 10 ppt
}
} }
# System actions # System actions
@ -94,8 +103,8 @@ mode $mode_screenshot bindsym {
set $mode_launcher "Launch (f)irefox, (s)potify or (t)hunderbird." set $mode_launcher "Launch (f)irefox, (s)potify or (t)hunderbird."
bindsym $flag+o mode $mode_launcher bindsym $flag+o mode $mode_launcher
mode $mode_launcher bindsym { mode $mode_launcher bindsym {
f exec firefox f exec firefox, mode $default
t exec thunderbird t exec thunderbird, mode $default
$flag+o mode $default $flag+o mode $default
Escape mode $default Escape mode $default

View file

@ -15,6 +15,10 @@ default_border pixel 1
default_floating_border normal 1 default_floating_border normal 1
hide_edge_borders smart hide_edge_borders smart
smart_borders on smart_borders on
gaps {
inner 5
outer 3
}
# Mimic no titles by setting the text color to background color # Mimic no titles by setting the text color to background color
# border backgr. text indic. child_border # border backgr. text indic. child_border