-
-
Notifications
You must be signed in to change notification settings - Fork 31
2. Popups
Popup is a feature in barik that lets you open an extended and interactive view of a widget by simply clicking on it. This functionality is available for the following widgets: Now Playing, Network, Battery, and Time (Calendar). Each popup is configured as a sub-section within the corresponding widget’s configuration, using the system name of the widget appended with .popup.
Some popups support several view variants (for example: box, vertical, horizontal). To manage them, hover mouse cursor over the bottom right corner of the popup.
The display option can also be configured in the settings (refer to the specific popup description for details).
When you click on the Now Playing widget, the popup provides a detailed view of the currently playing track.
[widgets.default.nowplaying.popup]
view-variant = "vertical" # sets the popup layout (vertical, horizontal)
Displays detailed data about the current connection.
Displays battery charge. In the future, it will show the charge of other devices, such as an iPhone, headphones, or a wireless mouse.
The Time widget can display additional details, such as calendar events, in an extended view when activated.
[widgets.default.time.popup]
view-variant = "vertical" # sets the popup layout for an extended view of time and calendar detailsThe Extension API is in development; you can suggest your ideas to help with the implementation: https://github.com/mocki-toki/barik/issues/44