Skip to content

UI top bar -> listen for / display visualize active layer. #420

Answered by MuhammedZakir
molleweide asked this question in Q&A
Discussion options

You must be logged in to vote

A simple way is to wrap your layer switching buttons in tap-macro to execute a shell command before switching layers.

(tap-macro (cmd-button "notify-bar :layer symbols") (layer-next symbols))

Because of how long it takes to execute a shell command and get the bar to display it, this won't be useful if layers are changed rapidly.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@molleweide
Comment options

@glostis
Comment options

@molleweide
Comment options

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