Skip to content

quitting a transient from code #318

Closed Answered by tarsius
jave asked this question in Q&A
Oct 18, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote
bindsym Shift+F6 exec emacsclient -e "(call-interactively 'i3wm-menu)"
for_window [title="i3wm-menu"] floating enable, border pixel 2
;; SPDX-License-Identifier: GPL-3.0-or-later
;; Author: Jonas Bernoulli <emacs.transient@jonas.bernoulli.dev>
;; URL: https://github.com/magit/transient/discussions/318

(defvar i3wm-menu--frame nil)

(defvar i3wm-menu-frame-alist
  '((width  . 80)
    (height . 20)))

(defvar i3wm-menu-display-buffer-action
  ;; Use nil to display like other transient menus.
  '(display-buffer-full-frame))

(defvar i3wm-menu-display-menu-immediately nil)

(defun i3wm-menu--setup-menu (&optional display-frame-phase)
  (when (or (not display-frame-phase)
            i3wm-me…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jave
Comment options

Answer selected by tarsius
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #317 on October 19, 2024 13:08.