My neomutt config files are huge and even their path is cusmotized with $VIMINIT
.
I'm just sharing parts about auto_view and HTML mailcap, please update your config accordingly.
#!/usr/bin/env bash | |
# @author : Anthony Bourdain | |
# @credit : https://stackoverflow.com/a/55073732/2940319 | |
# @usage : | |
# - `rgbtohex 17 0 26` ==> 1001A | |
# - `rgbtohex -h 17 0 26` ==> #1001A | |
function rgbtohex () { | |
addleadingzero () { awk '{if(length($0)<2){printf "0";} print $0;}';} | |
if [[ ${1} == "-h" ]]; then |
-- this script periodically deactivates xscreensaver | |
-- when video playback is active | |
local function heartbeat() | |
if mp.get_property_native("pause") or | |
mp.get_property_native("idle") or | |
not mp.get_property_native("vo-configured") then | |
return | |
end |
#! perl | |
=head1 NAME | |
52-osc - Implement OSC 52 ; Interact with X11 clipboard | |
=head1 SYNOPSIS | |
urxvt -pe 52-osc |
#!/bin/sh | |
DEFER= | |
defer() { | |
DEFER="$*; ${DEFER}" | |
trap "{ $DEFER }" EXIT | |
} |
--[[ | |
mpv 5-bands equalizer with visual feedback. | |
Copyright 2016 Avi Halachmi ( https://github.com/avih ) | |
License: public domain | |
Default config: | |
- Enter/exit equilizer keys mode: ctrl+e | |
- Equalizer keys: 2/w control bass ... 6/y control treble, and middles in between | |
- Toggle equalizer without changing its values: ctrl+E (ctrl+shift+e) |
docker run \ | |
--name {{printf "%q" .Name}} \ | |
{{- with .HostConfig}} | |
{{- if .Privileged}} | |
--privileged \ | |
{{- end}} | |
{{- if .AutoRemove}} | |
--rm \ | |
{{- end}} | |
{{- if .Runtime}} |