• Shareni@programming.dev
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    For my wm+Emacs work, I unified the shortcuts by calling a separate go bin that checks if the active window is Emacs or not. If it is, it sends the command to the Emacs Daemon. If it’s not it sends the command to i3. For directional commands like move focus, first check it there’s an Emacs window to that side, if not send the command to i3.