Closed danilanosikov closed 2 days ago
Ah, didn't see documentation section about layer rules, anyway I still can see use for this feature, so I'll keep it open
exec-once runs once at compositor's startup and it doesn't matter where you put it, that wont change. You can listen to socket2 for submap changes, or stack keybinds to achieve this.
Description
I was trying to change animation style of tofi launcher, but apperantly it does not have option to open it as a regular window, because of that it still used workspace-default animation.
I decided to call submap and instantly after that change animation to desired, call tofi, revert animation style to default and exit submap afterward - all automatically, with one shortcut.
Unfortunately, very soon I noticed - inside of submap exec-once call is not proccessed, at least it seems so.
Would it be reasonable to to implement exec-once call, and others like animation definition, etc, to be "callable" inside a submap?
So it would work somewhat like this: