From bfa8c2a9d76834c4ae434210ed03caf8ea07c5cb Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Sun, 27 Jul 2014 23:07:15 +0200 Subject: Background image will now be resized, if very large --- README.markdown | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'README.markdown') diff --git a/README.markdown b/README.markdown index 74f1feb..065645d 100644 --- a/README.markdown +++ b/README.markdown @@ -9,7 +9,7 @@ A simple start page with a background image from [/r/EarthPorn](http://www.reddi ## Configuration -The startpage configuration is located in the file ~/.startpagerc. It is a list of commands. A command has a name and can optionally have parameters separated by spaces or tabs. A backspace `\\` will interpret the next charcter literally (can be used to escape whitespace, linebreaks and backspaces). Commands are separated by newlines. +The startpage configuration is located in the file ~/.startpagerc. It is a list of commands. A command has a name and can optionally have parameters separated by spaces or tabs. A backspace `\` will interpret the next charcter literally (can be used to escape whitespace, linebreaks and backspaces). Commands are separated by newlines. These commands are implemented: @@ -38,6 +38,14 @@ Example: set-earthporn-savepath /home/foobar/Pictures/earthporn +### `set-maxdim` + +Sets the maximum width/height of an EarthPorn image. If the image is larger, it will be resized for the background (it will be saved in it's original size). + +Example: + + set-maxdim 4000 + ## Running If `$GOPATH/bin` is in your `$PATH`, you can run startpage with the command `startpage`. By default, startpage listens on port 25145. You can change that with a command line switch: `startpage -laddr :` \ No newline at end of file -- cgit v1.2.3-70-g09d2