shopt -s checkwinsize
+
+export HISTCONTROL=erasedups
+export HISTFILESIZE=NOTHING
+export HISTSIZE=NOTHING
shopt -s histappend
+export PROMPT_COMMAND='history -a'
. /usr/share/bash-completion/bash_completion
export TERM=screen
export BROWSER=firefox
-export HISTFILESIZE=10000
-export HISTSIZE=100000
-export HISTCONTROL=ignoreboth
export SUDO_ASKPASS=/usr/lib/ssh/ssh-askpass
export NOTMUCH_CONFIG=/home/mart/.mutt/notmuch-config
-export PYTHONSTARTUP=/home/mart/.pythonstartup
export PATH=$PATH:~/projects/clean/bin
#
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
-set $mod Mod1
+set $mod Mod4
exec xautolock -locker 'i3lock -c ccff00; systemctl suspend'
exec convert -size 1600x900 plasma:fractal -modulate 20,100,10 png:- | display -window root
--- /dev/null
+[calendars]
+[[home]]
+path = ~/.calendars/
+color = dark blue
+
+[sqlite]
+path = ~/.config/khal/khal.db
+
+[locale]
+timeformat = %H:%M
+dateformat = %d-%m (%a)
+longdateformat = %Y-%m-%d (%a)
+datetimeformat = %m-%d %H:%M (%a)
+longdatetimeformat = %Y-%m-%d %H:%M (%a)
+
+[default]
+default_command = calendar
+default_calendar = home
+show_all_days = True
+#debug = 0
--- /dev/null
+[general]
+status_path = ~/.config/vdirsyncer/status/
+password_command = ~/.config/i3/gpass.sh calendar
+
+[pair calendar]
+a = calendar_local
+b = calendar_remote
+
+[storage calendar_local]
+type = filesystem
+path = ~/.calendars/
+fileext = .ics
+
+[storage calendar_remote]
+type = caldav
+url = http://localhost:8008/calendars/users/mart/calendar
+username = mart
set mail_check=0
set include=yes
set delete=yes
-set confirmappend=yes
+set confirmappend=no
set fast_reply=yes
# Display options
[Account net]
localrepository = Local
remoterepository = Remote
-postsynchook = notmuch new && notmuch compact
+postsynchook = notmuch new
[Repository Local]
type = Maildir
auto-reload yes
datetime-format %F
+browser firefox
# Set keymaps
-sudo localectl set-x11-keymap --no-convert dvorak,us,ru pc104 ,,phonetic_dvorak grp:shifts_toggle,compose:caps
+sudo localectl set-x11-keymap --no-convert dvorak,ru pc104 ,phonetic_dvorak grp:shifts_toggle,compose:ralt
sudo localectl set-keymap --no-convert dvorak
# Link the dotfiles
hf=(.bashrc .gitconfig .inputrc .vimrc .xinitrc .Xresources .toprc
.vim .mutt/mailcap .mutt/msmtprc .mutt/muttrc .mutt/offlineimap.py
.mutt/offlineimaprc .mutt/notmuch-config .config/i3/bar .config/i3/config
-.config/i3/gpass.sh .config/i3status/config .newsbeuter/config)
+.config/i3/gpass.sh .config/i3status/config .newsbeuter/config
+.config/khal/khal.conf .config/vdirsyncer/config)
for f in ${hf[*]}
do
unlink "$HOME/$f" || true