From 740daf5c8b2908211b4ae1ad2c9353688bb1e2f9 Mon Sep 17 00:00:00 2001 From: James Knight Date: Mon, 22 Jun 2015 12:15:37 -0400 Subject: support background setter for specific screen The following adds the ability, when using `feh` as a background setter, to use a specific Xinerama screen to render a provided image. Along with the provided '--bg-*' option, the '--xinerama-index' argument will be used to identify the index of the detected Xinerama screen to use. Signed-off-by: James Knight --- man/feh.pre | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'man/feh.pre') diff --git a/man/feh.pre b/man/feh.pre index 10ea58f..b994478 100644 --- a/man/feh.pre +++ b/man/feh.pre @@ -470,6 +470,13 @@ managers. Disable Xinerama support. Only makes sense when you have Xinerama support compiled in. . +.It Cm --xinerama-index +. +Force Xinerama screen index to use. Only makes sense when you have +Xinerama support compiled in and using +.Nm +as a background setter. +. .It Cm -j , --output-dir Ar directory . Save files to @@ -820,7 +827,12 @@ on screen 0, the second on screen 1, and so on. . Use .Cm --no-xinerama -to treat the whole X display as one screen when setting wallpapers. +to treat the whole X display as one screen when setting wallpapers. You +may also use +.Cm --xinerama-index +to use +.Nm +as a background setter for a specific screen. . .Bl -tag -width indent . -- cgit v1.2.3 From 9593169d627085699d60a52794d65e64a247c030 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 26 Jun 2015 16:48:23 +0200 Subject: feh(1): move --xinerama-index to background setting section, extend description --- man/feh.pre | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) (limited to 'man/feh.pre') diff --git a/man/feh.pre b/man/feh.pre index b994478..d3d3d1f 100644 --- a/man/feh.pre +++ b/man/feh.pre @@ -470,13 +470,6 @@ managers. Disable Xinerama support. Only makes sense when you have Xinerama support compiled in. . -.It Cm --xinerama-index -. -Force Xinerama screen index to use. Only makes sense when you have -Xinerama support compiled in and using -.Nm -as a background setter. -. .It Cm -j , --output-dir Ar directory . Save files to @@ -871,6 +864,21 @@ Do not write a .Pa ~/.fehbg file . +.It Cm --xinerama-index Ar screen +. +When used with any option other than +.Cm --bg-tile : +Only set wallpaper on +.Ar screen . +All other screens will be filled black/white. +. +This is most useful in a Xinerama configuration with overlapping screens. +For instance, assume you have two overlapping displays (index 0 and 1), where +index 0 is smaller. To center a background on the display with index 0 and +fill the extra space on index 1 black/white, use +.Qq --xinerama-index 0 +when setting the wallpaper. +. .El . . -- cgit v1.2.3