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,40 +7,49 @@ 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 {
$right resize grow width 10 px or 10 ppt bindsym {
$up resize grow height 10 px or 10 ppt $right resize grow width 10 px or 10 ppt
$left resize shrink width 10 px or 10 ppt $up resize grow height 10 px or 10 ppt
$down resize shrink height 10 px or 10 ppt $left resize shrink width 10 px or 10 ppt
$down resize shrink height 10 px or 10 ppt
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
Down resize shrink height 10 px or 10 ppt Down resize shrink height 10 px or 10 ppt
Shift+$right resize grow width 50 px or 50 ppt Shift+$right resize grow width 50 px or 50 ppt
Shift+$up resize grow height 50 px or 50 ppt Shift+$up resize grow height 50 px or 50 ppt
Shift+$left resize shrink width 50 px or 50 ppt Shift+$left resize shrink width 50 px or 50 ppt
Shift+$down resize shrink height 50 px or 50 ppt Shift+$down resize shrink height 50 px or 50 ppt
Shift+Right resize grow width 50 px or 50 ppt Shift+Right resize grow width 50 px or 50 ppt
Shift+Up resize grow height 50 px or 50 ppt Shift+Up resize grow height 50 px or 50 ppt
Shift+Left resize shrink width 50 px or 50 ppt Shift+Left resize shrink width 50 px or 50 ppt
Shift+Down resize shrink height 50 px or 50 ppt Shift+Down resize shrink height 50 px or 50 ppt
$flag+$right move right $flag+$right move right
$flag+$up move up $flag+$up move up
$flag+$left move left $flag+$left move left
$flag+$down move down $flag+$down move down
$flag+Right move right $flag+Right move right
$flag+Up move up $flag+Up move up
$flag+Left move left $flag+Left move left
$flag+Down move down $flag+Down move down
$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