Initial commit - dotfiles - leot's dotfiles
(HTM) hg clone https://bitbucket.org/iamleot/dotfiles
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) changeset b4cb064c3c38a173b34981d36e337e939416754b
(HTM) Author: Leonardo Taccari <iamleot@gmail.com>
Date: Sun, 23 Sep 2018 22:46:07
Initial commit
Diffstat:
Xdefaults | 45 +++++++++++++++++++++++++++
acronyms | 1 +
aria2/aria2.conf | 1 +
bvirc | 2 +
calendar | 16 +++++++++
cvsrc | 6 +++
dictrc | 1 +
ebrc | 80 ++++++++++++++++++++++++++++++++++++++++++++++++
editrc | 3 +
exrc | 6 +++
fonts/DroidSansMono.ttf | Bin
gammurc | 3 +
guile | 2 +
indent.pro | 20 ++++++++++++
info | Bin
infokey | 36 +++++++++++++++++++++
inputrc | 2 +
less | Bin
lesskey | 2 +
mailrc | 6 +++
mairixrc | 4 ++
nexrc | 13 +++++++
nexrc.py | 6 +++
tmux.conf | 52 +++++++++++++++++++++++++++++++
wallpaper.png | Bin
wtfkludges/whatis | 5 +++
xinitrc | 13 +++++++
27 files changed, 325 insertions(+), 0 deletions(-)
---
diff -r 000000000000 -r b4cb064c3c38 Xdefaults
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Xdefaults Sun Sep 23 22:46:07 2018 +0200
@@ -0,0 +1,45 @@
+// Xft
+Xft.antialias: true
+Xft.lcdfilter: lcddefault
+Xft.hinting: true
+
+// xterm
+XTerm*cursorColor: #aaaaaa
+XTerm*foreground: gray90
+XTerm*background: black
+XTerm*faceName: Droid Sans Mono
+XTerm*faceSize: 13
+XTerm*rightScrollBar: true
+XTerm*renderFont: true
+XTerm*bellIsUrgent: true
+XTerm*altIsNotMeta: true
+XTerm*altSendsEscape: true
+XTerm*pointerMode: 1
+XTerm*charClass: 33:48,35:48,37-38:48,45-47:48,58:48
+XTerm*utf8: 2
+XTerm*loginShell: true
+
+XTerm*color0: black
+XTerm*color1: red3
+XTerm*color2: green3
+XTerm*color3: yellow3
+XTerm*color4: blue2
+XTerm*color5: magenta3
+XTerm*color6: cyan3
+XTerm*color7: gray90
+XTerm*color8: gray50
+XTerm*color9: red
+XTerm*color10: green
+XTerm*color11: yellow
+XTerm*color12: #5c5cff
+XTerm*color13: magenta
+XTerm*color14: cyan
+XTerm*color15: white
+
+Xcursor.theme: Neutral
+Xcursor.size: 32
+
+Emacs.menuBar: off
+Emacs.toolBar: off
+Emacs.verticalScrollBars: off
+Emacs.reverseVideo: on
diff -r 000000000000 -r b4cb064c3c38 acronyms
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/acronyms Sun Sep 23 22:46:07 2018 +0200
@@ -0,0 +1,1 @@
+CTO chief technology officer
diff -r 000000000000 -r b4cb064c3c38 aria2/aria2.conf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/aria2/aria2.conf Sun Sep 23 22:46:07 2018 +0200
@@ -0,0 +1,1 @@
+enable-color=false
diff -r 000000000000 -r b4cb064c3c38 bvirc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/bvirc Sun Sep 23 22:46:07 2018 +0200
@@ -0,0 +1,2 @@
+set magic
+set showmode
diff -r 000000000000 -r b4cb064c3c38 calendar
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/calendar Sun Sep 23 22:46:07 2018 +0200
@@ -0,0 +1,16 @@
+#ifdef THESE_ARE_ALL_THE_CALENDARS
+#include "calendar.birthday"
+#include "calendar.christian"
+#include "calendar.computer"
+#include "calendar.history"
+#include "calendar.holiday"
+#include "calendar.judaic"
+#include "calendar.lotr"
+#include "calendar.music"
+#include "calendar.netbsd"
+#include "calendar.usholiday"
+#endif
+
+#include "calendar.computer"
+#include "calendar.holiday"
+#include "calendar.netbsd"
diff -r 000000000000 -r b4cb064c3c38 cvsrc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/cvsrc Sun Sep 23 22:46:07 2018 +0200
@@ -0,0 +1,6 @@
+cvs -q
+checkout -P
+release -d
+update -dP
+rdiff -u
+diff -upN
diff -r 000000000000 -r b4cb064c3c38 dictrc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/dictrc Sun Sep 23 22:46:07 2018 +0200
@@ -0,0 +1,1 @@
+server dict.org
diff -r 000000000000 -r b4cb064c3c38 ebrc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/ebrc Sun Sep 23 22:46:07 2018 +0200
@@ -0,0 +1,80 @@
+# .ebrc: sample configuration file for edbrowse (version 3.5.4 or above)
+
+# file of ssl certificates
+certfile = /etc/ssl/certs/ca-certificates.crt
+
+# wait 30 seconds for a response from a web server
+webtimer = 30
+# wait 3 minutes for a response from a mail server
+#mailtimer = 180
+
+# Describe the mime types and the plugins to run them.
+#plugin {
+#type = audio/basic
+#desc = audio file in a wave format
+#suffix = wav,voc,au,ogg
+#content = audio/x-wav
+## %i is the temp input file generated by edbrowse
+#program = play -q %i
+#}
+
+#plugin {
+#type = audio/mp3
+#desc = audio file in mp3 format
+#suffix = mp3
+#content = audio/mpeg
+#program = mpg123 -q -C %i
+#}
+
+# this plugin renders a file, rather than "playing" the file.
+#plugin {
+#type = pdf
+#desc = pdf file
+#suffix = pdf
+#content = application/pdf
+#program = pdftohtml -i -noframes %i %o >/dev/null
+# indicate the output is in html, rather than text
+#outtype = H
+#}
+
+# Every time you fetch a web page from the internet,
+# your browser identifies itself to the host.
+agent = Lynx/2.8.4rel.1 libwww-FM/2.14
+agent = Mozilla/4.0 (compatible; MSIE 5.5; Windows 98; Win 9x 4.90)
+
+# Ok, we're ready to write our first script.
+# How about a function to access google.
+# So <gg elephants tigers will call up google,
+# looking for elephants and tigers together.
+function+gg {
+b http://www.google.com
+/<>/ i=~0
++i1*
+/^1/
+}
+
+# mariam-webster dictionary lookup, ~1 is parameter 1, the word to look up.
+# <mw elephant
+function+mw {
+b http://www.merriam-webster.com/dictionary/~1
+}
+
+# This function is run at edbrowse startup.
+function:init {
+# make directories writable, so you can rename or delete files
+dw
+# Display the size of each file in a directory listing
+ls=s
+# other personal settings
+# readline
+rl
+# Display errors, not just a `?'
+H
+}
+
+# Open current file via the PAGER
+function+p {
+!echo ',p' | edbrowse -e `echo '_ | sed -e "s/\.browse\$//"` | less -m -F -R -X
+}
+
+# and much more...
diff -r 000000000000 -r b4cb064c3c38 editrc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/editrc Sun Sep 23 22:46:07 2018 +0200
@@ -0,0 +1,3 @@
+bind -v
+sh:bind ^I rl-complete
+ftp:bind ^I ftp-complete
diff -r 000000000000 -r b4cb064c3c38 exrc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/exrc Sun Sep 23 22:46:07 2018 +0200
@@ -0,0 +1,6 @@
+set autoindent
+set exrc
+set lisp
+set showmatch
+set showmode
+set wrapmargin=80
diff -r 000000000000 -r b4cb064c3c38 fonts/DroidSansMono.ttf
Binary file fonts/DroidSansMono.ttf has changed
diff -r 000000000000 -r b4cb064c3c38 gammurc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/gammurc Sun Sep 23 22:46:07 2018 +0200
@@ -0,0 +1,3 @@
+[gammu]
+port = /dev/ttyU0
+connection = at
diff -r 000000000000 -r b4cb064c3c38 guile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/guile Sun Sep 23 22:46:07 2018 +0200
@@ -0,0 +1,2 @@
+(use-modules (ice-9 readline))
+(activate-readline)
diff -r 000000000000 -r b4cb064c3c38 indent.pro
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/indent.pro Sun Sep 23 22:46:07 2018 +0200
@@ -0,0 +1,20 @@
+-bap
+-br
+-ce
+-ci4
+-cli0
+-d0
+-di0
+-i8
+-ip
+-l79
+-nbc
+-ncdb
+-ndj
+-ei
+-nfc1
+-nlp
+-npcs
+-psl
+-sc
+-sob
diff -r 000000000000 -r b4cb064c3c38 info
Binary file info has changed
diff -r 000000000000 -r b4cb064c3c38 infokey
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/infokey Sun Sep 23 22:46:07 2018 +0200
@@ -0,0 +1,36 @@
+#info
+j next-line
+k prev-line
+l forward-char
+h backward-char
+\kd down-line
+\ku up-line
+\kD scroll-forward-page-only
+\kU scroll-backward-page-only
+\r select-reference-this-line
+g beginning-of-node
+G end-of-node
+\t move-to-next-xref
+[Z move-to-prev-xref
+m man
+- history-node
+i index-search
+/ search
+? search-backward
+n search-next
+p search-previous
+^N next-node
+^P prev-node
+\kr global-next-node
+\kl global-prev-node
+^W next-window
+^U up-node
+^T top-node
+^D dir-node
+\^ beginning-of-line
+$ end-of-line
+b backward-word
+w forward-word
+q quit
+#var
+scroll-step=1
diff -r 000000000000 -r b4cb064c3c38 inputrc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/inputrc Sun Sep 23 22:46:07 2018 +0200
@@ -0,0 +1,2 @@
+set blink-matching-paren on
+set editing-mode vi
diff -r 000000000000 -r b4cb064c3c38 less
Binary file less has changed
diff -r 000000000000 -r b4cb064c3c38 lesskey
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lesskey Sun Sep 23 22:46:07 2018 +0200
@@ -0,0 +1,2 @@
+^N next-file
+^P prev-file
diff -r 000000000000 -r b4cb064c3c38 mailrc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mailrc Sun Sep 23 22:46:07 2018 +0200
@@ -0,0 +1,6 @@
+retain Date To cc From Subject
+set mime-decode-header mime-decode-insert mime-decode-message mime-decode-quote
+set el-completion-keys=^I
+set el-editor
+set el-history-size=1000
+set header-format="%??%P%Q%?* ?%3i %-21.20N %a %b %e %R %q"
diff -r 000000000000 -r b4cb064c3c38 mairixrc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mairixrc Sun Sep 23 22:46:07 2018 +0200
@@ -0,0 +1,4 @@
+base=~/Mail
+database=~/Mail/.mairix.db
+mh=*
+mformat=raw
diff -r 000000000000 -r b4cb064c3c38 nexrc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/nexrc Sun Sep 23 22:46:07 2018 +0200
@@ -0,0 +1,13 @@
+set autoindent
+set extended
+set cedit=
+set filec=\
+set ruler
+set showmatch
+set showmode
+set tags=/var/db/libc.tags
+set tildeop
+set wraplen=80
+
+map :prev
+map :next
diff -r 000000000000 -r b4cb064c3c38 nexrc.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/nexrc.py Sun Sep 23 22:46:07 2018 +0200
@@ -0,0 +1,6 @@
+source ~/.nexrc
+
+" Python-ic
+set expandtab
+set shiftwidth=4
+map!
diff -r 000000000000 -r b4cb064c3c38 tmux.conf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tmux.conf Sun Sep 23 22:46:07 2018 +0200
@@ -0,0 +1,52 @@
+set-option -g bell-action any
+set-option -g clock-mode-colour white
+set-option -g display-panes-active-colour brightwhite
+set-option -g display-panes-colour brightwhite
+set-option -g escape-time 100
+set-option -g history-limit 10000
+set-option -g message-bg white
+set-option -g message-fg black
+set-option -g pane-active-border-fg white
+set-option -g pane-border-fg white
+set-option -g repeat-time 500
+set-option -g set-titles on
+set-option -g set-titles-string "[#S] #I:#W #T"
+set-option -g status-bg white
+set-option -g status-fg black
+set-option -g status-key vi
+set-option -g status-right "%H:%M %d/%m/%Y"
+set-option -g xterm-keys on
+
+set-window-option -g mode-keys vi
+set-window-option -g mode-bg white
+set-window-option -g mode-fg black
+
+# XXX: experimental! (implemented via a local patch!)
+unbind-key '"'
+unbind-key %
+bind-key '"' split-window -c "#{pane_current_path}"
+bind-key % split-window -h -c "#{pane_current_path}"
+
+bind-key N switch-client -n
+bind-key P switch-client -p
+
+bind-key e capture-pane -S '-' -E '-' -J \; save-buffer ~/.cache/tmux/curpane \; run-shell "sed -E -i 's/ +$//g' ~/.cache/tmux/curpane >/dev/null 2>&1" \; split-window ${EDITOR} ~/.cache/tmux/curpane
+bind-key m command-prompt "move-pane -t '%%'"
+bind-key u capture-pane -J \; save-buffer ~/.cache/tmux/curpane \; run-shell "dplumb < ~/.cache/tmux/curpane >/dev/null 2>&1"
+
+bind-key Escape copy-mode
+
+bind-key -T prefix < set-window-option force-width 80
+bind-key -T prefix > set-window-option force-width 0
+
+bind-key -T root C-PgUp copy-mode -e -u
+bind-key -T root C-Up select-pane -U
+bind-key -T root C-Down select-pane -D
+bind-key -T root C-Left select-pane -L
+bind-key -T root C-Right select-pane -R
+
+# XXX: this is needed for tmux>=2.4
+bind-key -T copy-mode-vi C-Up select-pane -U
+bind-key -T copy-mode-vi C-Down select-pane -D
+bind-key -T copy-mode-vi C-Left select-pane -L
+bind-key -T copy-mode-vi C-Right select-pane -R
diff -r 000000000000 -r b4cb064c3c38 wallpaper.png
Binary file wallpaper.png has changed
diff -r 000000000000 -r b4cb064c3c38 wtfkludges/whatis
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/wtfkludges/whatis Sun Sep 23 22:46:07 2018 +0200
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+# XXX: Kludge to avoid significant whatis(1) slowdowns
+
+exit 1
diff -r 000000000000 -r b4cb064c3c38 xinitrc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xinitrc Sun Sep 23 22:46:07 2018 +0200
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+{ xsetwallpaper ~/.wallpaper.png || xsetroot -solid black ; } &
+eval `dbus-launch --sh-syntax --exit-with-session` &
+setxkbmap -option keypad:pointerkeys &
+xset b 0 &
+xset m 3 &
+unclutter -idle 2 -jitter 20 -grab -root -not tabbed Emacs Firefox Vimb netsurf SDL_App Surf Luakit &
+statusbar &
+mxterm &
+redshift &
+sxhkd &
+dwm