From d89154c1aede33cab228ef740c746838b96a41be Mon Sep 17 00:00:00 2001 From: Martin Larsson Date: Sun, 2 Jun 2024 09:25:54 +0200 Subject: [PATCH] Sway config is now workable --- linux_home/.config/sway/config | 29 +++++------------------------ 1 file changed, 5 insertions(+), 24 deletions(-) diff --git a/linux_home/.config/sway/config b/linux_home/.config/sway/config index 76c6629..3d1b362 100644 --- a/linux_home/.config/sway/config +++ b/linux_home/.config/sway/config @@ -73,38 +73,19 @@ exec swayidle -w \ # # Layout stuff: # - # You can "split" the current object of your focus with - # $mod+b or $mod+v, for horizontal and vertical splits - # respectively. - bindsym $mod+b splith - bindsym $mod+v splitv + # Inverse the split to match neovim directions + bindsym $mod+v splith + bindsym $mod+h splitv # Switch the current container between different layout styles - bindsym $mod+s layout stacking - bindsym $mod+w layout tabbed - bindsym $mod+e layout toggle split + bindsym $mod+t layout tabbed + bindsym $mod+s layout toggle split # Make the current focus fullscreen bindsym $mod+f fullscreen - # Swap focus between the tiling area and the floating area - bindsym $mod+space focus mode_toggle - # Move focus to the parent container bindsym $mod+a focus parent -# -# Scratchpad: -# - # Sway has a "scratchpad", which is a bag of holding for windows. - # You can send windows there and get them back later. - - # Move the currently focused window to the scratchpad - bindsym $mod+Shift+minus move scratchpad - - # Show the next scratchpad window or hide the focused scratchpad window. - # If there are multiple scratchpad windows, this command cycles through them. - bindsym $mod+minus scratchpad show -# # Resizing containers: # mode "resize" {