Set MPV_HOME in xinit and add input.conf & mpv.conf

This commit is contained in:
Miles Alan 2020-08-30 14:46:23 -05:00
parent 561122b07c
commit a211d82939
3 changed files with 3 additions and 0 deletions

1
configs/mpv/input.conf Normal file
View file

@ -0,0 +1 @@
h vf toggle hflip

1
configs/mpv/mpv.conf Normal file
View file

@ -0,0 +1 @@
title="${playtime-remaining} - ${media-title}"

View file

@ -7,6 +7,7 @@ envvars() {
command -v "$BROWSER" || export BROWSER=surf command -v "$BROWSER" || export BROWSER=surf
command -v "$EDITOR" || export EDITOR=vis command -v "$EDITOR" || export EDITOR=vis
command -v "$KEYBOARD" || defaultkeyboard command -v "$KEYBOARD" || defaultkeyboard
[ -z "$MPV_HOME" ] && export MPV_HOME=/usr/share/sxmo/mpv
[ -z "$MOZ_USE_XINPUT2" ] && export MOZ_USE_XINPUT2=1 [ -z "$MOZ_USE_XINPUT2" ] && export MOZ_USE_XINPUT2=1
[ -z "$XDG_CONFIG_HOME" ] && export XDG_CONFIG_HOME=~/.config [ -z "$XDG_CONFIG_HOME" ] && export XDG_CONFIG_HOME=~/.config
[ -z "$XDG_CACHE_HOME" ] && export XDG_CACHE_HOME=~/.cache [ -z "$XDG_CACHE_HOME" ] && export XDG_CACHE_HOME=~/.cache