users.pbsds.home: better mpv
This commit is contained in:
parent
a0854e05f6
commit
d307868927
|
@ -13,9 +13,7 @@
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
home.stateVersion = "22.05";
|
home.stateVersion = "22.05";
|
||||||
home.sessionVariables = {
|
home.sessionVariables.EDITOR = "micro";
|
||||||
EDITOR = "micro";
|
|
||||||
};
|
|
||||||
programs.bash.initExtra = ''
|
programs.bash.initExtra = ''
|
||||||
if [ "$COLORTERM" = "truecolor" ] || [ "$TERM" == "xterm" ]; then
|
if [ "$COLORTERM" = "truecolor" ] || [ "$TERM" == "xterm" ]; then
|
||||||
export TERM=xterm-256color
|
export TERM=xterm-256color
|
||||||
|
@ -228,9 +226,11 @@
|
||||||
programs.exa.enable = true;
|
programs.exa.enable = true;
|
||||||
programs.exa.enableAliases = true;
|
programs.exa.enableAliases = true;
|
||||||
programs.direnv.enable = true;
|
programs.direnv.enable = true;
|
||||||
|
programs.mpv.enable = true;
|
||||||
programs.mpv.bindings."SHIFT+n" = "sub-seek -1";
|
programs.mpv.bindings."SHIFT+n" = "sub-seek -1";
|
||||||
programs.mpv.bindings."n" = "sub-seek 1";
|
programs.mpv.bindings."n" = "sub-seek 1";
|
||||||
#programs.mpv.config
|
#programs.mpv.config
|
||||||
|
programs.mpv.scripts = with pkgs.mpvScripts; [ thumbnail ];
|
||||||
|
|
||||||
# TODO: implement programs.bat.enableAliases
|
# TODO: implement programs.bat.enableAliases
|
||||||
programs.bat = {
|
programs.bat = {
|
||||||
|
|
Loading…
Reference in New Issue