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