summaryrefslogtreecommitdiffstats
path: root/player/main.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-05-01 21:48:07 +0200
committerwm4 <wm4@nowhere>2015-05-01 21:51:10 +0200
commit756991bd4f78d3a241df1f4fa208d5f55ef95833 (patch)
tree18374ae38b5d52fbf8f8408b05dd551f1784450d /player/main.c
parent72373bb5aee6be468bf6a3a2cceb55e9f1a6d28f (diff)
downloadmpv-756991bd4f78d3a241df1f4fa208d5f55ef95833.tar.bz2
mpv-756991bd4f78d3a241df1f4fa208d5f55ef95833.tar.xz
screenshots: change default directory in pseudo-gui mode to desktop
This should take care of the endless complaints about the default location for screenshots (and will of course create new ones). If the screenshot-template is set to an absolute path, the directory won't be used. So this should be reasonably compatible.
Diffstat (limited to 'player/main.c')
-rw-r--r--player/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/player/main.c b/player/main.c
index 1d56f0ceda..641be7a289 100644
--- a/player/main.c
+++ b/player/main.c
@@ -102,7 +102,8 @@ static const char def_config[] =
"[pseudo-gui]\n"
"terminal=no\n"
"force-window=yes\n"
- "idle=once\n";
+ "idle=once\n"
+ "screenshot-directory=~desktop/\n";
static pthread_mutex_t terminal_owner_lock = PTHREAD_MUTEX_INITIALIZER;
static struct MPContext *terminal_owner;