yambar-modu...ign-toplevel(5)

πŸ’… NAME

okay bestie, welcome to yambar-modu...ign-toplevel(5) from the File Formats Manual 🫢 this is the page for foreign-toplevel β€” the module that gives you the tea β˜• on toplevel windows in Wayland. no cap. ✨


✨ DESCRIPTION

this module uses the wlr foreign toplevel management Wayland protocol to spill the details on currently open windows β€” stuff like their application ID, window title, and their current state (maximized/minimized/fullscreen/activated). πŸ‘‘ iconic behavior, honestly.

the configuration for the foreign-toplevel module specifies a template particle. that particle gets instantiated once for each window. πŸͺŸπŸ’–

Note: Wayland only. 🌈 like, do not try this on X11, bestie.

🏷️ TAGS

  • app-id β€” string β€” the application ID (typically the application name) πŸ“
  • title β€” string β€” the window title πŸŽ€
  • maximized β€” bool β€” true if the window is currently maximized πŸ¦‹
  • minimized β€” bool β€” true if the window is currently minimized πŸ™ˆ
  • fullscreen β€” bool β€” true if the window is currently fullscreened πŸ’…
  • activated β€” bool β€” true if the window is currently activated (i.e. has focus) πŸ”₯

βš™οΈ CONFIGURATION

  • content β€” particle β€” required: yes β€” template particle that will be instantiated once for each window ✨
  • all-monitors β€” bool β€” required: no β€” when set to true, only windows on the same monitor the bar will be used. the default is false. 🫢

🌈 EXAMPLES

           bar:
             left:
               - foreign-toplevel:
                   content:
                     map:
                       conditions:
                         ~activated: {empty: {}}
                         activated:
                           - string: {text: "{app-id}: {title}"}

πŸ‘€ SEE ALSO

yambar-modules(5), yambar-particles(5), yambar-tags(5), yambar-decorations(5) πŸ’–


that's the whole vibe, bestie 🫢 this lil masterpiece is from yambar-modu...ign-toplevel(5), dated 2024-04-22. now go make your bar cute πŸ’…βœ¨

πŸ“¦ where this page comes from