logo

dotfiles

$HOME files, branches are the machines hostnames
commit: 768212439f8df9a3ee0ef89ee76f0160e8c480eb
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat, 31 Oct 2015 06:42:54 +0100

Reborn of the home

Diffstat:

.XCompose | 105+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.bash_logout | 6++++++
.bash_profile | 5+++++
.bashrc | 26++++++++++++++++++++++++++
.common.sh | 33+++++++++++++++++++++++++++++++++
.config/gtk-3.0/settings.ini | 5+++++
.config/gtkrc-2.0 | 4++++
.gitconfig | 3+++
.gitignore | 1+
.gitmodules | 3+++
.gnupg/gpg.conf | 236+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.i3/config | 189+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.i3status.conf | 69+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.mcabber/mcabberrc | 1+
.newsrc | 140+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.rtorrent.rc | 13+++++++++++++
.vim | 1+
.vimrc | 68++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.xinitrc | 1+
.zshrc | 50++++++++++++++++++++++++++++++++++++++++++++++++++
20 files changed, 959 insertions(+), 0 deletions(-)

diff --git a/.XCompose b/.XCompose @@ -0,0 +1,105 @@ +#include default Compose keys +include "%L" + +<Multi_key> <colon> <D> : "ᕕ(ᐛ)ᕗ" # Happy garry stroll +<Multi_key> <colon> <u> : "µ" U00B5 # MICRO SIGN +<Multi_key> <asciicircum> <a> : "ª" U00AA # FEMININE ORDINAL INDICATOR +<Multi_key> <asciicircum> <o> : "º" U00BA # MASCULINE ORDINAL INDICATOR +<Multi_key> <*> <d> : "Δ" U0394 # DELTA +<Multi_key> <p> <i> : "π" U03C0 # GREEK SMALL LETTER PI +<Multi_key> <bar> <B> : "฿" U0E3F # BITCOIN CURRENCY SIGN, ORIGINAL THAI CURRENCY SYMBOL BAHT +<Multi_key> <B> <bar> : "฿" U0E3F # BITCOIN CURRENCY SIGN, ORIGINAL THAI CURRENCY SYMBOL BAHT +<Multi_key> <equal> <equal> : "‗" U2017 # DOUBLE LOW LINE +<Multi_key> <apostrophe> <apostrophe> : "’" U2019 # Apostrophe for punctuation +<Multi_key> <1> <3> : "⅓" U2153 # VULGAR FRACTION ONE THIRD +<Multi_key> <2> <3> : "⅔" U2154 # VULGAR FRACTION TWO THIRDS +<Multi_key> <1> <5> : "⅕" U2155 # VULGAR FRACTION ONE FIFTH +<Multi_key> <2> <5> : "⅖" U2156 # VULGAR FRACTION TWO FIFTHS +<Multi_key> <3> <5> : "⅗" U2157 # VULGAR FRACTION THREE FIFTHS +<Multi_key> <4> <5> : "⅘" U2158 # VULGAR FRACTION FOUR FIFTHS +<Multi_key> <1> <6> : "⅙" U2159 # VULGAR FRACTION ONE SIXTH +<Multi_key> <5> <6> : "⅚" U215A # VULGAR FRACTION FIVE SIXTHS +<Multi_key> <1> <8> : "⅛" U215B # VULGAR FRACTION ONE EIGHTH +<Multi_key> <3> <8> : "⅜" U215C # VULGAR FRACTION THREE EIGHTHS +<Multi_key> <5> <8> : "⅝" U215D # VULGAR FRACTION FIVE EIGHTHS +<Multi_key> <7> <8> : "⅞" U215E # VULGAR FRACTION SEVEN EIGHTHS +# == Arrows == +<Multi_key> <asciicircum> <minus> : "↑" U2191 # UPWARDS ARROW +<Multi_key> <minus> <v> : "↓" U2193 # DOWNWARDS ARROW +<Multi_key> <asciicircum> <minus> <v> : "↕" U2195 # UP DOWN ARROW +<Multi_key> <Up> <Down> : "↕" U2195 # UP DOWN ARROW +<Multi_key> <backslash> <less> : "↖" U2196 # NORTH WEST ARROW +<Multi_key> <slash> <greater> : "↗" U2197 # NORTH EAST ARROW +<Multi_key> <backslash> <greater> : "↘" U2198 # SOUTH EAST ARROW +<Multi_key> <less> <slash> : "↙" U2199 # SOUTH WEST ARROW +<Multi_key> <less> <asciitilde> : "↜" U219C # LEFTWARDS WAVE ARROW +<Multi_key> <asciitilde> <greater> : "↝" U219D # RIGHTWARDS WAVE ARROW +<Multi_key> <backslash> <Return> : "↹" U21B9 # LEFTWARDS ARROW TO BAR OVER RIGHTWARDS ARROW TO BAR +<Multi_key> <equal> <greater> : "⇒" U21D2 # RIGHTWARDS DOUBLE ARROW +<Multi_key> <less> <equal> : "⇐" U21D0 # LEFTWARDS DOUBLE ARROW +<Multi_key> <less> <equal> <greater> : "⇔" U21D4 # LEFT RIGHT DOUBLE ARROW + +<Multi_key> <i> <n> : "∈" U2208 # ELEMENT OF +<Multi_key> <exclam> <i> <n> : "∉" U2209 # NOT AN ELEMENT OF +<Multi_key> <slash> <i> <n> : "∉" U2209 # NOT AN ELEMENT OF +<Multi_key> <s> <r> : "√" U221A # SQUARE ROOT +<Multi_key> <0> <0> : "∞" U221E # Loop/Infinity +<Multi_key> <slash> <backslash> : "∧" U2227 # LOGICAL AND +<Multi_key> <backslash> <slash> : "∨" U2228 # LOGICAL OR +# Morts au vaches +<Multi_key> <period> <quotedbl> : "∴" U2234 # THEREFORE +<Multi_key> <quotedbl> <period> : "∵" U2235 # BECAUSE +<Multi_key> <colon> <asciitilde> : "⍨" U2368 # APL FUNCTIONAL SYMBOL TILDE DIAERESIS +<Multi_key> <o> <a> : "Ⓐ" U24B6 # CIRCLED LATIN CAPITAL LETTER A +<Multi_key> <backslash> <space> : "␣" U2423 # OPEN BOX +<Multi_key> <bar> <greater> : "▶" U25B6 # Black right-pointing triangle +<Multi_key> <less> <bar> : "◀" U25C0 # Black right-pointing triangle +<Multi_key> <8> <X> : "☠" U2620 # SKULL AND CROSSBONES +<Multi_key> <Multi_key> <p> <c> : "☮" U262E # PEACE SYMBOL +<Multi_key> <Multi_key> <y> <y> : "☯" U262F # YIN YANG +<Multi_key> <colon> <parenleft> : "☹" U2639 # WHITE FROWNING FACE +<Multi_key> <o> <plus> : "♀" U2640 # FEMALE SIGN +<Multi_key> <Multi_key> <f> <e> <m> <e> : "♀" U2640 # FEMALE SIGN +<Multi_key> <o> <greater> : "♂" U2642 # MALE SIGN +<Multi_key> <Multi_key> <m> <a> <l> <e> : "♂" U2642 # MALE SIGN +<Multi_key> <Multi_key> <y> <u> <r> <i> : "⚢" U26A2 # DOUBLED FEMALE SIGN +<Multi_key> <Multi_key> <y> <a> <o> <i> : "⚣" U26A3 # DOUBLED MALE SIGN +<Multi_key> <Multi_key> <b> <i> : "⚤" U26A4 # INTERLOCKED FEMALE AND MALE SIGNi +<Multi_key> <Multi_key> <h> <e> <r> <m> <a> : "⚥" U26A5 # MALE AND FEMALE SIGN +<Multi_key> <Multi_key> <i> <n> <t> <e> <r> : "⚦" U26A6 # MALE WITH STROKE SIGN +<Multi_key> <Multi_key> <q> <u> <e> <e> <r> : "⚧" U26A7 # MALE WITH STROKE AND MALE AND FEMAL SIGN +<Multi_key> <Multi_key> <g> <q> : "⚧" U26A7 # MALE WITH STROKE AND MALE AND FEMAL SIGN +# == Hands == +<Multi_key> <F> <Left> : "☚" U261A # BLACK LEFT POINTING INDEX +<Multi_key> <F> <Right> : "☛" U261B # BLACK RIGHT POINTING INDEX +<Multi_key> <f> <Left> : "☜" U261C # WHITE LEFT POINTING INDEX +<Multi_key> <f> <Up> : "☝" U261D # WHITE UP POINTING INDEX +<Multi_key> <f> <Right> : "☞" U261E # WHITE RIGHT POINTING INDEX +<Multi_key> <f> <Down> : "☟" U261F # WHITE DOWN POINTING INDEX +<Multi_key> <slash> <exclam> <backslash> : "⚠" U26A0 # WARNING SIGN +<Multi_key> <Multi_key> <h> <p> : "⚡" U26A1 # HIGH VOLTAGE SIGN +<Multi_key> <Multi_key> <l> <i> <l> <i> <t> <h> : "⚸" U26B8 # BLACK MOON LILITH +<Multi_key> <asterisk> <5> : "⛤" U26E4 # PENTAGRAM +<Multi_key> <Up> <asterisk> <5> : "⛤" U26E4 # PENTAGRAM +<Multi_key> <Right> <asterisk> <5> : "⛤" U26E5 # RIGHT-HANDED INTERLACED PENTAGRAM +<Multi_key> <Left> <asterisk> <5> : "⛦" U26E6 # LEFT-HANDED INTERLACED PENTAGRAM +<Multi_key> <Down> <asterisk> <5> : "⛧" U26E7 # INVERTED PENTAGRAM +<Multi_key> <f> <v> : "✌" U270C # VICTORY HAND +<Multi_key> <f> <w> : "✍" U270D # WRITING HAND +<Multi_key> <f> <p> <Down> : "✎" U270E # LOWER RIGHT PENCIL +<Multi_key> <f> <p> <Right> : "✏" U270F # PENCIL +<Multi_key> <f> <p> <Up> : "✐" U2710 # UPPER RIGHT PENCIL + +<Multi_key> <colon> <parenright> : "☺" U263A # WHITE SMILING FACE +<Multi_key> <colon> <bar> : "⸚" U2E1A # HYPHEN WITH DIAERESIS +<Multi_key> <underscore> <U2212> : "₋" U208B # SUBSCRIPT MINUS +<Multi_key> <underbar> <U2212> : "₋" U208B # SUBSCRIPT MINUS +<Multi_key> <underbar> <minus> : "₋" U208B # SUBSCRIPT MINUS + +<Multi_key> <Multi_key> <o> <o> <parenright> : "°͜°" # Funny smiley-FACE +<Multi_key> <Multi_key> <o> <o> <D> : "( ͡° ͜ʖ ͡°)" # PERV smiley-FACE +<Multi_key> <Multi_key> <m> <e> <h> : "( ͡ʘ╭͜ʖ╮͡ʘ)" # le Meh face +<Multi_key> <7> <quotedbl> : "『" U300E # LEFT WHITE CORNER BRACKET +<Multi_key> <L> <quotedbl> : "』" U300F # RIGHT WHITE CORNER BRACKET +<Multi_key> <7> <apostrophe> : "「" UFF62 # HALFWIDTH LEFT CORNER BRACKET +<Multi_key> <L> <apostrophe> : "」" UFF63 # HALFWIDTH RIGHT CORNER BRACKET diff --git a/.bash_logout b/.bash_logout @@ -0,0 +1,6 @@ +# /etc/skel/.bash_logout + +# This file is sourced when a login shell terminates. + +# Clear the screen for security's sake. +clear diff --git a/.bash_profile b/.bash_profile @@ -0,0 +1,5 @@ +# /etc/skel/.bash_profile + +# This file is sourced by bash for login shells. The following line +# runs your .bashrc and is recommended by the bash info pages. +[[ -f ~/.bashrc ]] && . ~/.bashrc diff --git a/.bashrc b/.bashrc @@ -0,0 +1,26 @@ +source ~/.common.sh + +color_prompt=yes +force_color_prompt=yes + +precmd() { + local branch + if branch=$(git rev-parse --abbrev-ref HEAD 2> /dev/null); then + if [[ "$branch" == "HEAD" ]]; then + branch='detached*' + fi + git_branch="($branch)" + else + git_branch="" + fi +} + +case "$TERM" in + "xterm") + PS1="\033]0;\u@\h\W\007\[\e[31m\]\u\[\e[36m\]@\H\[\e[32m\]\w\[\e[33m\]\[\$git_branch\]\[\e[32m\]\$\[\e[0m\] " + ;; + *) + PS1="\[\e[31m\]\u\[\e[36m\]@\H\[\e[32m\]\w\[\e[33m\]\[\$git_branch\]\[\e[32m\]\$\[\e[0m\] " + ;; +esac +#PS1="\033]0;\u@\h\W\007\[\e[31m\]\u\[\e[36m\]@\H\[\e[32m\]\w\[\e[33m\]\[\$git_branch\]\[\e[32m\]\$\[\e[0m\] " diff --git a/.common.sh b/.common.sh @@ -0,0 +1,33 @@ +# exports +export EDITOR='/usr/bin/vim' +export NNTPSERVER='news.free.fr' # USENET server +export GPGKEY='4BBEBBAD' +export PI='3.141592653589793' +export TZ='Europe/Berlin' +export LANG='en_US.UTF-8' +#export GTK_IM_MODULE="xim" +#export QT_IM_MODULE="xim" +#export XMODIFIERS="@im=XIM" +export PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin/X11:/usr/games/bin:/usr/local/bin:/usr/local/sbin:/usr/local/inferno/Linux/386/bin:~/.local/bin" + +# Aliases +alias git-history="git log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(cyan)%h%C(reset)%C(green)(%ar)%C(reset)%s %C(red)- %an %C(reset)%C(yellow)%d%C(reset)' --all" +alias ll='ls -alhF' +alias la='ls -ahF' +alias ls='ls -hF' +alias j='jobs -l' +alias mv='mv -i' +alias psmem='ps -eo pid,user,pcpu,pmem,comm --sort -pmem | head -20' +alias pscpu='ps -eo pid,user,pcpu,pmem,comm --sort -pcpu | head -20' + +# Add gpg-agent for ssh +export GPG_TTY=$(tty) +if [ -f ~/.cache/gpg-agent-info ]; then + . ~/.cache/gpg-agent-info + export GPG_AGENT_INFO + export SSH_AUTH_SOCK +fi + +# Freedesktop shit +export XDG_DOWNLOAD_DIR="~/Downloads" # That should second trash directory be default anyway +export XDG_DESKTOP_DIR="/dev/null" # I don’t want shit for desktop, I don’t have one diff --git a/.config/gtk-3.0/settings.ini b/.config/gtk-3.0/settings.ini @@ -0,0 +1,5 @@ +[Settings] +gtk-icon-theme-name = Adwaita +gtk-theme-name = Adwaita +gtk-font-name = DejaVu Sans 11 +gtk-application-prefer-dark-theme = true diff --git a/.config/gtkrc-2.0 b/.config/gtkrc-2.0 @@ -0,0 +1,4 @@ +gtk-icon-theme-name = "Adwaita" +gtk-theme-name = "Adwaita" +gtk-font-name = "DejaVu Sans 11" +gtk-recent-files-max-age = 0 diff --git a/.gitconfig b/.gitconfig @@ -0,0 +1,3 @@ +[user] + email = contact@hacktivis.me + name = Haelwenn (lanodan) Monnier diff --git a/.gitignore b/.gitignore @@ -0,0 +1 @@ +.bash_history diff --git a/.gitmodules b/.gitmodules @@ -0,0 +1,3 @@ +[submodule ".vim"] + path = .vim + url = https://github.com/Shougo/neocomplete.vim diff --git a/.gnupg/gpg.conf b/.gnupg/gpg.conf @@ -0,0 +1,236 @@ +# Options for GnuPG +# Copyright 1998, 1999, 2000, 2001, 2002, 2003, +# 2010 Free Software Foundation, Inc. +# +# This file is free software; as a special exception the author gives +# unlimited permission to copy and/or distribute it, with or without +# modifications, as long as this notice is preserved. +# +# This file is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the +# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +# +# Unless you specify which option file to use (with the command line +# option "--options filename"), GnuPG uses the file ~/.gnupg/gpg.conf +# by default. +# +# An options file can contain any long options which are available in +# GnuPG. If the first non white space character of a line is a '#', +# this line is ignored. Empty lines are also ignored. +# +# See the man page for a list of options. + +# Uncomment the following option to get rid of the copyright notice + +#no-greeting + +# If you have more than 1 secret key in your keyring, you may want to +# uncomment the following option and set your preferred keyid. + +default-key 4BBEBBAD + +# If you do not pass a recipient to gpg, it will ask for one. Using +# this option you can encrypt to a default key. Key validation will +# not be done in this case. The second form uses the default key as +# default recipient. + +#default-recipient some-user-id +default-recipient-self + +# Use --encrypt-to to add the specified key as a recipient to all +# messages. This is useful, for example, when sending mail through a +# mail client that does not automatically encrypt mail to your key. +# In the example, this option allows you to read your local copy of +# encrypted mail that you've sent to others. + +#encrypt-to some-key-id + +# By default GnuPG creates version 4 signatures for data files as +# specified by OpenPGP. Some earlier (PGP 6, PGP 7) versions of PGP +# require the older version 3 signatures. Setting this option forces +# GnuPG to create version 3 signatures. + +#force-v3-sigs + +# Because some mailers change lines starting with "From " to ">From " +# it is good to handle such lines in a special way when creating +# cleartext signatures; all other PGP versions do it this way too. + +#no-escape-from-lines + +# If you do not use the Latin-1 (ISO-8859-1) charset, you should tell +# GnuPG which is the native character set. Please check the man page +# for supported character sets. This character set is only used for +# metadata and not for the actual message which does not undergo any +# translation. Note that future version of GnuPG will change to UTF-8 +# as default character set. In most cases this option is not required +# as GnuPG is able to figure out the correct charset at runtime. + +charset utf-8 + +# Group names may be defined like this: +# group mynames = paige 0x12345678 joe patti +# +# Any time "mynames" is a recipient (-r or --recipient), it will be +# expanded to the names "paige", "joe", and "patti", and the key ID +# "0x12345678". Note there is only one level of expansion - you +# cannot make an group that points to another group. Note also that +# if there are spaces in the recipient name, this will appear as two +# recipients. In these cases it is better to use the key ID. + +#group mynames = paige 0x12345678 joe patti + +# Lock the file only once for the lifetime of a process. If you do +# not define this, the lock will be obtained and released every time +# it is needed, which is usually preferable. + +#lock-once + +# GnuPG can send and receive keys to and from a keyserver. These +# servers can be HKP, email, or LDAP (if GnuPG is built with LDAP +# support). +# +# Example HKP keyserver: +# hkp://keys.gnupg.net +# hkp://subkeys.pgp.net +# +# Example email keyserver: +# mailto:pgp-public-keys@keys.pgp.net +# +# Example LDAP keyservers: +# ldap://keyserver.pgp.com +# +# Regular URL syntax applies, and you can set an alternate port +# through the usual method: +# hkp://keyserver.example.net:22742 +# +# Most users just set the name and type of their preferred keyserver. +# Note that most servers (with the notable exception of +# ldap://keyserver.pgp.com) synchronize changes with each other. Note +# also that a single server name may actually point to multiple +# servers via DNS round-robin. hkp://keys.gnupg.net is an example of +# such a "server", which spreads the load over a number of physical +# servers. To see the IP address of the server actually used, you may use +# the "--keyserver-options debug". + +keyserver hkp://keys.gnupg.net +#keyserver mailto:pgp-public-keys@keys.nl.pgp.net +#keyserver ldap://keyserver.pgp.com + +# Common options for keyserver functions: +# +# include-disabled : when searching, include keys marked as "disabled" +# on the keyserver (not all keyservers support this). +# +# no-include-revoked : when searching, do not include keys marked as +# "revoked" on the keyserver. +# +# verbose : show more information as the keys are fetched. +# Can be used more than once to increase the amount +# of information shown. +# +# use-temp-files : use temporary files instead of a pipe to talk to the +# keyserver. Some platforms (Win32 for one) always +# have this on. +# +# keep-temp-files : do not delete temporary files after using them +# (really only useful for debugging) +# +# http-proxy="proxy" : set the proxy to use for HTTP and HKP keyservers. +# This overrides the "http_proxy" environment variable, +# if any. +# +# auto-key-retrieve : automatically fetch keys as needed from the keyserver +# when verifying signatures or when importing keys that +# have been revoked by a revocation key that is not +# present on the keyring. +# +# no-include-attributes : do not include attribute IDs (aka "photo IDs") +# when sending keys to the keyserver. + +keyserver-options auto-key-retrieve + +# Display photo user IDs in key listings + +list-options show-photos + +# Display photo user IDs when a signature from a key with a photo is +# verified + +# verify-options show-photos + +# Use this program to display photo user IDs +# +# %i is expanded to a temporary file that contains the photo. +# %I is the same as %i, but the file isn't deleted afterwards by GnuPG. +# %k is expanded to the key ID of the key. +# %K is expanded to the long OpenPGP key ID of the key. +# %t is expanded to the extension of the image (e.g. "jpg"). +# %T is expanded to the MIME type of the image (e.g. "image/jpeg"). +# %f is expanded to the fingerprint of the key. +# %% is %, of course. +# +# If %i or %I are not present, then the photo is supplied to the +# viewer on standard input. If your platform supports it, standard +# input is the best way to do this as it avoids the time and effort in +# generating and then cleaning up a secure temp file. +# +# If no photo-viewer is provided, GnuPG will look for xloadimage, eog, +# or display (ImageMagick). On Mac OS X and Windows, the default is +# to use your regular JPEG image viewer. +# +# Some other viewers: +photo-viewer "feh %i" +# photo-viewer "ee %i" +# +# This one saves a copy of the photo ID in your home directory: +# photo-viewer "cat > ~/photoid-for-key-%k.%t" +# +# Use your MIME handler to view photos: +#photo-viewer "metamail -q -d -b -c %T -s 'KeyID 0x%k' -f GnuPG" + +# Passphrase agent +# +# We support the old experimental passphrase agent protocol as well as +# the new Assuan based one (currently available in the "newpg" package +# at ftp.gnupg.org/gcrypt/alpha/aegypten/). To make use of the agent, +# you have to run an agent as daemon and use the option +# +# use-agent +# +# which tries to use the agent but will fallback to the regular mode +# if there is a problem connecting to the agent. The normal way to +# locate the agent is by looking at the environment variable +# GPG_AGENT_INFO which should have been set during gpg-agent startup. +# In certain situations the use of this variable is not possible, thus +# the option +# +# --gpg-agent-info=<path>:<pid>:1 +# +# may be used to override it. + +# Automatic key location +# +# GnuPG can automatically locate and retrieve keys as needed using the +# auto-key-locate option. This happens when encrypting to an email +# address (in the "user@example.com" form), and there are no +# user@example.com keys on the local keyring. This option takes the +# following arguments, in the order they are to be tried: +# +# cert = locate a key using DNS CERT, as specified in RFC-4398. +# GnuPG can handle both the PGP (key) and IPGP (URL + fingerprint) +# CERT methods. +# +# pka = locate a key using DNS PKA. +# +# ldap = locate a key using the PGP Universal method of checking +# "ldap://keys.(thedomain)". For example, encrypting to +# user@example.com will check ldap://keys.example.com. +# +# keyserver = locate a key using whatever keyserver is defined using +# the keyserver option. +# +# You may also list arbitrary keyservers here by URL. +# +# Try CERT, then PKA, then LDAP, then hkp://subkeys.net: +#auto-key-locate cert pka ldap hkp://subkeys.pgp.net diff --git a/.i3/config b/.i3/config @@ -0,0 +1,189 @@ +# This file has been auto-generated by i3-config-wizard(1). +# It will not be overwritten, so edit it as you like. +# +# Should you change your keyboard layout somewhen, delete +# this file and re-run i3-config-wizard(1). +# + +# i3 config file (v4) +# +# Please see http://i3wm.org/docs/userguide.html for a complete reference! + +# Setup Desktop +#exec xsetbg /datalove/img/wallpaper/background_1280x800.png +exec xrdb -merge ~/.Xresource + +#exec xautolock -locker locker -time 10 + +set $mod Mod4 + +#===== Shortcuts ======= +bindsym Help exec locker +bindsym Print exec screenshoot +bindsym Alt+Print exec screenshot + +bindsym XF86AudioMute exec amixer set Master playback toggle +bindsym XF86AudioLowerVolume exec amixer set Master playback 1%- +bindsym XF86AudioRaiseVolume exec amixer set Master playback 1%+ + +bindsym XF86AudioPlay exec mpc toggle +bindsym XF86AudioStop exec mpc stop +bindsym XF86AudioPrev exec mpc prev +bindsym XF86AudioNext exec mpc next + +#bindsym XF86HomePage exec .local/bin/firefox-dev +bindsym XF86HomePage exec x-www-browser + +bindsym Cancel exec xinput set-prop "Wacom Bamboo Connect Pen stylus" --type=float "Coordinate Transformation Matrix" 0.5 0 0 0 1 0 0 0 1 +bindsym Redo exec xinput set-prop "Wacom Bamboo Connect Pen stylus" --type=float "Coordinate Transformation Matrix" 0.5 0 0.5 0 1 0 0 0 1 + +bindsym $mod+minus scratchpad show + +# Font for window titles. Will also be used by the bar unless a different font +# is used in the bar {} block below. ISO 10646 = Unicode +font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 +# The font above is very space-efficient, that is, it looks good, sharp and +# clear in small sizes. However, if you need a lot of unicode glyphs or +# right-to-left text rendering, you should instead use pango for rendering and +# chose a FreeType font, such as: +# font pango:DejaVu Sans Mono 10 + +# Use Mouse+$mod to drag floating windows to their wanted position +floating_modifier $mod + +# start a terminal +bindsym $mod+Return exec st -e 'dvtm' +bindsym $mod+Shift+Return exec st -e 'dvtm' +bindsym $mod+Alt+Return exec st + +# kill focused window +bindsym $mod+q kill + +# toggle windows border +bindsym $mod+x border toggle + +# start dmenu (a program launcher) +bindsym $mod+d exec dmenu_run +# There also is the (new) i3-dmenu-desktop which only displays applications shipping a .desktop file. It is a wrapper around dmenu, so you need that installed. +bindsym $mod+Shift+d exec --no-startup-id i3-dmenu-desktop + +# change focus +bindsym $mod+h focus left +bindsym $mod+j focus down +bindsym $mod+k focus up +bindsym $mod+l focus right + +# alternatively, you can use the cursor keys: +bindsym $mod+Left focus left +bindsym $mod+Down focus down +bindsym $mod+Up focus up +bindsym $mod+Right focus right + +# move focused window +bindsym $mod+Shift+h move left +bindsym $mod+Shift+j move down +bindsym $mod+Shift+k move up +bindsym $mod+Shift+l move right + +# alternatively, you can use the cursor keys: +bindsym $mod+Shift+Left move left +bindsym $mod+Shift+Down move down +bindsym $mod+Shift+Up move up +bindsym $mod+Shift+Right move right + +# split in horizontal orientation +bindsym $mod+Shift+S split h +# split in vertical orientation +bindsym $mod+Shift+backslash split v + +# enter fullscreen mode for the focused container +bindsym $mod+f fullscreen +bindsym $mod+F11 fullscreen + +# change container layout (stacked, tabbed, toggle split) +bindsym $mod+s layout stacking +bindsym $mod+w layout tabbed +bindsym $mod+e layout toggle split + +# toggle tiling / floating +bindsym $mod+Shift+space floating toggle + +# change focus between tiling / floating windows +bindsym $mod+space focus mode_toggle + +# focus the parent container +bindsym $mod+a focus parent + +# focus the child container +#bindsym $mod+d focus child + +# switch to workspace +bindsym $mod+1 workspace 1 +bindsym $mod+2 workspace 2 +bindsym $mod+3 workspace 3 +bindsym $mod+4 workspace 4 +bindsym $mod+5 workspace 5 +bindsym $mod+6 workspace 6 +bindsym $mod+7 workspace 7 +bindsym $mod+8 workspace 8 +bindsym $mod+9 workspace 9 +bindsym $mod+0 workspace 10 + +# move focused container to workspace +bindsym $mod+Shift+1 move container to workspace 1 +bindsym $mod+Shift+2 move container to workspace 2 +bindsym $mod+Shift+3 move container to workspace 3 +bindsym $mod+Shift+4 move container to workspace 4 +bindsym $mod+Shift+5 move container to workspace 5 +bindsym $mod+Shift+6 move container to workspace 6 +bindsym $mod+Shift+7 move container to workspace 7 +bindsym $mod+Shift+8 move container to workspace 8 +bindsym $mod+Shift+9 move container to workspace 9 +bindsym $mod+Shift+0 move container to workspace 10 + +# reload the configuration file +bindsym $mod+Shift+c reload +# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) +bindsym $mod+Shift+r restart +# exit i3 (logs you out of your X session) +bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'" +# [WARNING] KILL i3 w/o confirmation +bindsym $mod+Shift+q exit + +bindsym $mod+r mode "resize" + +# resize window (you can also use the mouse for that) +mode "resize" { + # These bindings trigger as soon as you enter the resize mode + + # Pressing left will shrink the window’s width. + # Pressing right will grow the window’s width. + # Pressing up will shrink the window’s height. + # Pressing down will grow the window’s height. + bindsym h resize shrink width 5 px or 5 ppt + bindsym j resize grow height 5 px or 5 ppt + bindsym k resize shrink height 5 px or 5 ppt + bindsym l resize grow width 5 px or 5 ppt + + # same bindings, but for the arrow keys + bindsym Left resize shrink width 10 px or 10 ppt + bindsym Down resize grow height 10 px or 10 ppt + bindsym Up resize shrink height 10 px or 10 ppt + bindsym Right resize grow width 10 px or 10 ppt + + # back to normal: Enter or Escape + bindsym Return mode "default" + bindsym Escape mode "default" +} + +# Start i3bar to display a workspace bar (plus the system information i3status +# finds out, if available) +bar { + status_command i3status +} + +# Some windows needs floating mode by default +for_window [title="colorpicker"] floating enable +for_window [title="QEMU"] floating enable +for_window [class="firefox"] move workspace 2 +for_window [class="xterm"] floating enable diff --git a/.i3status.conf b/.i3status.conf @@ -0,0 +1,69 @@ +# i3status configuration file. +# see "man i3status" for documentation. + +# It is important that this file is edited as UTF-8. +# The following line should contain a sharp s: +# ß +# If the above line is not correctly displayed, fix your editor first! + +general { + colors = true + interval = 5 +} + +order += "disk /" +order += "ethernet enp3s0" +order += "cpu_usage" +order += "load" +order += "battery 0" +order += "volume master" +order += "volume PCM" +order += "tztime local" +order += "time" + +disk / {format = "%total(%percentage_used):%avail"} + +wireless wlan3 { + format_up = "wlan: %ip %essid %quality %bitrate" + format_down = "wlan: down" +} + +ethernet enp3s0 { + format_up = "e:3:0 %ip %speed" + format_down = "e:3:0 down" +} + +load {format = "%1min %5min %15min"} + +battery 0 { + format = "%status %percentage %remaining %emptytime" + format = "%status %percentage %remaining (%emptytime %consumption)" + last_full_capacity = true + low_threshold = 10 + threshold_type = time +} + +cpu_usage { + format = "CPU: %usage" +} + +volume master { + format = "♫: %volume" +# format_muted = "♫| %volume" + mixer = "Master" + device = "hw:0.0" +} + +volume PCM { + format = "♪: %volume" +# format_muted = "♪| %volume" + mixer = "PCM" + device = "hw:0.0" +} + +time {format = "%F %T%z"} + +tztime local { + timezone = "Europe/Berlin" + format = "%F %T%z" +} diff --git a/.mcabber/mcabberrc b/.mcabber/mcabberrc @@ -0,0 +1 @@ +set jid = lanodan@jappix.com diff --git a/.newsrc b/.newsrc @@ -0,0 +1,140 @@ +rec.games.corewar: 1-10940 +alt.comp.blind-users: +alt.comp.freeware: +alt.comp.apps.irc: +alt.comp.apps.browsers: +alt.comp.hardware: +alt.comp.project-management: +fr.petites-annonces.telephones.mobiles: +comp.sys.arm: +fr.comp.graphisme.pao: +fr.rec.sport.roller: +comp.mail.mutt: +comp.realtime: +fr.sci.psychanalyse: +fr.reseaux.internet.fournisseurs: +fr.misc.transport.velo: +comp.compilers.lcc: +fr.rec.bricolage: +fr.rec.radio: +fr.rec.jeux.jdr: +comp.security.ssh: +fr.rec.sport.equitation: +fr.rec.aviation: +fr.soc.alternatives: +fr.sci.sociologie: +fr.rec.arts.musique.metal: +comp.arch.embedded: +fr.soc.environnement: +fr.comp.developpement: +comp.unix.bsd.openbsd.misc: +fr.rec.arts.fantasy: +comp.graphics.apps.gnuplot: +fr.reseaux.internet.cable: +comp.risks: +comp.graphics.apps.gimp: +fr.lettres.langue.francaise: +fr.comp.peripheriques.modems: +fr.sci.electronique: +fr.rec.arts.musique.electronique: +comp.lang.python: +fr.comp.lang.python: +fr.rec.sport.cyclisme: +fr.comp.normes.unicode: +comp.lang.tcl: +fr.comp.lang.tcl: +comp.lang.ada: +fr.comp.lang.ada: +fr.rec.cinema.discussion: +fr.soc.divers: +fr.petites-annonces.divers: +comp.security.unix: +fr.comp.stockage: +fr.sci.automatique: +fr.rec.jeux.video.materiel: +fr.rec.bateaux: +fr.petites-annonces.informatique.materiel: +fr.misc.cryptologie: +fr.sci.linguistique: +alt.conspiracy: +fr.sci.psychologie: +comp.os.linux.embedded: +comp.os.plan9: +fr.soc.homosexualite: +fr.reseaux.telecoms.adsl: +fr.rec.anime: +fr.rec.sport.archerie: +alt.comp.periphs.videocards.nvidia: +fr.soc.culture.japon: +fr.sci.electrotechnique: +comp.arch.fpga: +fr.rec.boissons.bieres: +comp.os.linux.x: +alt.comp.lang.learn.c-c++: +comp.os.linux.development.system: +comp.compilers: +fr.rec.sport.divers: +alt.computer.security: +comp.os.linux.security: +fr.soc.economie: +fr.sci.astronomie: +fr.comp.os.unix: +fr.rec.jeux.jdr.par-forum: +frn.informatique: +fr.rec.sport.arts-martiaux: +fr.comp.graphisme.multimedia: +fr.rec.arts.musique.pratique: +comp.security.misc: +fr.sci.philo: +comp.unix.bsd.openbsd.announce: +comp.lang.scheme: +fr.soc.complots: +fr.comp.ordinosaures: +alt.comp.hardware.homebuilt: +fr.soc.feminisme: +fr.rec.cuisine: +fr.rec.moto: +fr.misc.bavardages.linux: +alt.comp.os.linux: +alt.comp.linux: +fr.misc.engueulades: +fr.rec.arts.sf.starwars: +alt.comp.programming: +comp.dcom.telecom: +fr.rec.arts.plastiques: +fr.rec.arts.sf: +fr.reseaux.telecoms.techniques: +fr.reseaux.telecoms.operateurs.fixes: +fr.lettres.ecriture: +fr.sci.maths: +comp.lang.c: +fr.comp.lang.c: +alt.comp.lang.c: +comp.graphics.animation: +frn.informatique.legendes: +comp.os.linux.networking: +fr.soc.internet: +comp.os.linux.development.apps: +fr.sci.physique: +fr.lettres.langue.japonaise: +fr.reseaux.telecoms.mobiles: +comp.os.linux.announce: +fr.reseaux.internet.hebergement: +fr.reseaux.telecoms.operateurs.mobiles: +fr.misc.bavardages.dinosaures: +fr.rec.bibliophilie: +comp.unix.shell: +fr.lettres.langue.anglaise: +alt.comp.hardware.pc-homebuilt: +fr.comp.lang.ruby: +fr.sci.zetetique: +fr.rec.jeux.video: +fr.misc.militaire: +fr.misc.handicap: +fr.reseaux.telecoms.fibre-optique: +fr.comp.internet.medias-sociaux: +fr.comp.internet.medias-sociaux.twitter: +comp.lang.limbo: +alt.comp.periphs.printers: +fr.comp.internet.tor: +alt.comp.periphs.videocards.ati: diff --git a/.rtorrent.rc b/.rtorrent.rc @@ -0,0 +1,13 @@ +directory = /home/haelwenn/torrent/ +session = /home/haelwenn/torrent/session +#chedule = watch_directory,5,5,load_start=/home/haelwenn/torrent/*.torrent +#chedule = untied_directory,5,5,stop_untied= +#chedule = tied_directory,5,5,start_tied= + +port_range = 6669-6669 +port_random = no +encryption = allow_incoming, try_outgoing, enable_retry + +dht = auto +dht_port = 6668 +peer_exchange = yes diff --git a/.vim b/.vim @@ -0,0 +1 @@ +Subproject commit f594c1270c86140927c51acabb9a90c74a3292e6 diff --git a/.vimrc b/.vimrc @@ -0,0 +1,68 @@ +"ilet loaded_matchparen = 1 +let g:neocomplete#enable_at_startup = 1 + +map <C-s> :w <cr> +imap <C-s> <ESC>:w <cr> + +"KISS and no PEP8 bullshit +filetype indent plugin off + +syntax on + +set nobomb +set encoding=utf-8 +"set uc=0 +set noautoindent +set nosmartindent +set hlsearch + +set tabpagemax=16 +set foldmethod=indent +set tabstop=4 + +noremap <F8> :call HexMe()<CR> +let $in_hex=0 + +function HexMe() + set binary + if $in_hex>0 + :%!xxd -r + let $in_hex=0 + else + :%!xxd + let $in_hex=1 + endif +endfunction + +" Transparent editing of gpg encrypted files. +" By Wouter Hanegraaff +augroup encrypted + au! + + " First make sure nothing is written to ~/.viminfo while editing + " an encrypted file. + autocmd BufReadPre,FileReadPre *.gpg set viminfo= + " We don't want a various options which write unencrypted data to disk + autocmd BufReadPre,FileReadPre *.gpg set noswapfile noundofile nobackup + + " Switch to binary mode to read the encrypted file + autocmd BufReadPre,FileReadPre *.gpg set bin + autocmd BufReadPre,FileReadPre *.gpg let ch_save = &ch|set ch=2 + " (If you use tcsh, you may need to alter this line.) + autocmd BufReadPost,FileReadPost *.gpg '[,']!gpg --decrypt 2> /dev/null + + " Switch to normal mode for editing + autocmd BufReadPost,FileReadPost *.gpg set nobin + autocmd BufReadPost,FileReadPost *.gpg let &ch = ch_save|unlet ch_save + autocmd BufReadPost,FileReadPost *.gpg execute ":doautocmd BufReadPost " . expand("%:r") + + " Convert all text to encrypted text before writing + " (If you use tcsh, you may need to alter this line.) + autocmd BufWritePre,FileWritePre *.gpg '[,']!gpg --default-recipient-self -ae 2>/dev/null + " Undo the encryption so we are back in the normal text, directly + " after the file has been written. + autocmd BufWritePost,FileWritePost *.gpg u +augroup END + +set statusline=%<%F\ [%{&ff}][%{&enc}%{((exists(\"+bomb\")\ &&\ &bomb)?\",\ BOM\":\"\")}]\ %=\ %-14.(%l,%c%V%)\ %P +set laststatus=2 diff --git a/.xinitrc b/.xinitrc @@ -0,0 +1 @@ +i3 diff --git a/.zshrc b/.zshrc @@ -0,0 +1,50 @@ +source ~/.common.sh + +setopt prompt_subst +setopt auto_cd +setopt correct +setopt bash_auto_list + +unsetopt monitor + +precmd() { + local branch + if branch=$(git rev-parse --abbrev-ref HEAD 2> /dev/null); then + if [[ "$branch" == "HEAD" ]]; then + branch='detached*' + fi + git_branch="($branch)" + else + git_branch='' + fi +} + +case "$TERM" in + "xterm*"|"*rxvt*") + PS1=$'%{\e]0;%n@%m:%~\a%}%{\e[0;32m%}%n%{\e[0;36m%}@%M%{\e[0;33m%}%~%{\e[0;35m%}${git_branch}%{\e[0;32m%}%#%{\e[0m%} ' + ;; + "screen*") + PS1=$'%{\e]0;[${STY}]\a%}%{\e[0;32m%}%n%{\e[0;36m%}@%M%{\e[0;33m%}%~%{\e[0;35m%}${git_branch}%{\e[0;32m%}%#%{\e[0m%} ' + ;; + *) + PS1=$'%{\e[0;32m%}%n%{\e[0;36m%}@%M%{\e[0;33m%}%~%{\e[0;35m%}${git_branch}%{\e[0;32m%}%#%{\e[0m%} ' + ;; +esac +RPS1=$'%?|%T' +# old bash prompt: PS1=$'\e[0;31m%n\e[0;36m@%M\e[0;32m%~%#\e[0m ' + +# History +setopt inc_append_history +setopt hist_reduce_blanks +export HISTSIZE=1000 +export SAVEHIST=1000 +export HISTFILE=~/.history + +# Completion +zstyle ':completion:*' completer _expand _complete _ignored +zstyle ':completion:*' matcher-list '' 'r:|[._-]=* r:|=*' 'm:{[:lower:][:upper:]}={[:upper:][:lower:]}' +zstyle ':completion:*' squeeze-slashes true +zstyle ':completion:*' use-ip true #ssh completion + +autoload -Uz compinit +compinit