--- a/.hgsubstate Sun Jun 10 09:18:15 2018 -0700
+++ b/.hgsubstate Mon Jun 25 16:56:02 2018 -0400
@@ -39,5 +39,5 @@
f6f2d6618a321f5b0065586a7bc934325fec81ab vim/bundle/targets
5d5c71044880443035e07009497962feacb56b20 vim/bundle/vimtex
bf3fd7f67e730f93765bd3c1cfcdb18fd4043521 vim/bundle/vitality
-bc3ea6be7274265c85bd9ab3416357a233436f4e vim/bundle/vlime
+e11566f89afdb7745bd2c1f17c2cd4daf4bbcab9 vim/bundle/vlime
6876fe38b33732cb124d415ffc4156f16da5e118 vim/bundle/windowswap
--- a/bin/cacl Sun Jun 10 09:18:15 2018 -0700
+++ b/bin/cacl Mon Jun 25 16:56:02 2018 -0400
@@ -3,5 +3,6 @@
set -e
LISPS=("sbcl" "ccl" "abcl" "ecl")
-~/src/cacl/cacl-$(gshuf -n1 -e "${LISPS[@]}")
+LISPS=("sbcl")
+~/src/cacl/cacl-$(shuf -n1 -e "${LISPS[@]}")
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/dunstrc Mon Jun 25 16:56:02 2018 -0400
@@ -0,0 +1,43 @@
+[global]
+ font = "Monospace 8"
+ allow_markup = yes
+ format = "<b>%s %p</b>\n%b"
+ sort = yes
+ indicate_hidden = true
+ # geometry = "x5"
+ idle_threshold = 60
+ geometry = "300x5-20+20"
+ alignment = left
+ show_age_threshold = 60
+ sticky_history = yes
+ follow = mouse
+ word_wrap = yes
+ separator_height = 2
+ padding = 10
+ horizontal_padding = 10
+ separator_color = frame
+ startup_notification = true
+ # dmenu = "/usr/bin/dmenu -p dunst: -nb #FFFFFF -nf #000000 -sb #94DBFF -sf #000000"
+ browser = xdg-open
+
+[shortcuts]
+ close_all = ctrl+Return
+
+[frame]
+ width = 3
+ color = "#000000"
+
+[urgency_low]
+ background = "#ffffff"
+ foreground = "#000000"
+ timeout = 10
+
+[urgency_normal]
+ background = "#94DBFF"
+ foreground = "#000000"
+ timeout = 25
+
+[urgency_critical]
+ background = "#ff9999"
+ foreground = "#000000"
+ timeout = 0
--- a/lispwords Sun Jun 10 09:18:15 2018 -0700
+++ b/lispwords Mon Jun 25 16:56:02 2018 -0400
@@ -111,3 +111,6 @@
; lparallel
(1 pdotimes)
+
+; stumpwm
+(3 defcommand)
--- a/mutt/muttrc Sun Jun 10 09:18:15 2018 -0700
+++ b/mutt/muttrc Mon Jun 25 16:56:02 2018 -0400
@@ -11,7 +11,7 @@
# Editor {{{
# Use Vim to compose email, with a few default options.
-set editor = "/usr/local/bin/nvim -c 'normal! }' -c 'redraw'"
+set editor = "nvim -c 'normal! }' -c 'redraw'"
# }}}
# Contacts {{{
@@ -233,7 +233,7 @@
# }}}
# "Open in Vim" {{{
-macro index,pager V "|vim -c 'setlocal ft=mail' -c 'setlocal buftype=nofile' -<enter>" "open in vim"
+macro index,pager V "|nvim -c 'setlocal ft=mail' -c 'setlocal buftype=nofile' -<enter>" "open in vim"
# }}}
--- a/vim/vimrc Sun Jun 10 09:18:15 2018 -0700
+++ b/vim/vimrc Mon Jun 25 16:56:02 2018 -0400
@@ -516,6 +516,7 @@
nnoremap <leader>ed :vsplit ~/.vim/custom-dictionary.utf-8.add<cr>
nnoremap <leader>ef :vsplit ~/.config/fish/config.fish<cr>
nnoremap <leader>eg :vsplit ~/.gitconfig<cr>
+nnoremap <leader>es :vsplit ~/.stumpwmrc<cr>
nnoremap <leader>eh :vsplit ~/.hgrc<cr>
nnoremap <leader>el :vsplit ~/.lispwords<cr>
nnoremap <leader>em :vsplit ~/.mutt/muttrc<cr>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/weechat/python/autoload/notify.py Mon Jun 25 16:56:02 2018 -0400
@@ -0,0 +1,29 @@
+import weechat, subprocess
+
+SCRIPT_NAME = 'notify'
+SCRIPT_AUTHOR = 'Steve Losh <steve@stevelosh.com>'
+SCRIPT_VERSION = '0.0.1'
+SCRIPT_LICENSE = 'MIT'
+SCRIPT_DESC = 'notify-send for weechat'
+
+weechat.register(SCRIPT_NAME, SCRIPT_AUTHOR, SCRIPT_VERSION, SCRIPT_LICENSE, SCRIPT_DESC, '', '')
+
+weechat.hook_print('', 'irc_privmsg', '', 1, 'notify', '')
+
+def _notify(text):
+ subprocess.call(['notify-send', text])
+
+def notify(data, buffer, date, tags, displayed, highlight, prefix, message):
+ # ignore if it's yourself
+ own_nick = weechat.buffer_get_string(buffer, 'localvar_nick')
+
+ if prefix == own_nick or prefix == ('@%s' % own_nick):
+ return weechat.WEECHAT_RC_OK
+
+ if int(highlight):
+ channel = weechat.buffer_get_string(buffer, 'localvar_channel')
+ _notify('%s %s\n%s' % (prefix, channel, message))
+ elif 'notify_private' in tags:
+ _notify('%s [PM]\n%s' % (prefix, message))
+
+ return weechat.WEECHAT_RC_OK
--- a/xsessionrc Sun Jun 10 09:18:15 2018 -0700
+++ b/xsessionrc Mon Jun 25 16:56:02 2018 -0400
@@ -19,5 +19,7 @@
xcape -t 200 -e 'Control_L=Escape'
xautolock -time 15 -locker /usr/bin/slock &
+/usr/bin/dunst -config $HOME/.dunstrc &
+
exec /usr/local/bin/stumpwm