settings: add startup_slave_screen option

This commit is contained in:
brezerk
2014-11-06 20:13:46 +01:00
committed by Andrzej Rybczak
parent a4e9523f63
commit cc747c0f99
10 changed files with 49 additions and 12 deletions

View File

@@ -400,12 +400,18 @@
#screen_switcher_mode = playlist, browser
#
##
## Note: You can define startup screen for ncmpcpp
## Note: You can define startup screen
## by choosing screen from the list above.
##
#startup_screen = playlist
#
##
## Note: You can define startup slave screen
## by choosing screen from the list above.
##
#startup_slave_screen = playlist
#
##
## Default width of locked screen (in %).
## Acceptable values are from 20 to 80.
##

View File

@@ -21,6 +21,9 @@ Use alternative configuration file
.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)
.TP
.B \-S, \-\-slave-screen <name>
Specify the startup slave screen (<name> may be: help, playlist, browser, search_engine, media_library, playlist_editor, tag_editor, outputs, visualizer, clock)
.TP
.B \-?, \-\-help
Display help.
.TP
@@ -268,6 +271,9 @@ If set to "previous", key_screen_switcher will switch between current and last u
.B startup_screen = SCREEN_NAME
Screen that has to be displayed at start (playlist by default).
.TP
.B startup_slave_screen = SCREEN_NAME
Slave 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.
.TP