diff options
author | Freya Murphy <freya@freyacat.org> | 2024-06-21 22:52:21 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2024-06-21 22:52:21 -0400 |
commit | cf5d8d92f1904511006a89970349dbf723ae1732 (patch) | |
tree | 2deb7af8e9031a502b6b7f1c263198e4d6b93f9f /home/config/sway/config.d/workspaces | |
parent | update guixstrap (diff) | |
download | dotfiles-guix-cf5d8d92f1904511006a89970349dbf723ae1732.tar.gz dotfiles-guix-cf5d8d92f1904511006a89970349dbf723ae1732.tar.bz2 dotfiles-guix-cf5d8d92f1904511006a89970349dbf723ae1732.zip |
update things
Diffstat (limited to 'home/config/sway/config.d/workspaces')
-rw-r--r-- | home/config/sway/config.d/workspaces | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/home/config/sway/config.d/workspaces b/home/config/sway/config.d/workspaces new file mode 100644 index 0000000..5fac86b --- /dev/null +++ b/home/config/sway/config.d/workspaces @@ -0,0 +1,69 @@ + +# Move your focus around +bindsym $mod+Left focus left +bindsym $mod+Down focus down +bindsym $mod+Up focus up +bindsym $mod+Right focus right + +# Move the focused window with the same, but add Shift +bindsym $mod+Shift+Left move left +bindsym $mod+Shift+Down move down +bindsym $mod+Shift+Up move up +bindsym $mod+Shift+Right move right + +# Switch to workspace +bindsym $mod+1 workspace number 1 +bindsym $mod+2 workspace number 2 +bindsym $mod+3 workspace number 3 +bindsym $mod+4 workspace number 4 +bindsym $mod+5 workspace number 5 +bindsym $mod+6 workspace number 6 +bindsym $mod+7 workspace number 7 +bindsym $mod+8 workspace number 8 +bindsym $mod+9 workspace number 9 + +# Move focused container to workspace +bindsym $mod+Shift+1 move container to workspace number 1 +bindsym $mod+Shift+2 move container to workspace number 2 +bindsym $mod+Shift+3 move container to workspace number 3 +bindsym $mod+Shift+4 move container to workspace number 4 +bindsym $mod+Shift+5 move container to workspace number 5 +bindsym $mod+Shift+6 move container to workspace number 6 +bindsym $mod+Shift+7 move container to workspace number 7 +bindsym $mod+Shift+8 move container to workspace number 8 +bindsym $mod+Shift+9 move container to workspace number 9 + +# Layout stuff: + +# Set the new window positioning mode +bindsym $mod+Shift+d layout default +bindsym $mod+Shift+b layout splith +bindsym $mod+Shift+v layout splitv +bindsym $mod+Shift+c layout tabbed + +# Make the current focus fullscreen +bindsym $mod+f fullscreen + +# Toggle the current focus between tiling and floating mode +bindsym $mod+Shift+space floating toggle + +# 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 + +# Resize windows +mode "resize" { + # Ditto, with arrow keys + bindsym Left resize shrink width 10px + bindsym Down resize grow height 10px + bindsym Up resize shrink height 10px + bindsym Right resize grow width 10px + + # Return to default mode + bindsym Return mode "default" + bindsym Escape mode "default" +} + +bindsym $mod+r mode "resize" |