57 lines
2 KiB
Text
57 lines
2 KiB
Text
|
|
#
|
|
# Workspaces 1-10
|
|
#
|
|
|
|
bindsym $mod+Shift+r exec $HOME/.config/sway/scripts/ws-rename
|
|
bindsym $mod+p exec "$HOME/.config/sway/scripts/profiles.sh Personal"
|
|
bindsym $mod+Bracketleft exec "$HOME/.config/sway/scripts/profiles.sh Development"
|
|
bindsym $mod+Bracketright exec "$HOME/.config/sway/scripts/profiles.sh School"
|
|
bindsym $mod+Backslash exec "$HOME/.config/sway/scripts/profiles.sh Work"
|
|
#set $pn "1"
|
|
|
|
# Switch to
|
|
# 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
|
|
# bindsym $mod+0 workspace number 10
|
|
|
|
# Move to
|
|
# 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
|
|
# bindsym $mod+Shift+0 move container to workspace number 10
|
|
|
|
exec_always "$HOME/.config/sway/scripts/profiles.sh Personal"
|
|
exec "swaymsg 'rename workspace 1 to 1:~'"
|
|
exec "swaymsg 'rename workspace 2 to 2:~'"
|
|
exec "swaymsg 'rename workspace 3 to 3:~'"
|
|
|
|
#
|
|
# Trackpad
|
|
#
|
|
|
|
# Next Workspace
|
|
bindgesture swipe:left workspace next
|
|
bindsym $mod+Tab workspace next
|
|
|
|
# Prev Workspace
|
|
bindgesture swipe:right workspace prev
|
|
bindsym $mod+Shift+Tab workspace prev
|
|
|
|
# Next 'Profile'
|
|
bindgesture swipe:up exec "$HOME/.config/sway/scripts/profiles.sh next"
|
|
# Prev 'Profile'
|
|
bindgesture swipe:down exec "$HOME/.config/sway/scripts/profiles.sh prev"
|