From d063d2b447a8cf95bc976fa2a35cb71ca10cca9d Mon Sep 17 00:00:00 2001 From: thek4n Date: Fri, 14 Nov 2025 11:12:54 +0300 Subject: [PATCH] sway mappings --- home/user/.config/sway/bindings.conf | 13 +++++++++---- home/user/.config/sway/other.conf | 4 ++++ 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/home/user/.config/sway/bindings.conf b/home/user/.config/sway/bindings.conf index 007df8f..20f46f3 100644 --- a/home/user/.config/sway/bindings.conf +++ b/home/user/.config/sway/bindings.conf @@ -90,14 +90,19 @@ bindsym --to-code Shift+Ctrl+Print exec --no-startup-id screenshot entire save bindsym --to-code $mod+q exec swaymsg workspace hide1; workspace hide2 -set $exitmode "Power: [e]xit, [r]eboot, [s]hutdown, s[u]spend, [l]ock, [b]lack" +bindsym $mod+Shift+minus move scratchpad +bindsym $mod+minus scratchpad show + + +set $exitmode "Power: [e]xit, [r]eboot, [s]hutdown, s[u]spend, [l]ock, [b]lack, [R]UEFI" mode $exitmode { bindsym --to-code e exit - bindsym --to-code r exec reboot - bindsym --to-code s exec shutdown -h now - bindsym --to-code u exec systemctl suspend; mode "default" + bindsym --to-code r exec --no-startup-id reboot + bindsym --to-code s exec --no-startup-id shutdown -h now + bindsym --to-code u exec --no-startup-id systemctl suspend; mode "default" bindsym --to-code l exec swaylock -f; mode "default" bindsym --to-code b exec magick canvas:none PNG:- | feh --class black -YFx -; mode "default" + bindsym --to-code Shift+r exec --no-startup-id systemctl reboot --firmware-setup bindsym Escape mode "default" bindsym Return mode "default" diff --git a/home/user/.config/sway/other.conf b/home/user/.config/sway/other.conf index b1f675d..fb9492c 100644 --- a/home/user/.config/sway/other.conf +++ b/home/user/.config/sway/other.conf @@ -15,6 +15,10 @@ mouse_warping none popup_during_fullscreen smart smart_borders on +default_border pixel 1 +default_floating_border normal +hide_edge_borders smart + for_window [tiling] border pixel 3 for_window [title="Picture-in-Picture"] sticky enable for_window [title="Picture-in-Picture"] border pixel 0