ktns-dotfiles-2025/sway/config.d/swaysome.conf

67 lines
3 KiB
Plaintext
Raw Permalink Normal View History

2025-08-30 21:07:06 +00:00
# Use (un)bindcode or (un)bindsym, depending on what you used in your main sway config file.
# The `--no-warn` setting is only added to shortcuts that exist in the default config. You may want to add or remove
# that flag on some bindings depending on your config.
# Change focus between workspaces
bindsym --no-warn $SUPER+1 exec "swaysome focus 1"
bindsym --no-warn $SUPER+2 exec "swaysome focus 2"
bindsym --no-warn $SUPER+3 exec "swaysome focus 3"
bindsym --no-warn $SUPER+4 exec "swaysome focus 4"
bindsym --no-warn $SUPER+5 exec "swaysome focus 5"
bindsym --no-warn $SUPER+6 exec "swaysome focus 6"
bindsym --no-warn $SUPER+7 exec "swaysome focus 7"
bindsym --no-warn $SUPER+8 exec "swaysome focus 8"
bindsym --no-warn $SUPER+9 exec "swaysome focus 9"
bindsym --no-warn $SUPER+0 exec "swaysome focus 0"
# Move containers between workspaces
bindsym --no-warn $SUPER+Shift+1 exec "swaysome move 1"
bindsym --no-warn $SUPER+Shift+2 exec "swaysome move 2"
bindsym --no-warn $SUPER+Shift+3 exec "swaysome move 3"
bindsym --no-warn $SUPER+Shift+4 exec "swaysome move 4"
bindsym --no-warn $SUPER+Shift+5 exec "swaysome move 5"
bindsym --no-warn $SUPER+Shift+6 exec "swaysome move 6"
bindsym --no-warn $SUPER+Shift+7 exec "swaysome move 7"
bindsym --no-warn $SUPER+Shift+8 exec "swaysome move 8"
bindsym --no-warn $SUPER+Shift+9 exec "swaysome move 9"
bindsym --no-warn $SUPER+Shift+0 exec "swaysome move 0"
# Focus workspace groups
bindsym $SUPER+$ALT+1 exec "swaysome focus-group 1"
bindsym $SUPER+$ALT+2 exec "swaysome focus-group 2"
bindsym $SUPER+$ALT+3 exec "swaysome focus-group 3"
bindsym $SUPER+$ALT+4 exec "swaysome focus-group 4"
bindsym $SUPER+$ALT+5 exec "swaysome focus-group 5"
bindsym $SUPER+$ALT+6 exec "swaysome focus-group 6"
bindsym $SUPER+$ALT+7 exec "swaysome focus-group 7"
bindsym $SUPER+$ALT+8 exec "swaysome focus-group 8"
bindsym $SUPER+$ALT+9 exec "swaysome focus-group 9"
bindsym $SUPER+$ALT+0 exec "swaysome focus-group 0"
# Move containers to other workspace groups
bindsym $SUPER+$ALT+Shift+1 exec "swaysome move-to-group 1"
bindsym $SUPER+$ALT+Shift+2 exec "swaysome move-to-group 2"
bindsym $SUPER+$ALT+Shift+3 exec "swaysome move-to-group 3"
bindsym $SUPER+$ALT+Shift+4 exec "swaysome move-to-group 4"
bindsym $SUPER+$ALT+Shift+5 exec "swaysome move-to-group 5"
bindsym $SUPER+$ALT+Shift+6 exec "swaysome move-to-group 6"
bindsym $SUPER+$ALT+Shift+7 exec "swaysome move-to-group 7"
bindsym $SUPER+$ALT+Shift+8 exec "swaysome move-to-group 8"
bindsym $SUPER+$ALT+Shift+9 exec "swaysome move-to-group 9"
bindsym $SUPER+$ALT+Shift+0 exec "swaysome move-to-group 0"
# Move focused container to next output
bindsym $SUPER+Tab exec "swaysome next-output"
# Move focused container to previous output
bindsym $SUPER+$ALT+Tab exec "swaysome prev-output"
# Move focused workspace group to next output
bindsym $SUPER+Shift+Tab exec "swaysome workspace-group-next-output"
# Move focused workspace group to previous output
bindsym $SUPER+$ALT+Shift+Tab exec "swaysome workspace-group-prev-output"
# Init workspaces for every screen
exec "swaysome init 1"