Skip to content

the throw-space-n shortcut definitions in amethyst.yml are seemingly ignored #1813

@gplusplus314

Description

@gplusplus314

Describe the bug

I have settings and shortcuts defined in my amethyst.yml. They all work, except the throw-space-n shortcuts aren't set to my custom ones and revert back to the equivalent of mod2-n. My keybinds are intentionally zero-indexed, meaning 0 is space 1, but the shortcuts aren't being respected.

See reproduction and screenshot section.

Applications:
All

To Reproduce
Here is a snippet from my ~/.config/amethyst/amethyst.yml:

mod1:
  - control

mod2:
  - control
  - shift

throw-space-1:
  mod: mod2
  key: 0
throw-space-2:
  mod: mod2
  key: 1
throw-space-3:
  mod: mod2
  key: 2
throw-space-4:
  mod: mod2
  key: 3
throw-space-5:
  mod: mod2
  key: 4
throw-space-6:
  mod: mod2
  key: 5
throw-space-7:
  mod: mod2
  key: 6
throw-space-8:
  mod: mod2
  key: 7
throw-space-9:
  mod: mod2
  key: 8
throw-space-10:
  mod: mod2
  key: 9

Expected behavior
Keyboard shortcuts in amethyst.yml should be respected.

Screenshots
Here is what's shown in the Amethyst GUI:

Image

Versions:

  • macOS: 15.6 (24G84)
  • Amethyst: 0.24.0

Debug Info

$ /Applications/Amethyst.app/Contents/MacOS/Amethyst --debug-info --include-apps

Version: 0.24.0 (124)

OS version: Version 15.6 (Build 24G84)

Screens:
	(0.0, 0.0, 3008.0, 1692.0) [(0.0, 0.0, 3008.0, 1692.0)]
	(497.0, -1329.0, 2056.0, 1329.0) [(497.0, 1692.0, 2056.0, 1329.0)]

Configuration:
enables-layout-hud: 1
window-margin-size: 10
ignore-menu-bar: 0
new-windows-to-main: 0
mouse-resizes-windows: 1
floating: (
)
follow-space-thrown-windows: 1
screen-padding-left: 0
window-resize-step: 5
debug-layout-info: 0
smart-window-margins: 1
screen-padding-top: 0
screen-padding-bottom: 0
mod1: (
    control
)
mouse-follows-focus: 1
restore-layouts-on-launch: 1
focus-follows-mouse: 0
window-minimum-height: 0
layouts: (
    tall,
    "two-pane",
    floating
)
enables-layout-hud-on-space-change: 0
mouse-swaps-windows: 1
window-margins: 1
floating-is-blacklist: 1
mod2: (
    control,
    shift
)
window-max-count: 0
screen-padding-right: 0
use-canary-build: 0
float-small-windows: 1
window-minimum-width: 0

Manageable applications:
	Google Chrome (com.google.Chrome)
	zoom.us (us.zoom.xos)
	Finder (com.apple.finder)
	kitty (net.kovidgoyal.kitty)
	Slack (com.tinyspeck.slackmacgap)
	Microsoft Outlook (com.microsoft.Outlook)
	System Settings (com.apple.systempreferences)

Additional context
This might be related to #1521 .

If I go through the GUI and manually delete, then rebind the keys, they work. But when Amethyst restarts, everything reverts and it matches the screenshot from above, breaking my configuration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions