feat: added options to display alternative top bar title
Added option `top_bar_alt_title`, which accepts an alternative title template to be displayed, and `top_bar_alt_title_place` that controls where it should be displayed. It can be either `below` to place it below the main one, or `toggle` to show it in place of the main title when user clicks the top bar or calls the `toggle-title` binding. The `top_bar_title` now also accepts a custom top bar title template if user wants it to be different from the one defined in `mpv.conf`. closes #402
This commit is contained in:
@@ -122,7 +122,16 @@ top_bar=no-border
|
||||
top_bar_size=40
|
||||
top_bar_size_fullscreen=46
|
||||
top_bar_controls=yes
|
||||
# Can be: `no` (hide), `yes` (inherit title from mpv.conf), or a custom template string
|
||||
top_bar_title=yes
|
||||
# Template string to enable alternative top bar title. If alt title matches main title,
|
||||
# it'll be hidden. Tip: use `${media-title}` for main, and `${filename}` for alt title.
|
||||
top_bar_alt_title=
|
||||
# Can be:
|
||||
# `below` => display alt title below the main one
|
||||
# `toggle` => toggle the top bar title text between main and alt by clicking
|
||||
# the top bar, or calling `toggle-title` binding
|
||||
top_bar_alt_title_place=below
|
||||
top_bar_title_opacity=0.8
|
||||
top_bar_persistency=
|
||||
|
||||
|
Reference in New Issue
Block a user