uniformize ways to convert strings into screen type
This commit is contained in:
33
doc/config
33
doc/config
@@ -366,28 +366,21 @@
|
||||
#display_screens_numbers_on_start = "yes"
|
||||
#
|
||||
##
|
||||
## How shall key_screen_switcher work?
|
||||
## How shall screen switcher work?
|
||||
##
|
||||
## - "previous" - switch between current and last used screen
|
||||
## - "sequence: 2 -> 9 -> 5" - switch between given sequence of screens.
|
||||
## - "previous" - switch between the current and previous screen.
|
||||
## - "screen1,...,screenN" - switch between given sequence of screens.
|
||||
##
|
||||
## Screen numbers you can use after 'sequence' keyword are:
|
||||
## Screens available for use: help, playlist, browser, search_engine,
|
||||
## media_library, playlist_editor, tag_editor, outputs, visualizer, clock.
|
||||
##
|
||||
## - 1 - help
|
||||
## - 2 - playlist
|
||||
## - 3 - browser
|
||||
## - 4 - search engine
|
||||
## - 5 - media library
|
||||
## - 6 - playlist editor
|
||||
## - 7 - tag editor
|
||||
## - 8 - outputs
|
||||
## - 9 - visualizer
|
||||
## - 10 - clock
|
||||
#screen_switcher_mode = "playlist, browser"
|
||||
#
|
||||
##
|
||||
## As you can see, above example will switch between
|
||||
## playlist, visualizer and media library screens.
|
||||
## Note: You can define startup screen for ncmpcpp
|
||||
## by choosing screen from the list above.
|
||||
##
|
||||
#screen_switcher_mode = "sequence: 2 -> 3"
|
||||
#startup_screen = "playlist"
|
||||
#
|
||||
##
|
||||
## Default width of locked screen (in %).
|
||||
@@ -398,12 +391,6 @@
|
||||
#
|
||||
#ask_for_locked_screen_width_part = "yes"
|
||||
#
|
||||
##
|
||||
## Note: You can define startup screen for ncmpcpp
|
||||
## by choosing screen number from the list above.
|
||||
##
|
||||
#startup_screen = "2"
|
||||
#
|
||||
#jump_to_now_playing_song_at_start = "yes"
|
||||
#
|
||||
#ask_before_clearing_main_playlist = "no"
|
||||
|
||||
@@ -19,7 +19,7 @@ Connect to server at port [6600]
|
||||
Use alternative configuration file
|
||||
.TP
|
||||
.B \-s, \-\-screen <name>
|
||||
Specify the startup screen (<name> may be: help, playlist, browser, search-engine, media-library, playlist-editor, tag-editor, outputs, visualizer, clock)
|
||||
Specify the startup screen (<name> may be: help, playlist, browser, search_engine, media_library, playlist_editor, tag_editor, outputs, visualizer, clock)
|
||||
.TP
|
||||
.B \-?, \-\-help
|
||||
Display help.
|
||||
@@ -256,7 +256,10 @@ If set to "playlist", Search engine will perform searching in current MPD playli
|
||||
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_mode = 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.
|
||||
If set to "previous", key_screen_switcher will switch between current and last used screen. If set to "screen1,...screenN" (a list of screens) it will switch between them in a sequence. Syntax clarification can be found in example config file.
|
||||
.TP
|
||||
.B startup_screen = SCREEN_NAME
|
||||
Screen that has to be displayed at start (playlist by default).
|
||||
.TP
|
||||
.B locked_screen_width_part = 20-80
|
||||
If you want to lock a screen, ncmpcpp asks for % of locked screen's width to be reserved before that and provides a default value, which is the one you can set here.
|
||||
@@ -264,9 +267,6 @@ If you want to lock a screen, ncmpcpp asks for % of locked screen's width to be
|
||||
.B ask_for_locked_screen_width_part = yes/no
|
||||
If enabled, ncmpcpp will ask for % of locked screen's width each time you want to lock a screen. If you disable that, it'll silently attempt to use default value.
|
||||
.TP
|
||||
.B startup_screen = SCREEN_NUMBER
|
||||
Screen that has to be displayed at start (playlist by default).
|
||||
.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.
|
||||
.TP
|
||||
|
||||
Reference in New Issue
Block a user