Bueno ahora si
This commit is contained in:
parent
8ee1c8001e
commit
38ce8a3d60
|
@ -1,122 +0,0 @@
|
|||
# -*-muttrc-*-
|
||||
#
|
||||
# Command formats for gpg.
|
||||
#
|
||||
# Version notes:
|
||||
#
|
||||
# GPG 2.1 introduces the option "--pinentry-mode", which requires
|
||||
# the "loopback" argument in instances where "--passphrase-fd" is
|
||||
# used.
|
||||
#
|
||||
# Some of the older commented-out versions of the commands use gpg-2comp from:
|
||||
# http://70t.de/download/gpg-2comp.tar.gz
|
||||
#
|
||||
# %p The empty string when no passphrase is needed,
|
||||
# the string "PGPPASSFD=0" if one is needed.
|
||||
#
|
||||
# This is mostly used in conditional % sequences.
|
||||
#
|
||||
# %f Most PGP commands operate on a single file or a file
|
||||
# containing a message. %f expands to this file's name.
|
||||
#
|
||||
# %s When verifying signatures, there is another temporary file
|
||||
# containing the detached signature. %s expands to this
|
||||
# file's name.
|
||||
#
|
||||
# %a In "signing" contexts, this expands to the value of the
|
||||
# configuration variable $pgp_sign_as, if set, otherwise
|
||||
# $pgp_default_key. You probably need to
|
||||
# use this within a conditional % sequence.
|
||||
#
|
||||
# %r In many contexts, neomutt passes key IDs to pgp. %r expands to
|
||||
# a list of key IDs.
|
||||
|
||||
# Section A: Key Management
|
||||
|
||||
# The default key for encryption (used by $pgp_self_encrypt and
|
||||
# $postpone_encrypt).
|
||||
#
|
||||
# It will also be used for signing unless $pgp_sign_as is set to a
|
||||
# key.
|
||||
#
|
||||
# Unless your key does not have encryption capability, uncomment this
|
||||
# line and replace the keyid with your own.
|
||||
#
|
||||
# set pgp_default_key="0x12345678"
|
||||
|
||||
# If you have a separate signing key, or your key _only_ has signing
|
||||
# capability, uncomment this line and replace the keyid with your
|
||||
# signing keyid.
|
||||
#
|
||||
# set pgp_sign_as="0x87654321"
|
||||
|
||||
|
||||
# Section B: Commands
|
||||
|
||||
# Note that we explicitly set the comment armor header since GnuPG, when used
|
||||
# in some localiaztion environments, generates 8bit data in that header, thereby
|
||||
# breaking PGP/MIME.
|
||||
|
||||
# decode application/pgp
|
||||
#
|
||||
set pgp_decode_command="gpg2 --status-fd=2 %?p?--pinentry-mode loopback --passphrase-fd 0? --no-verbose --quiet --batch --output - %f"
|
||||
|
||||
# Verify a signature
|
||||
#
|
||||
set pgp_verify_command="gpg2 --status-fd=2 --no-verbose --quiet --batch --output - --verify %s %f"
|
||||
|
||||
# Decrypt an attachment
|
||||
#
|
||||
set pgp_decrypt_command="gpg2 --status-fd=2 %?p?--pinentry-mode loopback --passphrase-fd 0? --no-verbose --quiet --batch --output - --decrypt %f"
|
||||
|
||||
# Create a PGP/MIME signed attachment
|
||||
#
|
||||
# set pgp_sign_command="gpg-2comp --comment '' --no-verbose --batch --output - %?p?--passphrase-fd 0? --armor --detach-sign --textmode %?a?-u %a? %f"
|
||||
#
|
||||
set pgp_sign_command="gpg2 %?p?--pinentry-mode loopback --passphrase-fd 0? --no-verbose --batch --quiet --output - --armor --textmode %?a?--local-user %a? --detach-sign %f"
|
||||
|
||||
# Create a application/pgp inline signed message. This style is obsolete but still needed for Hushmail recipients and some MUAs.
|
||||
#
|
||||
set pgp_clearsign_command="gpg2 %?p?--pinentry-mode loopback --passphrase-fd 0? --no-verbose --batch --quiet --output - --armor --textmode %?a?--local-user %a? --clearsign %f"
|
||||
|
||||
# Create an encrypted attachment (note that some users include the --always-trust option here)
|
||||
#
|
||||
set pgp_encrypt_only_command="/usr/lib/neomutt/pgpewrap gpg2 --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust -- -r %r -- %f"
|
||||
|
||||
# Create an encrypted and signed attachment (note that some users include the --always-trust option here)
|
||||
#
|
||||
set pgp_encrypt_sign_command="/usr/lib/neomutt/pgpewrap gpg2 %?p?--pinentry-mode loopback --passphrase-fd 0? --batch --quiet --no-verbose --textmode --output - %?a?--local-user %a? --armor --sign --encrypt -- --recipient %r -- %f"
|
||||
|
||||
# Import a key into the public key ring
|
||||
#
|
||||
set pgp_import_command="gpg2 --no-verbose --import %f"
|
||||
|
||||
# Export a key from the public key ring
|
||||
#
|
||||
set pgp_export_command="gpg2 --no-verbose --armor --export %r"
|
||||
|
||||
# Verify a key
|
||||
#
|
||||
set pgp_verify_key_command="gpg2 --verbose --batch --fingerprint --check-sigs %r"
|
||||
|
||||
# Read in the public key ring
|
||||
#
|
||||
set pgp_list_pubring_command="gpg2 --no-verbose --batch --quiet --with-colons --with-fingerprint --with-fingerprint --list-keys %r"
|
||||
|
||||
# Read in the secret key ring
|
||||
#
|
||||
set pgp_list_secring_command="gpg2 --no-verbose --batch --quiet --with-colons --with-fingerprint --with-fingerprint --list-secret-keys %r"
|
||||
|
||||
# Fetch keys
|
||||
# set pgp_getkeys_command="pkspxycwrap %r"
|
||||
|
||||
# pattern for good signature - may need to be adapted to locale!
|
||||
# OK, here's a version which uses gnupg's message catalog:
|
||||
# set pgp_good_sign="^gpgv?: Good signature from"
|
||||
# set pgp_good_sign="`gettext -d gnupg -s 'Good signature from "' | tr -d '"'`"
|
||||
#
|
||||
# Output pattern to indicate a valid signature using --status-fd messages
|
||||
set pgp_good_sign="^\\[GNUPG:\\] GOODSIG"
|
||||
|
||||
# Output pattern to verify a decryption occurred
|
||||
set pgp_decryption_okay="^\\[GNUPG:\\] DECRYPTION_OKAY"
|
|
@ -1,4 +0,0 @@
|
|||
set newsrc = '~/.config/neomutt/newsrc'
|
||||
set news_cache_dir = '~/.cache/news'
|
||||
set news_server = 'news.tilde.club'
|
||||
set nntp_user = 'dgy@fuckup.club'
|
91
.zshenv
91
.zshenv
|
@ -1,91 +0,0 @@
|
|||
# Programas y Opciones del Sistema {{{
|
||||
export EDITOR="nvim"
|
||||
export EXINIT="set ai ic nu sm smd sw=4 ts=4 ruler para=BlBdPpIt sect=ShSs | map gg 1G"
|
||||
export VISUAL="$EDITOR"
|
||||
export GIT_EDITOR="$EDITOR"
|
||||
export TERMINAL="alacritty"
|
||||
export COLORTERM="truecolor"
|
||||
export BROWSER="firefox"
|
||||
export OPENER="xdg-open"
|
||||
export PAGER="less"
|
||||
export FILE="lf"
|
||||
export GREP_COLOR="0;32"
|
||||
export TIME_STYLE="long-iso"
|
||||
export BLOCK_SIZE="'1"
|
||||
export QUOTING_STYLE=literal
|
||||
|
||||
export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority"
|
||||
export XDG_DATA_HOME="$HOME/.local/share"
|
||||
export XDG_CONFIG_HOME="$HOME/.config"
|
||||
export XDG_CACHE_HOME="$HOME/.cache"
|
||||
export XINITRC="${XDG_CONFIG_HOME:-$HOME/.config}/X11/xinitrc"
|
||||
export ZDOTDIR="${XDG_CONFIG_HOME:-$HOME/.config}/zsh"
|
||||
|
||||
export GPG_TTY=$(tty)
|
||||
export GNUPGHOME="${XDG_DATA_HOME:-$HOME/.local/share}/gnupg"
|
||||
export SSH_ASKPASS="/bin/gnome-ssh-askpass"
|
||||
export PASSWORD_STORE_DIR="${XDG_DATA_HOME:-$HOME/.local/share}/pass"
|
||||
eval $(keychain --dir ~/.local/share/keychain --quiet --eval --noask --clear --agents ssh,gpg id_ed25519)
|
||||
|
||||
export NOTMUCH_CONFIG="${XDG_CONFIG_HOME:-$HOME/.config}/notmuch-config"
|
||||
export WGETRC="${XDG_CONFIG_HOME:-$HOME/.config}/wget/wgetrc"
|
||||
export NPM_CONFIG_USERCONFIG="${XDG_CONFIG_HOME:-$HOME/.config}/npm/npmrc"
|
||||
export NODE_REPL_HISTORY="${XDG_DATA_HOME:-$HOME/.local/share}/node_repl_history"
|
||||
export RANDFILE="${XDG_DATA_HOME:-$HOME/.local/share}/rnd"
|
||||
export GOPATH="${XDG_DATA_HOME:-$HOME/.local/share}/go"
|
||||
export HIGHLIGHT_OPTIONS='--out-format="ansi" --style="pablo"'
|
||||
export GTK2_RC_FILES="${XDG_CONFIG_HOME:-$HOME/.config}/gtk-2.0/gtkrc-2.0"
|
||||
export LYNX_LSS="${XDG_CONFIG_HOME:-$HOME/.config}/lynx.lss"
|
||||
export ELINKS_CONFDIR="${XDG_CONFIG_HOME:-$HOME/.config}/elinks"
|
||||
export NNTPSERVER="news.tilde.club:119"
|
||||
|
||||
export QT_QPA_PLATFORMTHEME="gtk3"
|
||||
export GTK_IM_MODULE="fcitx"
|
||||
export QT_IM_MODULE="fcitx"
|
||||
export SDL_IM_MODULE="fcitx"
|
||||
export XMODIFIERS="@im=fctix"
|
||||
|
||||
_JAVA_OPTIONS="-Djava.util.prefs.userRoot=${XDG_DATA_HOME:-$HOME/.local/share}/java "
|
||||
_JAVA_OPTIONS+="-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true "
|
||||
_JAVA_OPTIONS+="-Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel"
|
||||
_JAVA_OPTIONS+='-Dswing.crossplatformlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel -Djdk.gtk.version=3'
|
||||
export _JAVA_OPTIONS
|
||||
|
||||
eval "$(sed 's/^[^#].*/export &/g;t;d' ${DIR:-$XDG_CONFIG_HOME}/user-dirs.dirs)"
|
||||
# }}}
|
||||
# FZF {{{
|
||||
export FZF_DEFAULT_OPTS="--cycle \
|
||||
--color=bg:-1,bg+:-1,spinner:#fb4934,hl:#928374,fg:#ebdbb2,header:#928374,info:#8ec07c,pointer:#fb4934,marker:#fb4934,fg+:#ebdbb2,prompt:#fb4934,hl+:#fb4934,border:#080808 \
|
||||
--reverse \
|
||||
--info=inline \
|
||||
--no-bold \
|
||||
--ansi \
|
||||
--pointer='→' \
|
||||
--marker='∙' \
|
||||
--preview-window :wrap:sharp"
|
||||
|
||||
export FZF_DEFAULT_COMMAND="fd -t f -c always -H"
|
||||
export FZF_COMPLETION_OPTS='+c -x'
|
||||
export FZF_CTRL_T_OPTS="--select-1 --exit-0 --preview 'bat --color=always {}'"
|
||||
export FZF_CTRL_R_OPTS="--preview 'echo {}' --preview-window down:3:hidden:wrap --bind '?:toggle-preview'"
|
||||
export FZF_VIM_LOG=$(git config --get alias.l | awk '{$1=""; print $0;}' | tr -d '\r')
|
||||
# }}}
|
||||
# Less {{{
|
||||
export LESSCHARSET=UTF-8
|
||||
export LESS=FRXix4
|
||||
export LESS_TERMCAP_mb="$(printf '%b' '[0;34m')"
|
||||
export LESS_TERMCAP_md="$(printf '%b' '[0;32m')"
|
||||
export LESS_TERMCAP_me="$(printf '%b' '[0m')"
|
||||
export LESS_TERMCAP_so="$(printf '%b' '[0;33m')"
|
||||
export LESS_TERMCAP_se="$(printf '%b' '[0m')"
|
||||
export LESS_TERMCAP_us="$(printf '%b' '[14;32m')"
|
||||
export LESS_TERMCAP_ue="$(printf '%b' '[0m')"
|
||||
export LESSOPEN="| /usr/bin/highlight -O ansi %s 2>/dev/null"
|
||||
export LESSPROMPT='?f%f .?ltLine %lt:?pt%pt\%:?btByte %bt:-...'
|
||||
export LESSHISTFILE="-"
|
||||
# }}}
|
||||
# Path {{{
|
||||
typeset -U PATH path
|
||||
path=(~/.local/bin ~/.local/share/npm/bin $GOPATH/bin $path[@])
|
||||
# }}}
|
||||
# vim:foldmethod=marker:foldlevel=0
|
|
@ -0,0 +1,13 @@
|
|||
pcm.!default {
|
||||
type plug
|
||||
slave { pcm "pulse" }
|
||||
}
|
||||
|
||||
pcm.pulse {
|
||||
type pulse
|
||||
}
|
||||
|
||||
ctl.mixer0 {
|
||||
type hw
|
||||
card 0
|
||||
}
|
|
@ -13,9 +13,9 @@ tmux : /home/corpse/.config/tmux/tmux.conf
|
|||
mpv : /home/corpse/.config/mpv/mpv.conf
|
||||
xinit : /home/corpse/.config/X11/xinitrc
|
||||
zshenv : /home/corpse/.zshenv
|
||||
lf : /home/corpse/.config/lf/lfrc
|
||||
bspwm : /home/corpse/.config/bspwm/bspwmrc
|
||||
nvim : /home/corpse/.config/nvim
|
||||
terminal : /home/corpse/.config/alacritty.yml
|
||||
zsh : /home/corpse/.config/zsh
|
||||
lf : /home/corpse/.config/lf/lfrc
|
||||
alias : /home/corpse/.config/zsh/conf/03_aliases.zsh
|
|
@ -0,0 +1,12 @@
|
|||
[Filechooser Settings]
|
||||
StartupMode=cwd
|
||||
LocationMode=path-bar
|
||||
ShowHidden=false
|
||||
ExpandFolders=false
|
||||
ShowSizeColumn=true
|
||||
GeometryX=137
|
||||
GeometryY=70
|
||||
GeometryWidth=1058
|
||||
GeometryHeight=698
|
||||
SortColumn=modified
|
||||
SortOrder=descending
|
|
@ -0,0 +1,8 @@
|
|||
file:///home/corpse/.local/bin Bin
|
||||
file:///home/corpse/.local/share Shared
|
||||
file:///home/corpse/doc Documents
|
||||
file:///home/corpse/.config Config
|
||||
file:///home/corpse/img Pictures
|
||||
file:///home/corpse/mus Music
|
||||
file:///home/corpse/etc Downloads
|
||||
file:///home/corpse/vid Videos
|
|
@ -1,6 +1,6 @@
|
|||
# Basic Settings
|
||||
set shell zsh
|
||||
set shellopts '-euy:--shwordsplit'
|
||||
set shellopts '-euy'
|
||||
set ifs "\n"
|
||||
set errorfmt "\033[1;31m%s\033[0m"
|
||||
set promptfmt "\033[34;1m%d\033[0m\033[1m%f\033[0m"
|
||||
|
@ -15,6 +15,7 @@ set hidden
|
|||
set preview
|
||||
set previewer lfview
|
||||
set ratios 2:4
|
||||
set icons
|
||||
|
||||
%[ $LF_LEVEL -eq 1 ] || echo "Warning: You're in a nested lf instance!"
|
||||
|
||||
|
@ -117,16 +118,23 @@ cmd paste-rsync &{{
|
|||
}}
|
||||
|
||||
cmd paste-overwrite %{{
|
||||
load=$(lf -remote 'load')
|
||||
mode=$(echo "$load" | sed -n '1p')
|
||||
list=$(echo "$load" | sed '1d')
|
||||
if [ $mode = 'copy' ]; then
|
||||
cp -r $list .
|
||||
elif [ $mode = 'move' ]; then
|
||||
mv $list .
|
||||
fi
|
||||
lf -remote 'send load'
|
||||
lf -remote 'send clear'
|
||||
set -f
|
||||
load=$(lf -remote "load")
|
||||
mode=$(echo "$load" | head -1)
|
||||
list=$(echo "$load" | sed '1d')
|
||||
set -- _ $list; shift
|
||||
[ $# -gt 0 ] || exit
|
||||
case $mode in
|
||||
copy)
|
||||
rsync -r "$@" ./
|
||||
;;
|
||||
move)
|
||||
rsync -r --remove-source-files "$@" ./
|
||||
;;
|
||||
esac
|
||||
lf -remote 'save\nmove\n'
|
||||
lf -remote "send $id load"
|
||||
lf -remote "send $id echo \"\033[0;32mpasted $# file(s)\033[0m\""
|
||||
}}
|
||||
|
||||
cmd fzf_jump ${{
|
||||
|
@ -160,6 +168,13 @@ cmd Link %{{
|
|||
fi
|
||||
}}
|
||||
|
||||
cmd git_branch ${{
|
||||
git branch | fzf | xargs git checkout
|
||||
pwd_shell=$(pwd)
|
||||
lf -remote "send $id updir"
|
||||
lf -remote "send $id cd \"$pwd_shell\""
|
||||
}}
|
||||
|
||||
# toggle single column view
|
||||
cmd no_preview :{{
|
||||
set nopreview
|
||||
|
@ -270,6 +285,12 @@ map f fzf_jump
|
|||
map / $lf -remote "send $id select \"$(FZF_DEFAULT_COMMAND='fd --max-depth=1' fzf)\""
|
||||
map F $find | lf -remote "send $id select $(fzf --reverse --border --margin 2% --inline-info --color border:#005688,bg+:#16252E,fg+:#26c6da,hl+:#ffffff,hl:#26c6da)"
|
||||
|
||||
map Gb :git_branch
|
||||
map Gp ${{clear; git pull --rebase || true; echo "press ENTER"; read ENTER}}
|
||||
map Gs ${{clear; git status; echo "press ENTER"; read ENTER}}
|
||||
map Gl ${{clear; git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit}}
|
||||
map da $git add $fx
|
||||
|
||||
# Movement
|
||||
map gR cd /
|
||||
map gE cd /etc
|
|
@ -0,0 +1,177 @@
|
|||
# mpv keybindings
|
||||
# If this is enabled, treat all the following bindings as default.
|
||||
#default-bindings start
|
||||
|
||||
#MOUSE_BTN0 ignore # don't do anything
|
||||
#MOUSE_BTN0_DBL cycle fullscreen # toggle fullscreen on/off
|
||||
#MOUSE_BTN2 cycle pause # toggle pause on/off
|
||||
#MOUSE_BTN3 seek 10
|
||||
#MOUSE_BTN4 seek -10
|
||||
#MOUSE_BTN5 add volume -2
|
||||
#MOUSE_BTN6 add volume 2
|
||||
|
||||
# Mouse wheels, touchpad or other input devices that have axes
|
||||
# if the input devices supports precise scrolling it will also scale the
|
||||
# numeric value accordingly
|
||||
#AXIS_UP seek 10
|
||||
#AXIS_DOWN seek -10
|
||||
#AXIS_LEFT seek 5
|
||||
#AXIS_RIGHT seek -5
|
||||
|
||||
## Seek units are in seconds, but note that these are limited by keyframes
|
||||
#RIGHT seek 5
|
||||
#LEFT seek -5
|
||||
#UP seek 60
|
||||
#DOWN seek -60
|
||||
# Do smaller, always exact (non-keyframe-limited), seeks with shift.
|
||||
# Don't show them on the OSD (no-osd).
|
||||
#Shift+RIGHT no-osd seek 1 exact
|
||||
#Shift+LEFT no-osd seek -1 exact
|
||||
#Shift+UP no-osd seek 5 exact
|
||||
#Shift+DOWN no-osd seek -5 exact
|
||||
# Skip to previous/next subtitle (subject to some restrictions; see manpage)
|
||||
#Ctrl+LEFT no-osd sub-seek -1
|
||||
#Ctrl+RIGHT no-osd sub-seek 1
|
||||
#PGUP add chapter 1 # skip to next chapter
|
||||
#PGDWN add chapter -1 # skip to previous chapter
|
||||
#Shift+PGUP seek 600
|
||||
#Shift+PGDWN seek -600
|
||||
#[ multiply speed 0.9091 # scale playback speed
|
||||
#] multiply speed 1.1
|
||||
#{ multiply speed 0.5
|
||||
#} multiply speed 2.0
|
||||
#BS set speed 1.0 # reset speed to normal
|
||||
#q quit
|
||||
#Q quit-watch-later
|
||||
#q {encode} quit 4
|
||||
#ESC set fullscreen no
|
||||
#ESC {encode} quit 4
|
||||
#p cycle pause # toggle pause/playback mode
|
||||
#. frame-step # advance one frame and pause
|
||||
#, frame-back-step # go back by one frame and pause
|
||||
#SPACE cycle pause
|
||||
#> playlist-next # skip to next file
|
||||
#ENTER playlist-next # skip to next file
|
||||
#< playlist-prev # skip to previous file
|
||||
#O no-osd cycle-values osd-level 3 1 # cycle through OSD mode
|
||||
#o show-progress
|
||||
#P show-progress
|
||||
#I show-text "${filename}" # display filename in osd
|
||||
#z add sub-delay -0.1 # subtract 100 ms delay from subs
|
||||
#x add sub-delay +0.1 # add
|
||||
#ctrl++ add audio-delay 0.100 # this changes audio/video sync
|
||||
#ctrl+- add audio-delay -0.100
|
||||
#9 add volume -2
|
||||
#/ add volume -2
|
||||
#0 add volume 2
|
||||
#* add volume 2
|
||||
#m cycle mute
|
||||
#1 add contrast -1
|
||||
#2 add contrast 1
|
||||
#3 add brightness -1
|
||||
#4 add brightness 1
|
||||
#5 add gamma -1
|
||||
#6 add gamma 1
|
||||
#7 add saturation -1
|
||||
#8 add saturation 1
|
||||
#Alt+0 set window-scale 0.5
|
||||
#Alt+1 set window-scale 1.0
|
||||
#Alt+2 set window-scale 2.0
|
||||
# toggle deinterlacer (automatically inserts or removes required filter)
|
||||
#d cycle deinterlace
|
||||
#r add sub-pos -1 # move subtitles up
|
||||
#t add sub-pos +1 # down
|
||||
#v cycle sub-visibility
|
||||
# stretch SSA/ASS subtitles with anamorphic videos to match historical
|
||||
#V cycle sub-ass-vsfilter-aspect-compat
|
||||
# switch between applying no style overrides to SSA/ASS subtitles, and
|
||||
# overriding them almost completely with the normal subtitle style
|
||||
#u cycle-values sub-ass-style-override "force" "no"
|
||||
#j cycle sub # cycle through subtitles
|
||||
#J cycle sub down # ...backwards
|
||||
#SHARP cycle audio # switch audio streams
|
||||
#_ cycle video
|
||||
#T cycle ontop # toggle video window ontop of other windows
|
||||
#f cycle fullscreen # toggle fullscreen
|
||||
#s screenshot # take a screenshot
|
||||
#S screenshot video # ...without subtitles
|
||||
#Ctrl+s screenshot window # ...with subtitles and OSD, and scaled
|
||||
#Alt+s screenshot each-frame # automatically screenshot every frame
|
||||
#w add panscan -0.1 # zoom out with -panscan 0 -fs
|
||||
#e add panscan +0.1 # in
|
||||
# cycle video aspect ratios; "-1" is the container aspect
|
||||
#A cycle-values video-aspect "16:9" "4:3" "2.35:1" "-1"
|
||||
#POWER quit
|
||||
#PLAY cycle pause
|
||||
#PAUSE cycle pause
|
||||
#PLAYPAUSE cycle pause
|
||||
#STOP quit
|
||||
#FORWARD seek 60
|
||||
#REWIND seek -60
|
||||
#NEXT playlist-next
|
||||
#PREV playlist-prev
|
||||
#VOLUME_UP add volume 2
|
||||
#VOLUME_DOWN add volume -2
|
||||
#MUTE cycle mute
|
||||
#CLOSE_WIN quit
|
||||
#CLOSE_WIN {encode} quit 4
|
||||
#E cycle edition # next edition
|
||||
#l ab-loop # Set/clear A-B loop points
|
||||
#L cycle-values loop "inf" "no" # toggle infinite looping
|
||||
#ctrl+c quit 4
|
||||
|
||||
# Apple Remote section
|
||||
#AR_PLAY cycle pause
|
||||
#AR_PLAY_HOLD quit
|
||||
#AR_CENTER cycle pause
|
||||
#AR_CENTER_HOLD quit
|
||||
#AR_NEXT seek 10
|
||||
#AR_NEXT_HOLD seek 120
|
||||
#AR_PREV seek -10
|
||||
#AR_PREV_HOLD seek -120
|
||||
#AR_MENU show-progress
|
||||
#AR_MENU_HOLD cycle mute
|
||||
#AR_VUP add volume 2
|
||||
#AR_VUP_HOLD add chapter 1
|
||||
#AR_VDOWN add volume -2
|
||||
#AR_VDOWN_HOLD add chapter -1
|
||||
|
||||
# For tv://
|
||||
#h cycle tv-channel -1 # previous channel
|
||||
#k cycle tv-channel +1 # next channel
|
||||
|
||||
# For dvb://
|
||||
#H cycle dvb-channel-name -1 # previous channel
|
||||
#K cycle dvb-channel-name +1 # next channel
|
||||
|
||||
#
|
||||
# Legacy bindings (may or may not be removed in the future)
|
||||
#
|
||||
#! add chapter -1 # skip to previous chapter
|
||||
#@ add chapter 1 # next
|
||||
|
||||
#
|
||||
# Not assigned by default
|
||||
# (not an exhaustive list of unbound commands)
|
||||
#
|
||||
|
||||
# ? add sub-scale +0.1 # increase subtitle font size
|
||||
# ? add sub-scale -0.1 # decrease subtitle font size
|
||||
# ? sub-step -1 # immediately display next subtitle
|
||||
# ? sub-step +1 # previous
|
||||
# ? cycle angle # switch DVD/Bluray angle
|
||||
# ? add balance -0.1 # adjust audio balance in favor of left
|
||||
# ? add balance 0.1 # right
|
||||
# ? cycle sub-forced-only # toggle DVD forced subs
|
||||
# ? cycle program # cycle transport stream programs
|
||||
# ? stop # stop playback (quit or enter idle mode)
|
||||
|
||||
l seek 5
|
||||
h seek -5
|
||||
j seek -60
|
||||
k seek 60
|
||||
# increase subtitle font size
|
||||
ALT+k add sub-scale +0.1
|
||||
|
||||
# decrease subtitle font size
|
||||
ALT+j add sub-scale -0.1
|
|
@ -0,0 +1,12 @@
|
|||
# only one of blacklist, whitelist should be defined at a time
|
||||
|
||||
# only allow video and image formats
|
||||
whitelist=mkv,webm,png,jpg,mp4,avi,jpeg,mp3,flac
|
||||
|
||||
# alternatively, blacklist formats commonly found near videos
|
||||
#blacklist=srt,ass,mks,mka,html
|
||||
|
||||
remove_files_without_extension=yes
|
||||
|
||||
# if the script should be applied only at the beginning, or anytime the playlist changes
|
||||
oneshot=yes
|
|
@ -0,0 +1 @@
|
|||
hidetimeout=3500
|
|
@ -0,0 +1,116 @@
|
|||
#### ------- Mpv-Playlistmanager configuration ------- ####
|
||||
|
||||
#### ------- FUNCTIONAL ------- ####
|
||||
|
||||
#navigation keybindings force override only while playlist is visible
|
||||
#if "no" then you can display the playlist by any of the navigation keys
|
||||
dynamic_binds=yes
|
||||
|
||||
#dynamic keybind keys, they should not be re-bound in input.conf
|
||||
#to bind multiple keys separate them by a space
|
||||
key_moveup=UP
|
||||
key_movedown=DOWN
|
||||
key_selectfile=RIGHT LEFT
|
||||
key_unselectfile=
|
||||
key_playfile=ENTER
|
||||
key_removefile=BS
|
||||
key_closeplaylist=ESC
|
||||
|
||||
#json format for replacing, check .lua for explanation
|
||||
#example json=[{"ext":{"all":true},"rules":[{"_":" "}]},{"ext":{"mp4":true,"mkv":true},"rules":[{"^(.+)%..+$":"%1"},{"%s*[%[%(].-[%]%)]%s*":""},{"(%w)%.(%w)":"%1 %2"}]},{"protocol":{"http":true,"https":true},"rules":[{"^%a+://w*%.?":""}]}]
|
||||
#empty for no replace
|
||||
filename_replace=
|
||||
|
||||
#filetypes to search from directory
|
||||
loadfiles_filetypes=["jpg","jpeg","png","tif","tiff","gif","webp","svg","bmp","mp3","wav","ogm","flac","m4a","wma","ogg","opus","mkv","avi","mp4","ogv","webm","rmvb","flv","wmv","mpeg","mpg","m4v","3gp"]
|
||||
|
||||
#loadfiles at startup if there is 0 or 1 items in playlist, if 0 uses worḱing dir for files
|
||||
#requires --idle=yes or --idle=once if 0 files in playlist
|
||||
loadfiles_on_start=no
|
||||
|
||||
#sort playlist on mpv start
|
||||
sortplaylist_on_start=no
|
||||
|
||||
#sort playlist when any files are added to playlist after initial load
|
||||
sortplaylist_on_file_add=no
|
||||
|
||||
#yes: use alphanumerical sort comparison(nonpadded numbers in order), no: use normal lua string comparison
|
||||
alphanumsort=yes
|
||||
|
||||
#linux | windows | auto
|
||||
system=auto
|
||||
|
||||
#Use ~ for home directory. Leave as empty to use mpv/playlists
|
||||
playlist_savepath=
|
||||
|
||||
#2 shows playlist, 1 shows current file(filename strip applied), 0 shows nothing
|
||||
show_playlist_on_fileload=0
|
||||
|
||||
#sync cursor when file is loaded from outside reasons(file-ending, playlist-next shortcut etc.)
|
||||
sync_cursor_on_load=yes
|
||||
|
||||
#playlist open key will toggle visibility instead of refresh
|
||||
open_toggles=yes
|
||||
|
||||
#allow the playlist cursor to loop from end to start and vice versa
|
||||
loop_cursor=yes
|
||||
|
||||
#### ------- VISUAL ------- ####
|
||||
|
||||
#prefer to display titles for following files: "all", "url", "none". Sorting still uses filename
|
||||
prefer_titles=url
|
||||
|
||||
#call youtube-dl to resolve the titles of urls in the playlist
|
||||
resolve_titles=no
|
||||
|
||||
#playlist timeout on inactivity, with high value on this open_toggles is good to be yes
|
||||
playlist_display_timeout=5
|
||||
|
||||
#amount of entries to show before slicing. Optimal value depends on font/video size etc.
|
||||
showamount=16
|
||||
|
||||
#font size scales by window, if no then needs larger font and padding sizes
|
||||
scale_playlist_by_window=yes
|
||||
#playlist ass style overrides
|
||||
#example {\fnUbuntu\fs10\b0\bord1} equals: font=Ubuntu, size=10, bold=no, border=1
|
||||
#read http://docs.aegisub.org/3.2/ASS_Tags/ for reference of tags
|
||||
#no values defaults to OSD settings in mpv.conf
|
||||
style_ass_tags=
|
||||
#paddings for top left corner
|
||||
text_padding_x=10
|
||||
text_padding_y=30
|
||||
|
||||
#set title of window with stripped name
|
||||
set_title_stripped=no
|
||||
title_prefix=
|
||||
title_suffix= - mpv
|
||||
|
||||
#slice long filenames, and how many chars to show
|
||||
slice_longfilenames=no
|
||||
slice_longfilenames_amount=70
|
||||
|
||||
#Playing header. One newline will be added after the string.
|
||||
#%mediatitle or %filename = title or name of playing file
|
||||
#%pos = position of playing file
|
||||
#%cursor = position of navigation
|
||||
#%plen = playlist lenght
|
||||
#%N = newline
|
||||
playlist_header=[%cursor/%plen]
|
||||
|
||||
#Playlist file templates
|
||||
#%pos = position of file with leading zeros
|
||||
#%name = title or name of file
|
||||
#%N = newline
|
||||
#you can also use the ass tags mentioned above. For example:
|
||||
# selected_file={\c&HFF00FF&}➔ %name | to add a color for selected file. However, if you
|
||||
# use ass tags you need to reset them for every line (see https://github.com/jonniek/mpv-playlistmanager/issues/20)
|
||||
normal_file=○ %name
|
||||
hovered_file=● %name
|
||||
selected_file=➔ %name
|
||||
playing_file=▷ %name
|
||||
playing_hovered_file=▶ %name
|
||||
playing_selected_file=➤ %name
|
||||
|
||||
#what to show when playlist is truncated
|
||||
playlist_sliced_prefix=...
|
||||
playlist_sliced_suffix=...
|
|
@ -15,30 +15,30 @@ set strict_threads
|
|||
set smtp_authenticators = 'gssapi:login'
|
||||
set attribution = "En %{!%F a las %R}, %n escribió:"
|
||||
set date_format = "%F %R"
|
||||
set quote_regex = "^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+"
|
||||
set reply_regex = "^(([Rr][Ee]?(\[[0-9]+\])?: *)?(\[[^]]+\] *)?)*"
|
||||
set quote_regex = "^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+"
|
||||
set reply_regex = "^(([Rr][Ee]?(\[[0-9]+\])?: *)?(\[[^]]+\] *)?)*"
|
||||
set send_charset = "utf-8"
|
||||
set forward_format = "Fwd: %s" # Format of subject when forwarding
|
||||
set timeout = 2
|
||||
set sleep_time = 0 # Pause 0 seconds for informational messages
|
||||
set mail_check = 60 # To avoid lags using IMAP
|
||||
set use_envelope_from = yes
|
||||
set edit_headers = yes
|
||||
set timeout = 2
|
||||
set sleep_time = 0 # Pause 0 seconds for informational messages
|
||||
set mail_check = 60 # To avoid lags using IMAP
|
||||
set use_envelope_from = yes
|
||||
set edit_headers = yes
|
||||
set rfc2047_parameters = yes
|
||||
set mime_forward = yes # Attachments are forwarded with mail
|
||||
set auto_tag = yes # Automatically apply actions to all tagged messages
|
||||
set delete = yes # Don't ask, do.
|
||||
set edit_headers = yes # Allow editing fields
|
||||
set sidebar_visible = no # Not needed
|
||||
set markers = no # Disables the `+` displayed at line wraps
|
||||
set mark_old = no # Unread mail stay unread until read
|
||||
set wait_key = no # mutt won't ask "press key to continue"
|
||||
set recall = no # that's what R keybind is for
|
||||
set fast_reply # skip to compose when replying
|
||||
set fcc_attach # save attachments with the body
|
||||
set forward_quote # include message in forwards
|
||||
set reverse_name # reply as whomever it was to
|
||||
set menu_scroll # scroll in menus
|
||||
set mime_forward = yes # Attachments are forwarded with mail
|
||||
set auto_tag = yes # Automatically apply actions to all tagged messages
|
||||
set delete = yes # Don't ask, do.
|
||||
set edit_headers = yes # Allow editing fields
|
||||
set sidebar_visible = no # Not needed
|
||||
set markers = no # Disables the `+` displayed at line wraps
|
||||
set mark_old = no # Unread mail stay unread until read
|
||||
set wait_key = no # mutt won't ask "press key to continue"
|
||||
set recall = no # that's what R keybind is for
|
||||
set fast_reply # skip to compose when replying
|
||||
set fcc_attach # save attachments with the body
|
||||
set forward_quote # include message in forwards
|
||||
set reverse_name # reply as whomever it was to
|
||||
set menu_scroll # scroll in menus
|
||||
set arrow_cursor
|
||||
set pipe_decode
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue