Initial commit
This commit is contained in:
commit
fd899bbb1f
|
@ -0,0 +1,7 @@
|
|||
# ~/.bash_logout: executed by bash(1) when login shell exits.
|
||||
|
||||
# when leaving the console clear the screen to increase privacy
|
||||
|
||||
if [ "$SHLVL" = 1 ]; then
|
||||
[ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q
|
||||
fi
|
|
@ -0,0 +1,126 @@
|
|||
# ~/.bashrc: executed by bash(1) for non-login shells.
|
||||
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
|
||||
# for examples
|
||||
|
||||
# If not running interactively, don't do anything
|
||||
case $- in
|
||||
*i*) ;;
|
||||
*) return;;
|
||||
esac
|
||||
|
||||
# don't put duplicate lines or lines starting with space in the history.
|
||||
# See bash(1) for more options
|
||||
HISTCONTROL=ignoreboth
|
||||
|
||||
# append to the history file, don't overwrite it
|
||||
shopt -s histappend
|
||||
|
||||
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
|
||||
HISTSIZE=1000
|
||||
HISTFILESIZE=2000
|
||||
|
||||
# check the window size after each command and, if necessary,
|
||||
# update the values of LINES and COLUMNS.
|
||||
shopt -s checkwinsize
|
||||
|
||||
# If set, the pattern "**" used in a pathname expansion context will
|
||||
# match all files and zero or more directories and subdirectories.
|
||||
#shopt -s globstar
|
||||
|
||||
# make less more friendly for non-text input files, see lesspipe(1)
|
||||
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
|
||||
|
||||
# set variable identifying the chroot you work in (used in the prompt below)
|
||||
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
|
||||
debian_chroot=$(cat /etc/debian_chroot)
|
||||
fi
|
||||
|
||||
# set a fancy prompt (non-color, unless we know we "want" color)
|
||||
case "$TERM" in
|
||||
xterm-color|*-256color) color_prompt=yes;;
|
||||
esac
|
||||
|
||||
# uncomment for a colored prompt, if the terminal has the capability; turned
|
||||
# off by default to not distract the user: the focus in a terminal window
|
||||
# should be on the output of commands, not on the prompt
|
||||
#force_color_prompt=yes
|
||||
|
||||
if [ -n "$force_color_prompt" ]; then
|
||||
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
|
||||
# We have color support; assume it's compliant with Ecma-48
|
||||
# (ISO/IEC-6429). (Lack of such support is extremely rare, and such
|
||||
# a case would tend to support setf rather than setaf.)
|
||||
color_prompt=yes
|
||||
else
|
||||
color_prompt=
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "$color_prompt" = yes ]; then
|
||||
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
|
||||
else
|
||||
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
|
||||
fi
|
||||
unset color_prompt force_color_prompt
|
||||
|
||||
# If this is an xterm set the title to user@host:dir
|
||||
case "$TERM" in
|
||||
xterm*|rxvt*)
|
||||
PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
||||
# enable color support of ls and also add handy aliases
|
||||
if [ -x /usr/bin/dircolors ]; then
|
||||
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
|
||||
alias ls='ls --color=auto'
|
||||
#alias dir='dir --color=auto'
|
||||
#alias vdir='vdir --color=auto'
|
||||
|
||||
alias grep='grep --color=auto'
|
||||
alias fgrep='fgrep --color=auto'
|
||||
alias egrep='egrep --color=auto'
|
||||
fi
|
||||
|
||||
# colored GCC warnings and errors
|
||||
#export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
|
||||
|
||||
# some more ls aliases
|
||||
alias ll='ls -alF'
|
||||
alias la='ls -A'
|
||||
alias l='ls -CF'
|
||||
|
||||
# Add an "alert" alias for long running commands. Use like so:
|
||||
# sleep 10; alert
|
||||
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
|
||||
|
||||
# Alias definitions.
|
||||
# You may want to put all your additions into a separate file like
|
||||
# ~/.bash_aliases, instead of adding them here directly.
|
||||
# See /usr/share/doc/bash-doc/examples in the bash-doc package.
|
||||
|
||||
if [ -f ~/.bash_aliases ]; then
|
||||
. ~/.bash_aliases
|
||||
fi
|
||||
|
||||
# enable programmable completion features (you don't need to enable
|
||||
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
|
||||
# sources /etc/bash.bashrc).
|
||||
if ! shopt -oq posix; then
|
||||
if [ -f /usr/share/bash-completion/bash_completion ]; then
|
||||
. /usr/share/bash-completion/bash_completion
|
||||
elif [ -f /etc/bash_completion ]; then
|
||||
. /etc/bash_completion
|
||||
fi
|
||||
fi
|
||||
|
||||
# set EDITOR just in case
|
||||
export EDITOR=nano
|
||||
|
||||
# run welcome script
|
||||
if [ -f ~/.new_user ]; then
|
||||
/usr/local/bin/welcome
|
||||
fi
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
new -s tilde -n chat 'weechat-curses';
|
||||
neww -n mail 'mutt';
|
||||
neww -n shell;
|
||||
send-keys -t ":2" byobu-info Enter;
|
||||
|
|
@ -0,0 +1 @@
|
|||
BYOBU_BACKEND=tmux
|
|
@ -0,0 +1,3 @@
|
|||
BACKGROUND=k
|
||||
FOREGROUND=w
|
||||
MONOCHROME=0
|
|
@ -0,0 +1,4 @@
|
|||
BYOBU_DARK="\#333333"
|
||||
BYOBU_LIGHT="\#EEEEEE"
|
||||
BYOBU_ACCENT="\#75507B"
|
||||
BYOBU_HIGHLIGHT="\#DD4814"
|
|
@ -0,0 +1,2 @@
|
|||
BYOBU_DATE="%Y-%m-%d "
|
||||
BYOBU_TIME="%H:%M:%S"
|
|
@ -0,0 +1 @@
|
|||
source $BYOBU_PREFIX/share/byobu/keybindings/common
|
|
@ -0,0 +1,4 @@
|
|||
unbind-key -n C-a
|
||||
set -g prefix ^A
|
||||
set -g prefix2 F12
|
||||
bind a send-prefix
|
|
@ -0,0 +1 @@
|
|||
source $BYOBU_PREFIX/share/byobu/profiles/common
|
|
@ -0,0 +1 @@
|
|||
source $BYOBU_PREFIX/share/byobu/profiles/tmux
|
|
@ -0,0 +1,2 @@
|
|||
[ -r /usr/share/byobu/profiles/bashrc ] && . /usr/share/byobu/profiles/bashrc #byobu-prompt#
|
||||
|
|
@ -0,0 +1,37 @@
|
|||
# status - Byobu's default status enabled/disabled settings
|
||||
#
|
||||
# Override these in $BYOBU_CONFIG_DIR/status
|
||||
# where BYOBU_CONFIG_DIR is XDG_CONFIG_HOME if defined,
|
||||
# and $HOME/.byobu otherwise.
|
||||
#
|
||||
# Copyright (C) 2009-2011 Canonical Ltd.
|
||||
#
|
||||
# Authors: Dustin Kirkland <kirkland@byobu.org>
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, version 3 of the License.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
# Status beginning with '#' are disabled.
|
||||
|
||||
# Screen has two status lines, with 4 quadrants for status
|
||||
screen_upper_left="color"
|
||||
screen_upper_right="color whoami hostname ip_address menu"
|
||||
screen_lower_left="color logo distro release #arch session"
|
||||
screen_lower_right="color network #disk_io custom #entropy raid reboot_required updates_available #apport #services #mail users uptime #ec2_cost #rcs_cost #fan_speed #cpu_temp battery wifi_quality #processes load_average cpu_count cpu_freq memory #swap disk #time_utc date time"
|
||||
|
||||
# Tmux has one status line, with 2 halves for status
|
||||
tmux_left="logo #distro release #arch session"
|
||||
# You can have as many tmux right lines below here, and cycle through them using Shift-F5
|
||||
tmux_right="#network #disk_io #custom #entropy raid reboot_required updates_available #apport #services #mail #users uptime #ec2_cost #rcs_cost #fan_speed #cpu_temp #battery #wifi_quality #processes load_average cpu_count cpu_freq memory #swap disk #whoami #hostname #ip_address #time_utc date time"
|
||||
#tmux_right="network #disk_io #custom entropy raid reboot_required updates_available #apport #services #mail users uptime #ec2_cost #rcs_cost fan_speed cpu_temp battery wifi_quality #processes load_average cpu_count cpu_freq memory #swap #disk whoami hostname ip_address #time_utc date time"
|
||||
#tmux_right="network #disk_io custom #entropy raid reboot_required updates_available #apport #services #mail users uptime #ec2_cost #rcs_cost #fan_speed #cpu_temp battery wifi_quality #processes load_average cpu_count cpu_freq memory #swap #disk #whoami #hostname ip_address #time_utc date time"
|
||||
#tmux_right="#network disk_io #custom entropy #raid #reboot_required #updates_available #apport #services #mail #users #uptime #ec2_cost #rcs_cost fan_speed cpu_temp #battery #wifi_quality #processes #load_average #cpu_count #cpu_freq #memory #swap whoami hostname ip_address #time_utc disk date time"
|
|
@ -0,0 +1,78 @@
|
|||
# statusrc - Byobu's default status configurations
|
||||
#
|
||||
# Override these in $BYOBU_CONFIG_DIR/statusrc
|
||||
# where BYOBU_CONFIG_DIR is XDG_CONFIG_HOME if defined,
|
||||
# and $HOME/.byobu otherwise.
|
||||
#
|
||||
# Copyright (C) 2009-2011 Canonical Ltd.
|
||||
#
|
||||
# Authors: Dustin Kirkland <kirkland@byobu.org>
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, version 3 of the License.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
# Configurations that you can override; if you leave these commented out,
|
||||
# Byobu will try to auto-detect them.
|
||||
|
||||
# This should be auto-detected for most distro, but setting it here will save
|
||||
# some call to lsb_release and the like.
|
||||
#BYOBU_DISTRO=Ubuntu
|
||||
|
||||
# Default: depends on the distro (which is either auto-detected, either set
|
||||
# via $DISTRO)
|
||||
LOGO="$(color g w) ~ $(color -) "
|
||||
|
||||
# Abbreviate the release to N characters
|
||||
# By default, this is disabled. But if you set RELEASE_ABBREVIATED=1
|
||||
# and your lsb_release is "precise", only "p" will be displayed
|
||||
#RELEASE_ABBREVIATED=1
|
||||
|
||||
# Default: /
|
||||
#MONITORED_DISK=/
|
||||
|
||||
# Minimum disk throughput that triggers the notification (in kB/s)
|
||||
# Default: 50
|
||||
#DISK_IO_THRESHOLD=50
|
||||
|
||||
# Default: eth0
|
||||
#MONITORED_NETWORK=eth0
|
||||
|
||||
# Unit used for network throughput (either bits per second or bytes per second)
|
||||
# Default: bits
|
||||
#NETWORK_UNITS=bytes
|
||||
|
||||
# Minimum network throughput that triggers the notification (in kbit/s)
|
||||
# Default: 20
|
||||
#NETWORK_THRESHOLD=20
|
||||
|
||||
# You can add an additional source of temperature here
|
||||
#MONITORED_TEMP=/proc/acpi/thermal_zone/THM0/temperature
|
||||
|
||||
# Default: C
|
||||
#TEMP=F
|
||||
|
||||
#SERVICES="eucalyptus-nc|NC eucalyptus-cloud|CLC eucalyptus-walrus eucalyptus-cc|CC eucalyptus-sc|SC"
|
||||
|
||||
#FAN=$(find /sys -type f -name fan1_input | head -n1)
|
||||
|
||||
# You can set this to 1 to report your external/public ip address
|
||||
# Default: 0
|
||||
#IP_EXTERNAL=0
|
||||
|
||||
# The users notification normally counts ssh sessions; set this configuration to '1'
|
||||
# to instead count number of distinct users logged onto the system
|
||||
# Default: 0
|
||||
#USERS_DISTINCT=0
|
||||
|
||||
# Set this to zero to hide seconds int the time display
|
||||
# Default 1
|
||||
#TIME_SECONDS=0
|
|
@ -0,0 +1 @@
|
|||
attach;
|
|
@ -0,0 +1,29 @@
|
|||
config_dir_gopher="$HOME/public_gopher/"
|
||||
|
||||
config_gopher_server="tilde.team"
|
||||
config_gopher_port="70"
|
||||
config_gopher_root="/~$USER/"
|
||||
|
||||
config_dir_phlog="phlog"
|
||||
config_phlog_gophermap=true
|
||||
config_phlog_usedate=true
|
||||
config_phlog_autorss=false
|
||||
|
||||
config_dir_recipebox="recipebox"
|
||||
config_recipebox_gophermap=false
|
||||
config_recipebox_usedate=false
|
||||
|
||||
config_dir_topics="topics"
|
||||
config_topics_gophermap=true
|
||||
config_topics_usedate=false
|
||||
|
||||
config_git_commit=false
|
||||
config_git_push=false
|
||||
|
||||
config_autoindent=true
|
||||
|
||||
config_file_rss="rss.xml"
|
||||
config_gopher_name="$USER's gopherhole"
|
||||
config_gopher_desc="this is my gopherhole"
|
||||
config_rss_num_entries="10"
|
||||
|
|
@ -0,0 +1,91 @@
|
|||
# This file contains examples of some of the things you may want to
|
||||
# include in a user startup file.
|
||||
|
||||
# skip this setup for non-interactive shells
|
||||
[[ -o interactive && -t 0 ]] || return
|
||||
|
||||
# disable core dumps
|
||||
ulimit -c 0
|
||||
|
||||
# Environment variables. These could go in .profile if you prefer
|
||||
export VISUAL=vi
|
||||
export EDITOR=$VISUAL
|
||||
export PAGER=less
|
||||
export GZIP=-9
|
||||
|
||||
# set some shell options
|
||||
set -o emacs -o trackall -o globstar
|
||||
|
||||
# specify search path for autoloadable functions
|
||||
FPATH=/usr/share/ksh/functions:~/.func
|
||||
|
||||
# avoid certain file types in completion
|
||||
FIGNORE='@(*.o|~*)'
|
||||
|
||||
# save more commands in history
|
||||
HISTSIZE=500
|
||||
HISTEDIT=$EDITOR
|
||||
|
||||
# aliases for various command shortcuts
|
||||
alias ll='ls -lFb'
|
||||
alias la='ls -LaFb'
|
||||
alias pu='ps -fu $USER'
|
||||
alias md=mkdir
|
||||
alias rd=rmdir
|
||||
|
||||
# avoid problems with long argument lists for some commands (like xargs)
|
||||
alias cp='command -x cp' mv='command -x mv' grep='command -x grep'
|
||||
|
||||
# some short functions
|
||||
|
||||
# empty line
|
||||
empty() { echo $'\e[3J'; }
|
||||
|
||||
# man page viewer
|
||||
mere() { nroff -man -Tman $1 | ${MANPAGER:-less}; }
|
||||
|
||||
# view/manipulate and export environment variables
|
||||
setenv() {
|
||||
case $# in
|
||||
0) export ;;
|
||||
1) export "$1"= ;;
|
||||
*) export "$1"="$2" ;;
|
||||
esac
|
||||
}
|
||||
|
||||
# Use keyboard trap to map keys to other keys
|
||||
# note that escape sequences vary for different terminals so these
|
||||
# may not work for you
|
||||
trap '.sh.edchar=${keymap[${.sh.edchar}]:-${.sh.edchar}}' KEYBD
|
||||
keymap=(
|
||||
[$'\eOD']=$'\eb' # Ctrl-Left -> move word left
|
||||
[$'\eOC']=$'\ef' # Ctrl-Right -> move word right
|
||||
[$'\e[3~']=$'\cd' # Delete -> delete to right
|
||||
[$'\e[1~']=$'\ca' # Home -> move to beginning of line
|
||||
[$'\e[4~']=$'\ce' # End -> move to end of line
|
||||
)
|
||||
|
||||
# keep a shortened version of the current directory for the prompt
|
||||
function _cd {
|
||||
typeset -n dir=HOME
|
||||
|
||||
"cd" "$@"
|
||||
|
||||
if [[ $PWD = $HOME* && $HOME != / ]]; then
|
||||
_pwd=\~${PWD#$HOME}
|
||||
return
|
||||
fi
|
||||
|
||||
for dir in JAVA_HOME GNOMEDIR; do
|
||||
if [[ -n $dir && $PWD = $dir* ]]; then
|
||||
_pwd="\$${!dir}${PWD#$dir}"
|
||||
return
|
||||
fi
|
||||
done
|
||||
_pwd="$PWD"
|
||||
}
|
||||
alias cd=_cd
|
||||
_cd .
|
||||
|
||||
# put the current directory and history number in the prompt
|
||||
PS1='$_pwd [!]\$ '
|
|
@ -0,0 +1,57 @@
|
|||
# Debian mksh
|
||||
# Skeleton ~/.mkshrc file adding a level of indirection
|
||||
|
||||
# check if this is really mksh # {((
|
||||
case ${KSH_VERSION:-} in
|
||||
*LEGACY\ KSH*|*MIRBSD\ KSH*) ;;
|
||||
*) \return 0 ;;
|
||||
esac # }
|
||||
|
||||
# customise your favourite editor here; first one found is used
|
||||
for EDITOR in "${EDITOR:-}" sensible-editor jupp jstar mcedit ed vi editor; do
|
||||
EDITOR=$(\\builtin whence -p "$EDITOR") || EDITOR=
|
||||
[[ -n $EDITOR && -x $EDITOR ]] && break
|
||||
EDITOR=
|
||||
done
|
||||
|
||||
# source the system-wide mkshrc file
|
||||
[[ -s /etc/mkshrc ]] && \. /etc/mkshrc
|
||||
|
||||
# work around #813164
|
||||
\\builtin alias ls='ls -N'
|
||||
|
||||
# prepend $debian_chroot support to PS1
|
||||
p=$'\001'
|
||||
if [[ ${PS1:1:1} = $'\r' ]]; then
|
||||
p=${PS1:0:1}
|
||||
PS1=${PS1:2}
|
||||
else
|
||||
p=$'\001'
|
||||
fi
|
||||
[[ -z ${debian_chroot:-} && -r /etc/debian_chroot ]] && \
|
||||
debian_chroot=$(</etc/debian_chroot)
|
||||
PS1=$p$'\r${debian_chroot:+'$p$'\e[0;1m'$p'($debian_chroot)'$p$'\e[0m'$p'}'$PS1
|
||||
\\builtin unset p
|
||||
|
||||
\: put your local alias/function definitions, patches, etc. here
|
||||
|
||||
# fixup ncurses-term badness
|
||||
#[[ $TERM = screen.* ]] && TERM=screen
|
||||
|
||||
# force sane environment (e.g. for scripting)
|
||||
#\\builtin unset LC_ADDRESS LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
||||
# LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
||||
# LC_TELEPHONE LC_TIME LANGUAGE LANG LC_ALL
|
||||
# optionally: switch to a slightly user-friendly and more portable locale
|
||||
#p=en_GB.utf8
|
||||
#\\builtin export LANG=C LC_CTYPE=$p LC_MEASUREMENT=$p LC_MESSAGES=$p LC_PAPER=$p
|
||||
# and/or: Debian-specific libc feature (#609306, eglibc 2.13+)
|
||||
#\\builtin export LANG=C.UTF-8 LC_CTYPE=C.UTF-8
|
||||
#\\builtin export LC_ALL=C.UTF-8
|
||||
|
||||
# in either case: sync mksh UTF-8 mode to current locale (expected on GNU)
|
||||
\\builtin set -U; [[ ${LC_ALL:-${LC_CTYPE:-${LANG:-}}} = *[Uu][Tt][Ff]?(-)8* ]] || \\builtin set +U
|
||||
|
||||
#\\builtin unset p
|
||||
|
||||
\: make sure this is the last line, to ensure a good return code
|
|
@ -0,0 +1,28 @@
|
|||
# ~/.profile: executed by the command interpreter for login shells.
|
||||
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
|
||||
# exists.
|
||||
# see /usr/share/doc/bash/examples/startup-files for examples.
|
||||
# the files are located in the bash-doc package.
|
||||
|
||||
# the default umask is set in /etc/profile; for setting the umask
|
||||
# for ssh logins, install and configure the libpam-umask package.
|
||||
#umask 022
|
||||
|
||||
# if running bash
|
||||
if [ -n "$BASH_VERSION" ]; then
|
||||
# include .bashrc if it exists
|
||||
if [ -f "$HOME/.bashrc" ]; then
|
||||
. "$HOME/.bashrc"
|
||||
fi
|
||||
fi
|
||||
|
||||
# set PATH so it includes user's private bin if it exists
|
||||
if [ -d "$HOME/bin" ] ; then
|
||||
PATH="$HOME/bin:$PATH"
|
||||
fi
|
||||
|
||||
# set PATH so it includes user's private bin if it exists
|
||||
if [ -d "$HOME/.local/bin" ] ; then
|
||||
PATH="$HOME/.local/bin:$PATH"
|
||||
fi
|
||||
|
|
@ -0,0 +1,51 @@
|
|||
#
|
||||
# alias.conf -- weechat v1.0.1
|
||||
#
|
||||
|
||||
[cmd]
|
||||
AAWAY = "allserv /away"
|
||||
AME = "allchan /me"
|
||||
AMSG = "allchan /msg *"
|
||||
ANICK = "allserv /nick"
|
||||
BEEP = "print -beep"
|
||||
BS = "quote botserv"
|
||||
BYE = "quit"
|
||||
C = "buffer clear"
|
||||
CHAT = "dcc chat"
|
||||
CL = "buffer clear"
|
||||
CLOSE = "buffer close"
|
||||
CS = "quote chanserv"
|
||||
EXIT = "quit"
|
||||
HS = "quote hostserv"
|
||||
IG = "ignore"
|
||||
J = "join"
|
||||
K = "kick"
|
||||
KB = "kickban"
|
||||
LEAVE = "part"
|
||||
M = "msg"
|
||||
MS = "quote memoserv"
|
||||
MSGBUF = "command -buffer $1 * /input send $2-"
|
||||
MUB = "unban *"
|
||||
N = "names"
|
||||
NS = "quote nickserv"
|
||||
OS = "quote operserv"
|
||||
Q = "query"
|
||||
REDRAW = "window refresh"
|
||||
save_settings = "/autojoin --run;/layout store;/save"
|
||||
SAY = "msg *"
|
||||
setup_aspell = "/set weechat.bar.rootinput.items [input_prompt]+(away),[input_search],[input_paste],input_text,aspell_suggest;/set aspell.check.default_dict en_US;/set aspell.check.suggestions 4;/set aspell.check.enabled on;/unalias setup_aspell;/save"
|
||||
SIGNOFF = "quit"
|
||||
SLAP = "me slaps $1 around a bit with a large trout"
|
||||
T = "topic"
|
||||
UB = "unban"
|
||||
UMODE = "mode $nick"
|
||||
V = "command core version"
|
||||
W = "who"
|
||||
WC = "window merge"
|
||||
WI = "whois"
|
||||
WII = "whois $1 $1"
|
||||
WW = "whowas"
|
||||
|
||||
[completion]
|
||||
MSGBUF = "%(buffers_plugins_names)"
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
#
|
||||
# aspell.conf -- weechat v1.0.1
|
||||
#
|
||||
|
||||
[color]
|
||||
misspelled = lightred
|
||||
suggestions = default
|
||||
|
||||
[check]
|
||||
commands = "ame,amsg,away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic"
|
||||
default_dict = ""
|
||||
during_search = off
|
||||
enabled = off
|
||||
real_time = off
|
||||
suggestions = -1
|
||||
word_min_length = 2
|
||||
|
||||
[dict]
|
||||
|
||||
[option]
|
|
@ -0,0 +1,37 @@
|
|||
#
|
||||
# weechat -- buflist.conf
|
||||
#
|
||||
# WARNING: It is NOT recommended to edit this file by hand,
|
||||
# especially if WeeChat is running.
|
||||
#
|
||||
# Use /set or similar command to change settings in WeeChat.
|
||||
#
|
||||
# For more info, see: https://weechat.org/doc/quickstart
|
||||
#
|
||||
|
||||
[look]
|
||||
display_conditions = "${buffer.hidden}==0"
|
||||
enabled = on
|
||||
mouse_jump_visited_buffer = off
|
||||
mouse_move_buffer = on
|
||||
mouse_wheel = on
|
||||
nick_prefix = off
|
||||
nick_prefix_empty = on
|
||||
signals_refresh = ""
|
||||
sort = "number,-active"
|
||||
|
||||
[format]
|
||||
buffer = "${format_number}${indent}${format_nick_prefix}${color_hotlist}${name}"
|
||||
buffer_current = "${color:,233}${format_number}${indent}${format_nick_prefix}${color:lightcyan}${name}"
|
||||
hotlist = " ${color:green}(${hotlist}${color:green})"
|
||||
hotlist_highlight = "${color:magenta}"
|
||||
hotlist_low = "${color:default}"
|
||||
hotlist_message = "${color:130}"
|
||||
hotlist_none = "${color:white}"
|
||||
hotlist_private = "${color:cyan}"
|
||||
hotlist_separator = "${color:default},"
|
||||
indent = " "
|
||||
lag = " ${color:green}[${color:brown}${lag}${color:green}]"
|
||||
nick_prefix = "${color_nick_prefix}${nick_prefix}"
|
||||
number = "${color:green}${number}${if:${number_displayed}?.: }"
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
#
|
||||
# charset.conf -- weechat v1.0.1
|
||||
#
|
||||
|
||||
[default]
|
||||
decode = "iso-8859-1"
|
||||
encode = ""
|
||||
|
||||
[decode]
|
||||
|
||||
[encode]
|
|
@ -0,0 +1,11 @@
|
|||
#
|
||||
# exec.conf -- weechat v1.0.1
|
||||
#
|
||||
|
||||
[command]
|
||||
default_options = ""
|
||||
purge_delay = 0
|
||||
|
||||
[color]
|
||||
flag_finished = lightred
|
||||
flag_running = lightgreen
|
|
@ -0,0 +1,174 @@
|
|||
#
|
||||
# irc.conf -- weechat v1.0.1
|
||||
#
|
||||
|
||||
[look]
|
||||
buffer_switch_autojoin = on
|
||||
buffer_switch_join = on
|
||||
color_nicks_in_names = off
|
||||
color_nicks_in_nicklist = on
|
||||
color_nicks_in_server_messages = on
|
||||
color_pv_nick_like_channel = on
|
||||
ctcp_time_format = "%a, %d %b %Y %T %z"
|
||||
display_away = local
|
||||
display_ctcp_blocked = on
|
||||
display_ctcp_reply = on
|
||||
display_ctcp_unknown = on
|
||||
display_host_join = on
|
||||
display_host_join_local = on
|
||||
display_host_quit = on
|
||||
display_join_message = "329,332,333,366"
|
||||
display_old_topic = on
|
||||
display_pv_away_once = on
|
||||
display_pv_back = on
|
||||
highlight_channel = "$nick"
|
||||
highlight_pv = "$nick"
|
||||
highlight_server = "$nick"
|
||||
highlight_tags_restrict = "irc_privmsg,irc_notice"
|
||||
item_away_message = on
|
||||
item_channel_modes_hide_args = "k"
|
||||
item_display_server = buffer_plugin
|
||||
item_nick_modes = on
|
||||
item_nick_prefix = on
|
||||
join_auto_add_chantype = off
|
||||
msgbuffer_fallback = current
|
||||
new_channel_position = none
|
||||
new_pv_position = none
|
||||
nick_color_force = ""
|
||||
nick_color_hash = sum
|
||||
nick_color_stop_chars = "_|["
|
||||
nick_completion_smart = speakers
|
||||
nick_mode = prefix
|
||||
nick_mode_empty = off
|
||||
nicks_hide_password = "nickserv"
|
||||
notice_as_pv = auto
|
||||
notice_welcome_redirect = on
|
||||
notice_welcome_tags = ""
|
||||
notify_tags_ison = "notify_message"
|
||||
notify_tags_whois = "notify_message"
|
||||
part_closes_buffer = off
|
||||
pv_buffer = independent
|
||||
pv_tags = "notify_private"
|
||||
raw_messages = 256
|
||||
server_buffer = merge_with_core
|
||||
smart_filter = on
|
||||
smart_filter_delay = 5
|
||||
smart_filter_join = on
|
||||
smart_filter_join_unmask = 30
|
||||
smart_filter_mode = "+"
|
||||
smart_filter_nick = on
|
||||
smart_filter_quit = on
|
||||
topic_strip_colors = off
|
||||
|
||||
[color]
|
||||
input_nick = lightcyan
|
||||
item_away = 130
|
||||
item_channel_modes = lightcyan
|
||||
item_lag_counting = default
|
||||
item_lag_finished = 130
|
||||
item_nick_modes = lightgreen
|
||||
message_join = green
|
||||
message_quit = red
|
||||
mirc_remap = "1,-1:darkgray"
|
||||
nick_prefixes = "q:lightred;a:lightcyan;o:lightgreen;h:lightmagenta;v:yellow;*:lightblue"
|
||||
notice = green
|
||||
reason_quit = default
|
||||
topic_new = white
|
||||
topic_old = default
|
||||
|
||||
[network]
|
||||
autoreconnect_delay_growing = 2
|
||||
autoreconnect_delay_max = 600
|
||||
ban_mask_default = "*!$ident@$host"
|
||||
colors_receive = on
|
||||
colors_send = on
|
||||
lag_check = 60
|
||||
lag_max = 1800
|
||||
lag_min_show = 500
|
||||
lag_reconnect = 0
|
||||
lag_refresh_interval = 1
|
||||
notify_check_ison = 1
|
||||
notify_check_whois = 5
|
||||
send_unknown_commands = off
|
||||
whois_double_nick = off
|
||||
|
||||
[msgbuffer]
|
||||
|
||||
[ctcp]
|
||||
|
||||
[ignore]
|
||||
|
||||
[server_default]
|
||||
addresses = ""
|
||||
anti_flood_prio_high = 2
|
||||
anti_flood_prio_low = 2
|
||||
autoconnect = off
|
||||
autojoin = ""
|
||||
autoreconnect = on
|
||||
autoreconnect_delay = 10
|
||||
autorejoin = off
|
||||
autorejoin_delay = 30
|
||||
away_check = 0
|
||||
away_check_max_nicks = 25
|
||||
capabilities = "account-notify,away-notify,cap-notify,chghost,extended-join,invite-notify,multi-prefix,server-time,userhost-in-names"
|
||||
command = ""
|
||||
command_delay = 0
|
||||
connection_timeout = 60
|
||||
default_msg_kick = ""
|
||||
default_msg_part = "WeeChat %v"
|
||||
default_msg_quit = "WeeChat %v"
|
||||
ipv6 = on
|
||||
local_hostname = ""
|
||||
notify = ""
|
||||
password = ""
|
||||
proxy = ""
|
||||
realname = ""
|
||||
sasl_mechanism = plain
|
||||
sasl_password = ""
|
||||
sasl_timeout = 15
|
||||
sasl_username = ""
|
||||
ssl = off
|
||||
ssl_cert = ""
|
||||
ssl_dhkey_size = 2048
|
||||
ssl_fingerprint = ""
|
||||
ssl_priorities = "NORMAL"
|
||||
ssl_verify = on
|
||||
username = "${env:USER}"
|
||||
|
||||
[server]
|
||||
tilde.addresses = "team.tilde.chat/6697"
|
||||
tilde.proxy
|
||||
tilde.ipv6
|
||||
tilde.ssl = on
|
||||
tilde.ssl_cert
|
||||
tilde.ssl_priorities
|
||||
tilde.ssl_dhkey_size
|
||||
tilde.ssl_fingerprint
|
||||
tilde.ssl_verify
|
||||
tilde.password
|
||||
tilde.capabilities
|
||||
tilde.sasl_mechanism
|
||||
tilde.sasl_username
|
||||
tilde.sasl_password
|
||||
tilde.sasl_timeout
|
||||
tilde.autoconnect = on
|
||||
tilde.autoreconnect
|
||||
tilde.autoreconnect_delay
|
||||
tilde.nicks
|
||||
tilde.nicks_alternate
|
||||
tilde.realname
|
||||
tilde.local_hostname
|
||||
tilde.command
|
||||
tilde.command_delay
|
||||
tilde.autojoin = "#meta,#team"
|
||||
tilde.autorejoin
|
||||
tilde.autorejoin_delay
|
||||
tilde.connection_timeout
|
||||
tilde.anti_flood_prio_high
|
||||
tilde.anti_flood_prio_low
|
||||
tilde.away_check
|
||||
tilde.away_check_max_nicks
|
||||
tilde.default_msg_kick
|
||||
tilde.default_msg_part
|
||||
tilde.default_msg_quit
|
||||
tilde.notify
|
|
@ -0,0 +1,30 @@
|
|||
#
|
||||
# iset.conf -- weechat v1.0.1
|
||||
#
|
||||
|
||||
[color]
|
||||
bg_selected = 235
|
||||
help_default_value = green
|
||||
help_option_name = white
|
||||
help_text = lightcyan
|
||||
option = default
|
||||
option_selected = white
|
||||
type = brown
|
||||
type_selected = 130
|
||||
value = cyan
|
||||
value_diff = magenta
|
||||
value_diff_selected = lightmagenta
|
||||
value_selected = lightcyan
|
||||
value_undef = green
|
||||
value_undef_selected = lightgreen
|
||||
|
||||
[help]
|
||||
show_help_bar = on
|
||||
show_help_extra_info = on
|
||||
show_plugin_description = off
|
||||
|
||||
[look]
|
||||
scroll_horiz = 10
|
||||
show_current_line = on
|
||||
use_mute = off
|
||||
value_search_char = "="
|
|
@ -0,0 +1,26 @@
|
|||
#
|
||||
# logger.conf -- weechat v1.0.1
|
||||
#
|
||||
|
||||
[look]
|
||||
backlog = 20
|
||||
|
||||
[color]
|
||||
backlog_end = default
|
||||
backlog_line = default
|
||||
|
||||
[file]
|
||||
auto_log = on
|
||||
flush_delay = 120
|
||||
info_lines = off
|
||||
mask = "$plugin.$name.weechatlog"
|
||||
name_lower_case = on
|
||||
nick_prefix = ""
|
||||
nick_suffix = ""
|
||||
path = "%h/logs/"
|
||||
replacement_char = "_"
|
||||
time_format = "%Y-%m-%d %H:%M:%S"
|
||||
|
||||
[level]
|
||||
|
||||
[mask]
|
|
@ -0,0 +1 @@
|
|||
../highmon.pl
|
|
@ -0,0 +1 @@
|
|||
../iset.pl
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,61 @@
|
|||
#
|
||||
# plugins.conf -- weechat v1.0.1
|
||||
#
|
||||
|
||||
[var]
|
||||
fifo.fifo = "on"
|
||||
guile.check_license = "off"
|
||||
lua.check_license = "off"
|
||||
perl.check_license = "off"
|
||||
perl.highmon.alignment = "channel"
|
||||
perl.highmon.away_only = "off"
|
||||
perl.highmon.color_buf = "on"
|
||||
perl.highmon.first_run = "true"
|
||||
perl.highmon.hotlist_show = "off"
|
||||
perl.highmon.logging = "off"
|
||||
perl.highmon.merge_private = "off"
|
||||
perl.highmon.nick_prefix = "<"
|
||||
perl.highmon.nick_suffix = ">"
|
||||
perl.highmon.output = "buffer"
|
||||
perl.highmon.short_names = "off"
|
||||
python.apply_corrections.check_every = "5"
|
||||
python.apply_corrections.data_timeout = "60"
|
||||
python.apply_corrections.message_limit = "2"
|
||||
python.apply_corrections.print_format = "[nick]: [corrected]"
|
||||
python.apply_corrections.print_limit = "1"
|
||||
python.autojoin.autosave = "off"
|
||||
python.check_license = "off"
|
||||
python.grep.clear_buffer = "off"
|
||||
python.grep.default_tail_head = "10"
|
||||
python.grep.go_to_buffer = "on"
|
||||
python.grep.log_filter = ""
|
||||
python.grep.max_lines = "4000"
|
||||
python.grep.show_summary = "on"
|
||||
python.grep.size_limit = "2048"
|
||||
python.screen_away.away_suffix = ""
|
||||
python.screen_away.command_on_attach = ""
|
||||
python.screen_away.command_on_detach = ""
|
||||
python.screen_away.ignore = ""
|
||||
python.screen_away.ignore_relays = "off"
|
||||
python.screen_away.interval = "5"
|
||||
python.screen_away.message = "Detached from screen"
|
||||
python.screen_away.set_away = "on"
|
||||
python.screen_away.time_format = "since %Y-%m-%d %H:%M:%S%z"
|
||||
ruby.check_license = "off"
|
||||
tcl.check_license = "off"
|
||||
|
||||
[desc]
|
||||
python.apply_corrections.check_every = "Interval between each check for expired messages."
|
||||
python.apply_corrections.data_timeout = "Time before a message is expired."
|
||||
python.apply_corrections.message_limit = "Number of messages to store per nick."
|
||||
python.apply_corrections.print_format = "Format string for the printed corrections."
|
||||
python.apply_corrections.print_limit = "Maximum number of lines to correct."
|
||||
python.screen_away.away_suffix = "What to append to your nick when you're away."
|
||||
python.screen_away.command_on_attach = "Commands to execute on attach, separated by semicolon"
|
||||
python.screen_away.command_on_detach = "Commands to execute on detach, separated by semicolon"
|
||||
python.screen_away.ignore = "Comma-separated list of servers to ignore."
|
||||
python.screen_away.ignore_relays = "Only check screen status and ignore relay interfaces"
|
||||
python.screen_away.interval = "How often in seconds to check screen status"
|
||||
python.screen_away.message = "Away message"
|
||||
python.screen_away.set_away = "Set user as away."
|
||||
python.screen_away.time_format = "time format append to away message"
|
|
@ -0,0 +1,177 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Copyright (c) 2009 by xt <xt@bash.no>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# (this script requires WeeChat 0.3.0 or newer)
|
||||
#
|
||||
# History:
|
||||
# 2009-06-18, xt <xt@bash.no>
|
||||
# version 0.1: initial release
|
||||
#
|
||||
# 2009-10-18, LBo <leon@tim-online.nl>
|
||||
# version 0.2: added autosaving of join channels
|
||||
# /set plugins.var.python.autojoin.autosave 'on'
|
||||
#
|
||||
# 2009-10-19, LBo <leon@tim-online.nl>
|
||||
# version 0.2.1: now only responds to part messages from self
|
||||
# find_channels() only returns join'ed channels, not all the buffers
|
||||
# updated description and docs
|
||||
#
|
||||
# 2009-10-20, LBo <leon@tim-online.nl>
|
||||
# version 0.2.2: fixed quit callback
|
||||
# removed the callbacks on part & join messages
|
||||
#
|
||||
# 2012-04-14, Filip H.F. "FiXato" Slagter <fixato+weechat+autojoin@gmail.com>
|
||||
# version 0.2.3: fixed bug with buffers of which short names were changed.
|
||||
# Now using 'name' from irc_channel infolist.
|
||||
# version 0.2.4: Added support for key-protected channels
|
||||
#
|
||||
# 2014-05-22, Nathaniel Wesley Filardo <PADEBR2M2JIQN02N9OO5JM0CTN8K689P@cmx.ietfng.org>
|
||||
# version 0.2.5: Fix keyed channel support
|
||||
#
|
||||
# @TODO: add options to ignore certain buffers
|
||||
# @TODO: maybe add an option to enable autosaving on part/join messages
|
||||
|
||||
import weechat as w
|
||||
import re
|
||||
|
||||
SCRIPT_NAME = "autojoin"
|
||||
SCRIPT_AUTHOR = "xt <xt@bash.no>"
|
||||
SCRIPT_VERSION = "0.2.5"
|
||||
SCRIPT_LICENSE = "GPL3"
|
||||
SCRIPT_DESC = "Configure autojoin for all servers according to currently joined channels"
|
||||
SCRIPT_COMMAND = "autojoin"
|
||||
|
||||
# script options
|
||||
settings = {
|
||||
"autosave": "off",
|
||||
}
|
||||
|
||||
if w.register(SCRIPT_NAME, SCRIPT_AUTHOR, SCRIPT_VERSION, SCRIPT_LICENSE, SCRIPT_DESC, "", ""):
|
||||
|
||||
w.hook_command(SCRIPT_COMMAND,
|
||||
SCRIPT_DESC,
|
||||
"[--run]",
|
||||
" --run: actually run the commands instead of displaying\n",
|
||||
"--run",
|
||||
"autojoin_cb",
|
||||
"")
|
||||
|
||||
#w.hook_signal('*,irc_in2_join', 'autosave_channels_on_activity', '')
|
||||
#w.hook_signal('*,irc_in2_part', 'autosave_channels_on_activity', '')
|
||||
w.hook_signal('quit', 'autosave_channels_on_quit', '')
|
||||
|
||||
# Init everything
|
||||
for option, default_value in settings.items():
|
||||
if w.config_get_plugin(option) == "":
|
||||
w.config_set_plugin(option, default_value)
|
||||
|
||||
def autosave_channels_on_quit(signal, callback, callback_data):
|
||||
''' Autojoin current channels '''
|
||||
if w.config_get_plugin(option) != "on":
|
||||
return w.WEECHAT_RC_OK
|
||||
|
||||
items = find_channels()
|
||||
|
||||
# print/execute commands
|
||||
for server, channels in items.iteritems():
|
||||
channels = channels.rstrip(',')
|
||||
command = "/set irc.server.%s.autojoin '%s'" % (server, channels)
|
||||
w.command('', command)
|
||||
|
||||
return w.WEECHAT_RC_OK
|
||||
|
||||
|
||||
def autosave_channels_on_activity(signal, callback, callback_data):
|
||||
''' Autojoin current channels '''
|
||||
if w.config_get_plugin(option) != "on":
|
||||
return w.WEECHAT_RC_OK
|
||||
|
||||
items = find_channels()
|
||||
|
||||
# print/execute commands
|
||||
for server, channels in items.iteritems():
|
||||
nick = w.info_get('irc_nick', server)
|
||||
|
||||
pattern = "^:%s!.*(JOIN|PART) :?(#[^ ]*)( :.*$)?" % nick
|
||||
match = re.match(pattern, callback_data)
|
||||
|
||||
if match: # check if nick is my nick. In that case: save
|
||||
channel = match.group(2)
|
||||
channels = channels.rstrip(',')
|
||||
command = "/set irc.server.%s.autojoin '%s'" % (server, channels)
|
||||
w.command('', command)
|
||||
else: # someone else: ignore
|
||||
continue
|
||||
|
||||
return w.WEECHAT_RC_OK
|
||||
|
||||
def autojoin_cb(data, buffer, args):
|
||||
"""Old behaviour: doesn't save empty channel list"""
|
||||
"""In fact should also save open buffers with a /part'ed channel"""
|
||||
"""But I can't believe somebody would want that behaviour"""
|
||||
items = find_channels()
|
||||
|
||||
# print/execute commands
|
||||
for server, channels in items.iteritems():
|
||||
channels = channels.rstrip(',')
|
||||
if not channels: # empty channel list
|
||||
continue
|
||||
command = '/set irc.server.%s.autojoin %s' % (server, channels)
|
||||
if args == '--run':
|
||||
w.command('', command)
|
||||
else:
|
||||
w.prnt('', command)
|
||||
|
||||
return w.WEECHAT_RC_OK
|
||||
|
||||
def find_channels():
|
||||
"""Return list of servers and channels"""
|
||||
#@TODO: make it return a dict with more options like "nicks_count etc."
|
||||
items = {}
|
||||
infolist = w.infolist_get('irc_server', '', '')
|
||||
# populate servers
|
||||
while w.infolist_next(infolist):
|
||||
items[w.infolist_string(infolist, 'name')] = ''
|
||||
|
||||
w.infolist_free(infolist)
|
||||
|
||||
# populate channels per server
|
||||
for server in items.keys():
|
||||
keys = []
|
||||
keyed_channels = []
|
||||
unkeyed_channels = []
|
||||
items[server] = '' #init if connected but no channels
|
||||
infolist = w.infolist_get('irc_channel', '', server)
|
||||
while w.infolist_next(infolist):
|
||||
if w.infolist_integer(infolist, 'nicks_count') == 0:
|
||||
#parted but still open in a buffer: bit hackish
|
||||
continue
|
||||
if w.infolist_integer(infolist, 'type') == 0:
|
||||
key = w.infolist_string(infolist, "key")
|
||||
if len(key) > 0:
|
||||
keys.append(key)
|
||||
keyed_channels.append(w.infolist_string(infolist, "name"))
|
||||
else :
|
||||
unkeyed_channels.append(w.infolist_string(infolist, "name"))
|
||||
items[server] = ','.join(keyed_channels + unkeyed_channels)
|
||||
if len(keys) > 0:
|
||||
items[server] += ' %s' % ','.join(keys)
|
||||
w.infolist_free(infolist)
|
||||
|
||||
return items
|
||||
|
|
@ -0,0 +1 @@
|
|||
../autojoin.py
|
|
@ -0,0 +1 @@
|
|||
../grep.py
|
|
@ -0,0 +1 @@
|
|||
../otr.py
|
|
@ -0,0 +1 @@
|
|||
../urlview.py
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,57 @@
|
|||
# This weechat plugin pipes the current weechat buffer through urlview
|
||||
#
|
||||
# Usage:
|
||||
# /urlview
|
||||
#
|
||||
# History:
|
||||
# 10-04-2015
|
||||
# Version 1.0.0: initial release
|
||||
# Version 1.0.1: reverse text passed to urlview
|
||||
# Version 1.0.2: remove weechat color from messages
|
||||
|
||||
import distutils.spawn
|
||||
import os
|
||||
import pipes
|
||||
import weechat
|
||||
|
||||
|
||||
def urlview(data, buf, args):
|
||||
infolist = weechat.infolist_get("buffer_lines", buf, "")
|
||||
lines = []
|
||||
while weechat.infolist_next(infolist) == 1:
|
||||
lines.append(
|
||||
weechat.string_remove_color(
|
||||
weechat.infolist_string(infolist, "message"),
|
||||
""
|
||||
)
|
||||
)
|
||||
|
||||
weechat.infolist_free(infolist)
|
||||
|
||||
if not lines:
|
||||
weechat.prnt(buf, "No URLs found")
|
||||
return weechat.WEECHAT_RC_OK
|
||||
|
||||
text = "\n".join(reversed(lines))
|
||||
response = os.system("echo %s | urlview" % pipes.quote(text))
|
||||
if response != 0:
|
||||
weechat.prnt(buf, "No URLs found")
|
||||
|
||||
weechat.command(buf, "/window refresh")
|
||||
|
||||
return weechat.WEECHAT_RC_OK
|
||||
|
||||
|
||||
def main():
|
||||
if distutils.spawn.find_executable("urlview") is None:
|
||||
return weechat.WEECHAT_RC_ERROR
|
||||
|
||||
if not weechat.register("urlview", "Keith Smiley", "1.0.2", "MIT",
|
||||
"Use urlview on the current buffer", "", ""):
|
||||
return weechat.WEECHAT_RC_ERROR
|
||||
|
||||
weechat.hook_command("urlview", "Pass the current buffer to urlview", "",
|
||||
"", "", "urlview", "")
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
|
@ -0,0 +1,38 @@
|
|||
#
|
||||
# relay.conf -- weechat v1.0.1
|
||||
#
|
||||
|
||||
[look]
|
||||
auto_open_buffer = on
|
||||
raw_messages = 256
|
||||
|
||||
[color]
|
||||
client = cyan
|
||||
status_active = lightblue
|
||||
status_auth_failed = lightred
|
||||
status_connecting = 130
|
||||
status_disconnected = lightred
|
||||
status_waiting_auth = brown
|
||||
text = default
|
||||
text_bg = default
|
||||
text_selected = white
|
||||
|
||||
[network]
|
||||
allowed_ips = ""
|
||||
bind_address = ""
|
||||
clients_purge_delay = 0
|
||||
compression_level = 6
|
||||
ipv6 = on
|
||||
max_clients = 5
|
||||
password = ""
|
||||
ssl_cert_key = "%h/ssl/relay.pem"
|
||||
websocket_allowed_origins = ""
|
||||
|
||||
[irc]
|
||||
backlog_max_minutes = 1440
|
||||
backlog_max_number = 256
|
||||
backlog_since_last_disconnect = on
|
||||
backlog_tags = "irc_privmsg"
|
||||
backlog_time_format = "[%H:%M] "
|
||||
|
||||
[port]
|
|
@ -0,0 +1,50 @@
|
|||
#
|
||||
# script.conf -- weechat v1.0.1
|
||||
#
|
||||
|
||||
[look]
|
||||
columns = "%s %n %V %v %u │ %d │ %t"
|
||||
diff_color = on
|
||||
diff_command = "auto"
|
||||
display_source = on
|
||||
quiet_actions = on
|
||||
sort = "p,n"
|
||||
translate_description = on
|
||||
use_keys = on
|
||||
|
||||
[color]
|
||||
status_autoloaded = cyan
|
||||
status_held = white
|
||||
status_installed = lightcyan
|
||||
status_obsolete = lightmagenta
|
||||
status_popular = 130
|
||||
status_running = lightgreen
|
||||
status_unknown = lightred
|
||||
text = default
|
||||
text_bg = default
|
||||
text_bg_selected = 235
|
||||
text_date = default
|
||||
text_date_selected = white
|
||||
text_delimiters = 130
|
||||
text_description = default
|
||||
text_description_selected = white
|
||||
text_extension = default
|
||||
text_extension_selected = white
|
||||
text_name = cyan
|
||||
text_name_selected = lightcyan
|
||||
text_selected = white
|
||||
text_tags = brown
|
||||
text_tags_selected = 130
|
||||
text_version = magenta
|
||||
text_version_loaded = default
|
||||
text_version_loaded_selected = white
|
||||
text_version_selected = lightmagenta
|
||||
|
||||
[scripts]
|
||||
autoload = on
|
||||
cache_expire = 1440
|
||||
download_timeout = 30
|
||||
path = "%h/script"
|
||||
hold = ""
|
||||
url = "http://weechat.org/files/plugins.xml.gz"
|
||||
url_force_https = on
|
Binary file not shown.
|
@ -0,0 +1,11 @@
|
|||
#
|
||||
# sec.conf -- weechat v1.0.1
|
||||
#
|
||||
|
||||
[crypt]
|
||||
cipher = aes256
|
||||
hash_algo = sha256
|
||||
passphrase_file = ""
|
||||
salt = on
|
||||
|
||||
[data]
|
|
@ -0,0 +1,47 @@
|
|||
#
|
||||
# trigger.conf -- weechat v1.0.1
|
||||
#
|
||||
|
||||
[look]
|
||||
enabled = on
|
||||
monitor_strip_colors = off
|
||||
|
||||
[color]
|
||||
flag_command = lightgreen
|
||||
flag_conditions = 130
|
||||
flag_regex = lightcyan
|
||||
flag_return_code = lightmagenta
|
||||
regex = white
|
||||
replace = cyan
|
||||
trigger = green
|
||||
trigger_disabled = red
|
||||
|
||||
[trigger]
|
||||
beep.arguments = ""
|
||||
beep.command = "/print -beep"
|
||||
beep.conditions = "${tg_highlight} || ${tg_msg_pv}"
|
||||
beep.enabled = on
|
||||
beep.hook = print
|
||||
beep.regex = ""
|
||||
beep.return_code = ok
|
||||
cmd_pass.arguments = "5000|input_text_display;5000|history_add;5000|irc_command_auth"
|
||||
cmd_pass.command = ""
|
||||
cmd_pass.conditions = ""
|
||||
cmd_pass.enabled = on
|
||||
cmd_pass.hook = modifier
|
||||
cmd_pass.regex = "==^((/(msg|m|quote) +nickserv +(id|identify|register|ghost +[^ ]+|release +[^ ]+|regain +[^ ]+) +)|/oper +[^ ]+ +|/quote +pass +|/set +[^ ]*password[^ ]* +|/secure +(passphrase|decrypt|set +[^ ]+) +)(.*)==${re:1}${hide:*,${re:+}}"
|
||||
cmd_pass.return_code = ok
|
||||
msg_auth.arguments = "5000|irc_message_auth"
|
||||
msg_auth.command = ""
|
||||
msg_auth.conditions = ""
|
||||
msg_auth.enabled = on
|
||||
msg_auth.hook = modifier
|
||||
msg_auth.regex = "==^(.*(id|identify|register|ghost +[^ ]+|release +[^ ]+) +)(.*)==${re:1}${hide:*,${re:+}}"
|
||||
msg_auth.return_code = ok
|
||||
server_pass.arguments = "5000|input_text_display;5000|history_add"
|
||||
server_pass.command = ""
|
||||
server_pass.conditions = ""
|
||||
server_pass.enabled = on
|
||||
server_pass.hook = modifier
|
||||
server_pass.regex = "==^(/(server|connect) .*-(sasl_)?password=)([^ ]+)(.*)==${re:1}${hide:*,${re:4}}${re:5}"
|
||||
server_pass.return_code = ok
|
|
@ -0,0 +1,619 @@
|
|||
#
|
||||
# weechat.conf -- weechat v1.0.1
|
||||
#
|
||||
|
||||
[debug]
|
||||
|
||||
[startup]
|
||||
command_after_plugins = ""
|
||||
command_before_plugins = ""
|
||||
display_logo = on
|
||||
display_version = on
|
||||
sys_rlimit = ""
|
||||
|
||||
[look]
|
||||
align_end_of_lines = message
|
||||
bar_more_down = "++"
|
||||
bar_more_left = "<<"
|
||||
bar_more_right = ">>"
|
||||
bar_more_up = "--"
|
||||
bare_display_exit_on_input = on
|
||||
bare_display_time_format = "%H:%M"
|
||||
buffer_auto_renumber = on
|
||||
buffer_notify_default = all
|
||||
buffer_position = end
|
||||
buffer_search_case_sensitive = off
|
||||
buffer_search_force_default = off
|
||||
buffer_search_regex = off
|
||||
buffer_search_where = prefix_message
|
||||
buffer_time_format = "${color:250}%H${color:lightcyan}:${color:245}%M${color:lightcyan}:${color:240}%S"
|
||||
color_basic_force_bold = off
|
||||
color_inactive_buffer = on
|
||||
color_inactive_message = on
|
||||
color_inactive_prefix = on
|
||||
color_inactive_prefix_buffer = on
|
||||
color_inactive_time = off
|
||||
color_inactive_window = on
|
||||
color_nick_offline = on
|
||||
color_pairs_auto_reset = 5
|
||||
color_real_white = off
|
||||
command_chars = ""
|
||||
confirm_quit = off
|
||||
day_change = on
|
||||
day_change_message_1date = "-- %a, %d %b %Y --"
|
||||
day_change_message_2dates = "-- %%a, %%d %%b %%Y (%a, %d %b %Y) --"
|
||||
eat_newline_glitch = off
|
||||
emphasized_attributes = ""
|
||||
highlight = ""
|
||||
highlight_regex = ""
|
||||
highlight_tags = ""
|
||||
hotlist_add_conditions = "${away} || ${buffer.num_displayed} == 0"
|
||||
hotlist_buffer_separator = ", "
|
||||
hotlist_count_max = 2
|
||||
hotlist_count_min_msg = 2
|
||||
hotlist_names_count = 3
|
||||
hotlist_names_length = 0
|
||||
hotlist_names_level = 12
|
||||
hotlist_names_merged_buffers = off
|
||||
hotlist_prefix = "H: "
|
||||
hotlist_remove = merged
|
||||
hotlist_short_names = on
|
||||
hotlist_sort = group_time_asc
|
||||
hotlist_suffix = ""
|
||||
hotlist_unique_numbers = on
|
||||
input_cursor_scroll = 20
|
||||
input_share = none
|
||||
input_share_overwrite = off
|
||||
input_undo_max = 32
|
||||
item_buffer_filter = "*"
|
||||
item_buffer_zoom = "!"
|
||||
item_time_format = "%H:%M"
|
||||
jump_current_to_previous_buffer = on
|
||||
jump_previous_buffer_when_closing = on
|
||||
jump_smart_back_to_buffer = on
|
||||
key_bind_safe = on
|
||||
mouse = off
|
||||
mouse_timer_delay = 100
|
||||
nick_prefix = ""
|
||||
nick_suffix = ""
|
||||
paste_bracketed = on
|
||||
paste_bracketed_timer_delay = 10
|
||||
paste_max_lines = 1
|
||||
prefix_action = " *"
|
||||
prefix_align = right
|
||||
prefix_align_max = 15
|
||||
prefix_align_min = 15
|
||||
prefix_align_more = "+"
|
||||
prefix_align_more_after = on
|
||||
prefix_buffer_align = right
|
||||
prefix_buffer_align_max = 0
|
||||
prefix_buffer_align_more = "+"
|
||||
prefix_buffer_align_more_after = on
|
||||
prefix_error = "=!="
|
||||
prefix_join = "-->"
|
||||
prefix_network = "--"
|
||||
prefix_quit = "<--"
|
||||
prefix_same_nick = ""
|
||||
prefix_suffix = "│"
|
||||
read_marker = line
|
||||
read_marker_always_show = off
|
||||
read_marker_string = "- "
|
||||
save_config_on_exit = on
|
||||
save_layout_on_exit = none
|
||||
scroll_amount = 3
|
||||
scroll_bottom_after_switch = off
|
||||
scroll_page_percent = 100
|
||||
search_text_not_found_alert = on
|
||||
separator_horizontal = "-"
|
||||
separator_vertical = ""
|
||||
tab_width = 1
|
||||
time_format = "%a, %d %b %Y %T"
|
||||
window_auto_zoom = off
|
||||
window_separator_horizontal = on
|
||||
window_separator_vertical = on
|
||||
window_title = "WeeChat ${info:version}"
|
||||
|
||||
[palette]
|
||||
|
||||
[color]
|
||||
bar_more = lightcyan
|
||||
chat = default
|
||||
chat_bg = default
|
||||
chat_buffer = white
|
||||
chat_channel = white
|
||||
chat_day_change = cyan
|
||||
chat_delimiters = 235
|
||||
chat_highlight = lightcyan
|
||||
chat_highlight_bg = 235
|
||||
chat_host = cyan
|
||||
chat_inactive_buffer = default
|
||||
chat_inactive_window = default
|
||||
chat_nick = lightcyan
|
||||
chat_nick_colors = "cyan,magenta,green,brown,lightblue,default,lightcyan,lightmagenta,lightgreen,blue"
|
||||
chat_nick_offline = blue
|
||||
chat_nick_offline_highlight = default
|
||||
chat_nick_offline_highlight_bg = blue
|
||||
chat_nick_other = cyan
|
||||
chat_nick_prefix = green
|
||||
chat_nick_self = red
|
||||
chat_nick_suffix = green
|
||||
chat_prefix_action = white
|
||||
chat_prefix_buffer = brown
|
||||
chat_prefix_buffer_inactive_buffer = default
|
||||
chat_prefix_error = 130
|
||||
chat_prefix_join = lightgreen
|
||||
chat_prefix_more = lightmagenta
|
||||
chat_prefix_network = magenta
|
||||
chat_prefix_quit = lightred
|
||||
chat_prefix_suffix = 235
|
||||
chat_read_marker = magenta
|
||||
chat_read_marker_bg = default
|
||||
chat_server = brown
|
||||
chat_tags = red
|
||||
chat_text_found = 130
|
||||
chat_text_found_bg = lightmagenta
|
||||
chat_time = default
|
||||
chat_time_delimiters = brown
|
||||
chat_value = cyan
|
||||
emphasized = 130
|
||||
emphasized_bg = magenta
|
||||
input_actions = lightgreen
|
||||
input_text_not_found = red
|
||||
nicklist_away = cyan
|
||||
nicklist_group = green
|
||||
separator = 235
|
||||
status_count_highlight = magenta
|
||||
status_count_msg = brown
|
||||
status_count_other = default
|
||||
status_count_private = green
|
||||
status_data_highlight = lightmagenta
|
||||
status_data_msg = 130
|
||||
status_data_other = default
|
||||
status_data_private = lightgreen
|
||||
status_filter = green
|
||||
status_more = 130
|
||||
status_name = white
|
||||
status_name_ssl = lightgreen
|
||||
status_nicklist_count = default
|
||||
status_number = 130
|
||||
status_time = default
|
||||
|
||||
[completion]
|
||||
base_word_until_cursor = on
|
||||
default_template = "%(nicks)|%(irc_channels)"
|
||||
nick_add_space = on
|
||||
nick_completer = ": "
|
||||
nick_first_only = off
|
||||
nick_ignore_chars = "[]`_-^"
|
||||
partial_completion_alert = on
|
||||
partial_completion_command = off
|
||||
partial_completion_command_arg = off
|
||||
partial_completion_count = on
|
||||
partial_completion_other = off
|
||||
|
||||
[history]
|
||||
display_default = 5
|
||||
max_buffer_lines_minutes = 0
|
||||
max_buffer_lines_number = 4096
|
||||
max_commands = 100
|
||||
max_visited_buffers = 50
|
||||
|
||||
[proxy]
|
||||
|
||||
[network]
|
||||
connection_timeout = 60
|
||||
gnutls_ca_file = "/etc/ssl/certs/ca-certificates.crt"
|
||||
gnutls_handshake_timeout = 30
|
||||
proxy_curl = ""
|
||||
|
||||
[plugin]
|
||||
autoload = "*"
|
||||
debug = off
|
||||
extension = ".so,.dll"
|
||||
path = "%h/plugins"
|
||||
save_config_on_unload = on
|
||||
|
||||
[bar]
|
||||
buflist.color_bg = default
|
||||
buflist.color_delim = default
|
||||
buflist.color_fg = default
|
||||
buflist.conditions = ""
|
||||
buflist.filling_left_right = vertical
|
||||
buflist.filling_top_bottom = columns_vertical
|
||||
buflist.hidden = off
|
||||
buflist.items = "buflist"
|
||||
buflist.position = left
|
||||
buflist.priority = 100
|
||||
buflist.separator = on
|
||||
buflist.size = 0
|
||||
buflist.size_max = 0
|
||||
buflist.type = root
|
||||
isetbar.color_bg = default
|
||||
isetbar.color_delim = cyan
|
||||
isetbar.color_fg = default
|
||||
isetbar.conditions = ""
|
||||
isetbar.filling_left_right = vertical
|
||||
isetbar.filling_top_bottom = horizontal
|
||||
isetbar.hidden = on
|
||||
isetbar.items = "isetbar_help"
|
||||
isetbar.position = top
|
||||
isetbar.priority = 0
|
||||
isetbar.separator = on
|
||||
isetbar.size = 3
|
||||
isetbar.size_max = 3
|
||||
isetbar.type = window
|
||||
nicklist.color_bg = default
|
||||
nicklist.color_delim = cyan
|
||||
nicklist.color_fg = default
|
||||
nicklist.conditions = "${nicklist}"
|
||||
nicklist.filling_left_right = vertical
|
||||
nicklist.filling_top_bottom = columns_vertical
|
||||
nicklist.hidden = off
|
||||
nicklist.items = "buffer_nicklist"
|
||||
nicklist.position = right
|
||||
nicklist.priority = 200
|
||||
nicklist.separator = on
|
||||
nicklist.size = 0
|
||||
nicklist.size_max = 0
|
||||
nicklist.type = window
|
||||
rootinput.color_bg = default
|
||||
rootinput.color_delim = cyan
|
||||
rootinput.color_fg = default
|
||||
rootinput.conditions = ""
|
||||
rootinput.filling_left_right = vertical
|
||||
rootinput.filling_top_bottom = horizontal
|
||||
rootinput.hidden = off
|
||||
rootinput.items = "[input_prompt]+(away),[input_search],[input_paste],input_text"
|
||||
rootinput.position = bottom
|
||||
rootinput.priority = 50
|
||||
rootinput.separator = off
|
||||
rootinput.size = 1
|
||||
rootinput.size_max = 0
|
||||
rootinput.type = root
|
||||
rootstatus.color_bg = 235
|
||||
rootstatus.color_delim = lightcyan
|
||||
rootstatus.color_fg = default
|
||||
rootstatus.conditions = ""
|
||||
rootstatus.filling_left_right = vertical
|
||||
rootstatus.filling_top_bottom = horizontal
|
||||
rootstatus.hidden = off
|
||||
rootstatus.items = "[buffer_last_number],[buffer_plugin],buffer_number+:+buffer_name+(buffer_modes)+{buffer_nicklist_count}+buffer_zoom+buffer_filter,[lag],[hotlist],(mouse_status),completion,scroll"
|
||||
rootstatus.position = bottom
|
||||
rootstatus.priority = 25
|
||||
rootstatus.separator = off
|
||||
rootstatus.size = 1
|
||||
rootstatus.size_max = 0
|
||||
rootstatus.type = root
|
||||
title.color_bg = 235
|
||||
title.color_delim = lightcyan
|
||||
title.color_fg = default
|
||||
title.conditions = ""
|
||||
title.filling_left_right = vertical
|
||||
title.filling_top_bottom = horizontal
|
||||
title.hidden = off
|
||||
title.items = "buffer_title"
|
||||
title.position = top
|
||||
title.priority = 500
|
||||
title.separator = off
|
||||
title.size = 0
|
||||
title.size_max = 0
|
||||
title.type = window
|
||||
|
||||
[layout]
|
||||
default.buffer = "core;weechat;1"
|
||||
default.buffer = "perl;highmon;1"
|
||||
default.buffer = "irc;server.tilde;1"
|
||||
default.buffer = "irc;tilde.#meta;2"
|
||||
default.buffer = "irc;tilde.#team;3"
|
||||
default.window = "1;0;15;1;-;-"
|
||||
default.window = "2;1;0;0;irc;tilde.#team"
|
||||
default.window = "3;1;0;0;core;weechat"
|
||||
default.current = on
|
||||
|
||||
[notify]
|
||||
|
||||
[filter]
|
||||
|
||||
[key]
|
||||
ctrl-? = "/input delete_previous_char"
|
||||
ctrl-A = "/input move_beginning_of_line"
|
||||
ctrl-B = "/input move_previous_char"
|
||||
ctrl-C_ = "/input insert \x1F"
|
||||
ctrl-Cb = "/input insert \x02"
|
||||
ctrl-Cc = "/input insert \x03"
|
||||
ctrl-Ci = "/input insert \x1D"
|
||||
ctrl-Co = "/input insert \x0F"
|
||||
ctrl-Cv = "/input insert \x16"
|
||||
ctrl-D = "/input delete_next_char"
|
||||
ctrl-E = "/input move_end_of_line"
|
||||
ctrl-F = "/input move_next_char"
|
||||
ctrl-H = "/input delete_previous_char"
|
||||
ctrl-I = "/input complete_next"
|
||||
ctrl-J = "/input return"
|
||||
ctrl-K = "/input delete_end_of_line"
|
||||
ctrl-L = "/window refresh"
|
||||
ctrl-M = "/input return"
|
||||
ctrl-N = "/buffer +1"
|
||||
ctrl-P = "/buffer -1"
|
||||
ctrl-R = "/input search_text"
|
||||
ctrl-Sctrl-U = "/input set_unread"
|
||||
ctrl-T = "/input transpose_chars"
|
||||
ctrl-U = "/input delete_beginning_of_line"
|
||||
ctrl-W = "/input delete_previous_word"
|
||||
ctrl-X = "/input switch_active_buffer"
|
||||
ctrl-Y = "/input clipboard_paste"
|
||||
meta-meta2-1~ = "/window scroll_top"
|
||||
meta-meta2-23~ = "/bar scroll nicklist * b"
|
||||
meta-meta2-24~ = "/bar scroll nicklist * e"
|
||||
meta-meta2-4~ = "/window scroll_bottom"
|
||||
meta-meta2-5~ = "/window scroll_up"
|
||||
meta-meta2-6~ = "/window scroll_down"
|
||||
meta-meta2-7~ = "/window scroll_top"
|
||||
meta-meta2-8~ = "/window scroll_bottom"
|
||||
meta-meta2-A = "/buffer -1"
|
||||
meta-meta2-B = "/buffer +1"
|
||||
meta-meta2-C = "/buffer +1"
|
||||
meta-meta2-D = "/buffer -1"
|
||||
meta-- = "/filter toggle @"
|
||||
meta-/ = "/input jump_last_buffer_displayed"
|
||||
meta-0 = "/buffer *10"
|
||||
meta-1 = "/buffer *1"
|
||||
meta-2 = "/buffer *2"
|
||||
meta-3 = "/buffer *3"
|
||||
meta-4 = "/buffer *4"
|
||||
meta-5 = "/buffer *5"
|
||||
meta-6 = "/buffer *6"
|
||||
meta-7 = "/buffer *7"
|
||||
meta-8 = "/buffer *8"
|
||||
meta-9 = "/buffer *9"
|
||||
meta-< = "/input jump_previously_visited_buffer"
|
||||
meta-= = "/filter toggle"
|
||||
meta-> = "/input jump_next_visited_buffer"
|
||||
meta-OA = "/input history_global_previous"
|
||||
meta-OB = "/input history_global_next"
|
||||
meta-OC = "/input move_next_word"
|
||||
meta-OD = "/input move_previous_word"
|
||||
meta-OF = "/input move_end_of_line"
|
||||
meta-OH = "/input move_beginning_of_line"
|
||||
meta-Oa = "/input history_global_previous"
|
||||
meta-Ob = "/input history_global_next"
|
||||
meta-Oc = "/input move_next_word"
|
||||
meta-Od = "/input move_previous_word"
|
||||
meta2-15~ = "/buffer -1"
|
||||
meta2-17~ = "/buffer +1"
|
||||
meta2-18~ = "/window -1"
|
||||
meta2-19~ = "/window +1"
|
||||
meta2-1;3A = "/buffer -1"
|
||||
meta2-1;3B = "/buffer +1"
|
||||
meta2-1;3C = "/buffer +1"
|
||||
meta2-1;3D = "/buffer -1"
|
||||
meta2-1;3F = "/window scroll_bottom"
|
||||
meta2-1;3H = "/window scroll_top"
|
||||
meta2-1;5A = "/input history_global_previous"
|
||||
meta2-1;5B = "/input history_global_next"
|
||||
meta2-1;5C = "/input move_next_word"
|
||||
meta2-1;5D = "/input move_previous_word"
|
||||
meta2-1~ = "/input move_beginning_of_line"
|
||||
meta2-200~ = "/input paste_start"
|
||||
meta2-201~ = "/input paste_stop"
|
||||
meta2-20~ = "/bar scroll title * -30%"
|
||||
meta2-21~ = "/bar scroll title * +30%"
|
||||
meta2-23;3~ = "/bar scroll nicklist * b"
|
||||
meta2-23~ = "/bar scroll nicklist * -100%"
|
||||
meta2-24;3~ = "/bar scroll nicklist * e"
|
||||
meta2-24~ = "/bar scroll nicklist * +100%"
|
||||
meta2-3~ = "/input delete_next_char"
|
||||
meta2-4~ = "/input move_end_of_line"
|
||||
meta2-5;3~ = "/window scroll_up"
|
||||
meta2-5~ = "/window page_up"
|
||||
meta2-6;3~ = "/window scroll_down"
|
||||
meta2-6~ = "/window page_down"
|
||||
meta2-7~ = "/input move_beginning_of_line"
|
||||
meta2-8~ = "/input move_end_of_line"
|
||||
meta2-A = "/input history_previous"
|
||||
meta2-B = "/input history_next"
|
||||
meta2-C = "/input move_next_char"
|
||||
meta2-D = "/input move_previous_char"
|
||||
meta2-F = "/input move_end_of_line"
|
||||
meta2-G = "/window page_down"
|
||||
meta2-H = "/input move_beginning_of_line"
|
||||
meta2-I = "/window page_up"
|
||||
meta2-Z = "/input complete_previous"
|
||||
meta2-[E = "/buffer -1"
|
||||
meta-_ = "/input redo"
|
||||
meta-a = "/input jump_smart"
|
||||
meta-b = "/input move_previous_word"
|
||||
meta-d = "/input delete_next_word"
|
||||
meta-f = "/input move_next_word"
|
||||
meta-h = "/input hotlist_clear"
|
||||
meta-jmeta-f = "/buffer -"
|
||||
meta-jmeta-l = "/buffer +"
|
||||
meta-jmeta-r = "/server raw"
|
||||
meta-jmeta-s = "/server jump"
|
||||
meta-j01 = "/buffer 1"
|
||||
meta-j02 = "/buffer 2"
|
||||
meta-j03 = "/buffer 3"
|
||||
meta-j04 = "/buffer 4"
|
||||
meta-j05 = "/buffer 5"
|
||||
meta-j06 = "/buffer 6"
|
||||
meta-j07 = "/buffer 7"
|
||||
meta-j08 = "/buffer 8"
|
||||
meta-j09 = "/buffer 9"
|
||||
meta-j10 = "/buffer 10"
|
||||
meta-j11 = "/buffer 11"
|
||||
meta-j12 = "/buffer 12"
|
||||
meta-j13 = "/buffer 13"
|
||||
meta-j14 = "/buffer 14"
|
||||
meta-j15 = "/buffer 15"
|
||||
meta-j16 = "/buffer 16"
|
||||
meta-j17 = "/buffer 17"
|
||||
meta-j18 = "/buffer 18"
|
||||
meta-j19 = "/buffer 19"
|
||||
meta-j20 = "/buffer 20"
|
||||
meta-j21 = "/buffer 21"
|
||||
meta-j22 = "/buffer 22"
|
||||
meta-j23 = "/buffer 23"
|
||||
meta-j24 = "/buffer 24"
|
||||
meta-j25 = "/buffer 25"
|
||||
meta-j26 = "/buffer 26"
|
||||
meta-j27 = "/buffer 27"
|
||||
meta-j28 = "/buffer 28"
|
||||
meta-j29 = "/buffer 29"
|
||||
meta-j30 = "/buffer 30"
|
||||
meta-j31 = "/buffer 31"
|
||||
meta-j32 = "/buffer 32"
|
||||
meta-j33 = "/buffer 33"
|
||||
meta-j34 = "/buffer 34"
|
||||
meta-j35 = "/buffer 35"
|
||||
meta-j36 = "/buffer 36"
|
||||
meta-j37 = "/buffer 37"
|
||||
meta-j38 = "/buffer 38"
|
||||
meta-j39 = "/buffer 39"
|
||||
meta-j40 = "/buffer 40"
|
||||
meta-j41 = "/buffer 41"
|
||||
meta-j42 = "/buffer 42"
|
||||
meta-j43 = "/buffer 43"
|
||||
meta-j44 = "/buffer 44"
|
||||
meta-j45 = "/buffer 45"
|
||||
meta-j46 = "/buffer 46"
|
||||
meta-j47 = "/buffer 47"
|
||||
meta-j48 = "/buffer 48"
|
||||
meta-j49 = "/buffer 49"
|
||||
meta-j50 = "/buffer 50"
|
||||
meta-j51 = "/buffer 51"
|
||||
meta-j52 = "/buffer 52"
|
||||
meta-j53 = "/buffer 53"
|
||||
meta-j54 = "/buffer 54"
|
||||
meta-j55 = "/buffer 55"
|
||||
meta-j56 = "/buffer 56"
|
||||
meta-j57 = "/buffer 57"
|
||||
meta-j58 = "/buffer 58"
|
||||
meta-j59 = "/buffer 59"
|
||||
meta-j60 = "/buffer 60"
|
||||
meta-j61 = "/buffer 61"
|
||||
meta-j62 = "/buffer 62"
|
||||
meta-j63 = "/buffer 63"
|
||||
meta-j64 = "/buffer 64"
|
||||
meta-j65 = "/buffer 65"
|
||||
meta-j66 = "/buffer 66"
|
||||
meta-j67 = "/buffer 67"
|
||||
meta-j68 = "/buffer 68"
|
||||
meta-j69 = "/buffer 69"
|
||||
meta-j70 = "/buffer 70"
|
||||
meta-j71 = "/buffer 71"
|
||||
meta-j72 = "/buffer 72"
|
||||
meta-j73 = "/buffer 73"
|
||||
meta-j74 = "/buffer 74"
|
||||
meta-j75 = "/buffer 75"
|
||||
meta-j76 = "/buffer 76"
|
||||
meta-j77 = "/buffer 77"
|
||||
meta-j78 = "/buffer 78"
|
||||
meta-j79 = "/buffer 79"
|
||||
meta-j80 = "/buffer 80"
|
||||
meta-j81 = "/buffer 81"
|
||||
meta-j82 = "/buffer 82"
|
||||
meta-j83 = "/buffer 83"
|
||||
meta-j84 = "/buffer 84"
|
||||
meta-j85 = "/buffer 85"
|
||||
meta-j86 = "/buffer 86"
|
||||
meta-j87 = "/buffer 87"
|
||||
meta-j88 = "/buffer 88"
|
||||
meta-j89 = "/buffer 89"
|
||||
meta-j90 = "/buffer 90"
|
||||
meta-j91 = "/buffer 91"
|
||||
meta-j92 = "/buffer 92"
|
||||
meta-j93 = "/buffer 93"
|
||||
meta-j94 = "/buffer 94"
|
||||
meta-j95 = "/buffer 95"
|
||||
meta-j96 = "/buffer 96"
|
||||
meta-j97 = "/buffer 97"
|
||||
meta-j98 = "/buffer 98"
|
||||
meta-j99 = "/buffer 99"
|
||||
meta-k = "/input grab_key_command"
|
||||
meta-l = "/window bare"
|
||||
meta-m = "/mute mouse toggle"
|
||||
meta-n = "/window scroll_next_highlight"
|
||||
meta-p = "/window scroll_previous_highlight"
|
||||
meta-r = "/input delete_line"
|
||||
meta-s = "/mute aspell toggle"
|
||||
meta-u = "/window scroll_unread"
|
||||
meta-wmeta-meta2-A = "/window up"
|
||||
meta-wmeta-meta2-B = "/window down"
|
||||
meta-wmeta-meta2-C = "/window right"
|
||||
meta-wmeta-meta2-D = "/window left"
|
||||
meta-wmeta2-1;3A = "/window up"
|
||||
meta-wmeta2-1;3B = "/window down"
|
||||
meta-wmeta2-1;3C = "/window right"
|
||||
meta-wmeta2-1;3D = "/window left"
|
||||
meta-wmeta-b = "/window balance"
|
||||
meta-wmeta-s = "/window swap"
|
||||
meta-x = "/input zoom_merged_buffer"
|
||||
meta-z = "/window zoom"
|
||||
ctrl-_ = "/input undo"
|
||||
|
||||
[key_search]
|
||||
ctrl-I = "/input search_switch_where"
|
||||
ctrl-J = "/input search_stop"
|
||||
ctrl-M = "/input search_stop"
|
||||
ctrl-R = "/input search_switch_regex"
|
||||
meta2-A = "/input search_previous"
|
||||
meta2-B = "/input search_next"
|
||||
meta-c = "/input search_switch_case"
|
||||
|
||||
[key_cursor]
|
||||
ctrl-J = "/cursor stop"
|
||||
ctrl-M = "/cursor stop"
|
||||
meta-meta2-A = "/cursor move area_up"
|
||||
meta-meta2-B = "/cursor move area_down"
|
||||
meta-meta2-C = "/cursor move area_right"
|
||||
meta-meta2-D = "/cursor move area_left"
|
||||
meta2-1;3A = "/cursor move area_up"
|
||||
meta2-1;3B = "/cursor move area_down"
|
||||
meta2-1;3C = "/cursor move area_right"
|
||||
meta2-1;3D = "/cursor move area_left"
|
||||
meta2-A = "/cursor move up"
|
||||
meta2-B = "/cursor move down"
|
||||
meta2-C = "/cursor move right"
|
||||
meta2-D = "/cursor move left"
|
||||
@item(buffer_nicklist):K = "/window ${_window_number};/kickban ${nick}"
|
||||
@item(buffer_nicklist):b = "/window ${_window_number};/ban ${nick}"
|
||||
@item(buffer_nicklist):k = "/window ${_window_number};/kick ${nick}"
|
||||
@item(buffer_nicklist):q = "/window ${_window_number};/query ${nick};/cursor stop"
|
||||
@item(buffer_nicklist):w = "/window ${_window_number};/whois ${nick}"
|
||||
@chat:Q = "hsignal:chat_quote_time_prefix_message;/cursor stop"
|
||||
@chat:m = "hsignal:chat_quote_message;/cursor stop"
|
||||
@chat:q = "hsignal:chat_quote_prefix_message;/cursor stop"
|
||||
|
||||
[key_mouse]
|
||||
@bar(buflist):ctrl-wheeldown = "hsignal:buflist_mouse"
|
||||
@bar(buflist):ctrl-wheelup = "hsignal:buflist_mouse"
|
||||
@bar(input):button2 = "/input grab_mouse_area"
|
||||
@bar(nicklist):button1-gesture-down = "/bar scroll nicklist ${_window_number} +100%"
|
||||
@bar(nicklist):button1-gesture-down-long = "/bar scroll nicklist ${_window_number} e"
|
||||
@bar(nicklist):button1-gesture-up = "/bar scroll nicklist ${_window_number} -100%"
|
||||
@bar(nicklist):button1-gesture-up-long = "/bar scroll nicklist ${_window_number} b"
|
||||
@chat(perl.iset):button1 = "hsignal:iset_mouse"
|
||||
@chat(perl.iset):button2* = "hsignal:iset_mouse"
|
||||
@chat(perl.iset):wheeldown = "/repeat 5 /iset **down"
|
||||
@chat(perl.iset):wheelup = "/repeat 5 /iset **up"
|
||||
@chat(script.scripts):button1 = "/window ${_window_number};/script go ${_chat_line_y}"
|
||||
@chat(script.scripts):button2 = "/window ${_window_number};/script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}"
|
||||
@chat(script.scripts):wheeldown = "/script down 5"
|
||||
@chat(script.scripts):wheelup = "/script up 5"
|
||||
@item(buffer_nicklist):button1 = "/window ${_window_number};/query ${nick}"
|
||||
@item(buffer_nicklist):button1-gesture-left = "/window ${_window_number};/kick ${nick}"
|
||||
@item(buffer_nicklist):button1-gesture-left-long = "/window ${_window_number};/kickban ${nick}"
|
||||
@item(buffer_nicklist):button2 = "/window ${_window_number};/whois ${nick}"
|
||||
@item(buffer_nicklist):button2-gesture-left = "/window ${_window_number};/ban ${nick}"
|
||||
@bar:wheeldown = "/bar scroll ${_bar_name} ${_window_number} +20%"
|
||||
@bar:wheelup = "/bar scroll ${_bar_name} ${_window_number} -20%"
|
||||
@chat:button1 = "/window ${_window_number}"
|
||||
@chat:button1-gesture-left = "/window ${_window_number};/buffer -1"
|
||||
@chat:button1-gesture-left-long = "/window ${_window_number};/buffer 1"
|
||||
@chat:button1-gesture-right = "/window ${_window_number};/buffer +1"
|
||||
@chat:button1-gesture-right-long = "/window ${_window_number};/input jump_last_buffer"
|
||||
@chat:ctrl-wheeldown = "/window scroll_horiz -window ${_window_number} +10%"
|
||||
@chat:ctrl-wheelup = "/window scroll_horiz -window ${_window_number} -10%"
|
||||
@chat:wheeldown = "/window scroll_down -window ${_window_number}"
|
||||
@chat:wheelup = "/window scroll_up -window ${_window_number}"
|
||||
@*:button3 = "/cursor go ${_x},${_y}"
|
|
@ -0,0 +1,39 @@
|
|||
#
|
||||
# xfer.conf -- weechat v1.0.1
|
||||
#
|
||||
|
||||
[look]
|
||||
auto_open_buffer = on
|
||||
progress_bar_size = 20
|
||||
pv_tags = "notify_private"
|
||||
|
||||
[color]
|
||||
status_aborted = lightred
|
||||
status_active = lightblue
|
||||
status_connecting = 130
|
||||
status_done = lightgreen
|
||||
status_failed = lightred
|
||||
status_waiting = lightcyan
|
||||
text = default
|
||||
text_bg = default
|
||||
text_selected = white
|
||||
|
||||
[network]
|
||||
blocksize = 65536
|
||||
fast_send = on
|
||||
own_ip = ""
|
||||
port_range = ""
|
||||
speed_limit = 0
|
||||
timeout = 300
|
||||
|
||||
[file]
|
||||
auto_accept_chats = off
|
||||
auto_accept_files = off
|
||||
auto_accept_nicks = ""
|
||||
auto_check_crc32 = off
|
||||
auto_rename = on
|
||||
auto_resume = on
|
||||
convert_spaces = on
|
||||
download_path = "%h/xfer"
|
||||
upload_path = "~"
|
||||
use_nick_in_filename = on
|
|
@ -0,0 +1,51 @@
|
|||
Received: by mail.tilde.team (Postfix, from userid 1000)
|
||||
id 9AD9FBA022F; Thu, 23 Aug 2018 02:17:28 -0400 (EDT)
|
||||
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tilde.team; s=mail;
|
||||
t=1535005048; bh=S5WXK9T/CeFCjB8PRLvtD1LL6FLg0nwAvQ026cayZiQ=;
|
||||
h=Date:From:To:Subject:From;
|
||||
b=AVR2lN3zEj1xn/545p1gCvwEa8cz5UALEn/ColnXLmP12a8zXPDP3VH3GMMkCf5zW
|
||||
ybOhycyw1OwDwvH5u5lMDZfnyk+Yrk0dF9vAUYAfCkuL8L7DKKHfP+nAtAnV04LiJh
|
||||
BzFTiGLyXZaPMLRWs/2rgpI1ItuKO4AUjaFcbkn4=
|
||||
Date: Thu, 23 Aug 2018 02:17:28 -0400
|
||||
From: root@tilde.team
|
||||
To: newuser <newuser@tilde.team>
|
||||
Subject: welcome! press enter to read me!
|
||||
Message-ID: <20180823061728.GA11176@tilde.team>
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=us-ascii
|
||||
Content-Disposition: inline
|
||||
User-Agent: Mutt/1.9.4 (2018-02-28)
|
||||
|
||||
hey!,
|
||||
|
||||
welcome to tilde.team!
|
||||
|
||||
you made it! we've set you up with a 'byobu' session with the
|
||||
following default tabs:
|
||||
|
||||
- weechat for irc
|
||||
- mutt for email
|
||||
- a shell
|
||||
|
||||
if you're reading this, you're in the mutt pane. have a look
|
||||
at the status bar at the bottom. the current windows are shown
|
||||
in the bottom left, with several system status symbols on the right.
|
||||
|
||||
some of the most important keybinds are:
|
||||
|
||||
- f2: open a new window/tab
|
||||
- f3/f4: prev/next windows
|
||||
- f6: disconnect from you byobu session
|
||||
|
||||
press shift-f1 to see a more complete list of keybinds,
|
||||
but these will get you wherever you need to go.
|
||||
|
||||
if you need help, switch to the first window and ask in irc.
|
||||
|
||||
also, if you know what you're doing and would rather use a different
|
||||
terminal multiplexer, run byobu-disable to prevent it from launching on login.
|
||||
|
||||
we look forward to seeing you around! welcome to the ~team!
|
||||
|
||||
~tilde.team admins
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
=/usr/bin/figlet -f slant "~"$(stat -c '%U' `pwd`)
|
||||
|
||||
this is my gopher page.
|
||||
|
||||
there are many like it, but this one is mine.
|
||||
|
||||
1back to tilde.team /
|
||||
|
||||
*
|
Binary file not shown.
After Width: | Height: | Size: 916 B |
|
@ -0,0 +1,2 @@
|
|||
global_title="my tildelog"
|
||||
global_description="a blog about tildes"
|
|
@ -0,0 +1,4 @@
|
|||
<html>
|
||||
<pre>cd</pre> to your <pre>~/public_html/blog/</pre> folder and run <pre>bb post</pre>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
echo "Content-type: text/plain"
|
||||
echo ""
|
||||
|
||||
echo $REMOTE_ADDR
|
||||
exit 0
|
||||
|
|
@ -0,0 +1,31 @@
|
|||
<?php $user = posix_getpwuid(fileowner(__FILE__))["name"]; ?>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="tilde.team unix group">
|
||||
<meta name="author" content="<?=$user?>">
|
||||
<meta name="theme-color" content="#00cc00">
|
||||
<title><?=$user?>~tilde.team</title>
|
||||
<link rel="stylesheet" type="text/css" href="https://tilde.team/css/hacker.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="page-header">
|
||||
<div class="pull-right">
|
||||
<p><a href="https://tilde.team/"><- back to tilde.team</a></p>
|
||||
</div>
|
||||
<h1><strong>~<?=$user?></strong></h1>
|
||||
</div>
|
||||
|
||||
|
||||
<p>Just log in with your secure internet shell to change this file! </p>
|
||||
|
||||
<p>You may want to read: <a href="https://tilde.team/wiki/?page=getting-started">How to ~tilde: Getting Started</a> for help.</p>
|
||||
|
||||
<p>Check out your new <a href="blog">blog</a>!</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue