add support for switching between user-defined sequence of screens using Tab
This commit is contained in:
22
doc/config
22
doc/config
@@ -269,10 +269,26 @@
|
||||
##
|
||||
## How shall key_screen_switcher work?
|
||||
##
|
||||
## - yes - always switch between browser and playlist
|
||||
## - no - switch between current and last used screen
|
||||
## - "previous" - switch between current and last used screen
|
||||
## - "sequence: 2 -> 9 -> 5" - switch between given sequence of screens.
|
||||
##
|
||||
#screen_switcher_browser_only = "yes"
|
||||
## Screen numbers you can use after 'sequence' keyword are:
|
||||
##
|
||||
## - 1 - help
|
||||
## - 2 - playlist
|
||||
## - 3 - browser
|
||||
## - 4 - search engine
|
||||
## - 5 - media library
|
||||
## - 6 - playlist editor
|
||||
## - 7 - tag editor
|
||||
## - 8 - outputs
|
||||
## - 9 - visualizer
|
||||
## - 10 - clock
|
||||
##
|
||||
## As you can see, above example will switch between
|
||||
## playlist, visualizer and media library screens.
|
||||
##
|
||||
#screen_switcher_mode = "sequence: 2 -> 3"
|
||||
#
|
||||
#jump_to_now_playing_song_at_start = "yes"
|
||||
#
|
||||
|
||||
@@ -219,8 +219,8 @@ If set to "playlist", Search engine will perform searching in current MPD playli
|
||||
.B display_screens_numbers_on_start = yes/no
|
||||
If enabled, screens' names and their keybindings will be shown in header window until key is pressed, otherwise they won't be displayed at all.
|
||||
.TP
|
||||
.B screen_switcher_browser_only = yes/no
|
||||
If enabled, the "screen_switcher" key (<Tab> by default) will only switch between the playlist and browser screens. If disabled, the last active screen will be remembered, and the "screen_switcher" key will jump back.
|
||||
.B screen_switcher_previous = SWITCHER_MODE
|
||||
If set to "previous", key_screen_switcher will switch between current and last used screen. If set to "sequence: user_defined_sequence", it will switch between given sequence of screens. Syntax clarification can be found in example config file.
|
||||
.TP
|
||||
.B jump_to_now_playing_song_at_start = yes/no
|
||||
If enabled, ncmpcpp will jump at start to now playing song if mpd is playing or paused.
|
||||
|
||||
Reference in New Issue
Block a user