dotfiles/de/home/.config/sway/config.d/workspaces
2025-03-14 01:30:07 -07:00

38 lines
1.4 KiB
Text

#
# Workspaces 1-10
#
bindsym $mod+Shift+r exec sp-rename
bindsym $mod+p exec "sp-profiles Personal"
bindsym $mod+Bracketleft exec "sp-profiles Development"
bindsym $mod+Bracketright exec "sp-profiles School"
bindsym $mod+Backslash exec "sp-profiles Work"
# Switch to workspace keybinds are managed by sp-profiles
# bindsym $mod+n workspace number n
# Move to workspace keybinds are managed by sp-profiles
# bindsym $mod+Shift+n move container to workspace number n
# Profile Workspace Setup
workspace numer "0:";gaps left current set 310;move workspace to output $overview_display
exec_always "sp-profiles Personal;swaymsg move workspace to output $primary_display"
# exec_always "swaymsg workspace number "0:";swaymsg gaps left current set 310;swaymsg move workspace to output $overview_display;sp-profiles Personal;swaymsg move workspace to output $primary_display"
bindsym $mod+grave workspace "0:"
bindsym $mod+Shift+grave move container to workspace number "0:"
exec "sleep 1;swaymsg 'rename workspace 1 to 1:'"
exec "sleep 1;swaymsg 'rename workspace 2 to 2:'"
exec "sleep 1;swaymsg 'rename workspace 3 to 3:'"
# 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 "sp-profiles next"
# Prev Profile
bindgesture swipe:down exec "sp-profiles prev"