Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for custom markers/summoners #2

Open
shalomb opened this issue Nov 2, 2024 · 0 comments
Open

Support for custom markers/summoners #2

shalomb opened this issue Nov 2, 2024 · 0 comments

Comments

@shalomb
Copy link
Owner

shalomb commented Nov 2, 2024

Technically, we are not bound to yabai/skhd for the underlying functionality of marking and jumping to windows.

Could we replace these constructs with some user-defined commands?

unmarked/markcmd.go

Lines 63 to 65 in ae944dc

s := yabaiscript(heredoc.Doc(`
yabai -m query --windows --window
`))

unmarked/summoncmd.go

Lines 61 to 63 in ae944dc

sc := yabaiscript(heredoc.Doc(`
yabai -m window --focus $1
`), fmt.Sprintf("%.0f", winid))

Open questions?

  • How do we pluck out the window IDs and Titles, etc for our marks?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant