# HG changeset patch # User Steve Losh # Date 1538590028 25200 # Node ID 1cb6fe38b946f7c38de81ef0053a1e8c6f3adac0 # Parent 1e78d665c002eee40e6f696fd5a9f743563f2695 More diff -r 1e78d665c002 -r 1cb6fe38b946 bin/t --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bin/t Wed Oct 03 11:07:08 2018 -0700 @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +set -euo pipefail + +python ~/src/t/t.py --task-dir ~/.plan --list TODO "$@" diff -r 1e78d665c002 -r 1cb6fe38b946 fish/config.fish --- a/fish/config.fish Wed Oct 03 09:31:57 2018 -0700 +++ b/fish/config.fish Wed Oct 03 11:07:08 2018 -0700 @@ -9,7 +9,6 @@ function ei; hg -R ~/src/inventory/ pull -u; and nvim ~/src/inventory/inventory.markdown; and hg -R ~/src/inventory/ ci -m 'Update inventory'; and hg -R ~/src/inventory/ push; end function em; nvim ~/.mutt/muttrc; end function es; nvim ~/.stumpwmrc; end -function et; nvim ~/.tmux.conf; end function ev; nvim ~/.vimrc; end function ..; cd ..; end @@ -27,6 +26,11 @@ alias :qa exit # }}} +# Abbreviations {{{ + +abbr ai="sudo apt install" + +# }}} # Completions {{{ function make_completion --argument alias command diff -r 1e78d665c002 -r 1cb6fe38b946 fish/functions/et.fish --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fish/functions/et.fish Wed Oct 03 11:07:08 2018 -0700 @@ -0,0 +1,5 @@ +function et -d "Edit TODOs" + cd ~/.plan + nvim TODO + git cm 'Edit TODOs' -a +end diff -r 1e78d665c002 -r 1cb6fe38b946 stumpwmrc --- a/stumpwmrc Wed Oct 03 09:31:57 2018 -0700 +++ b/stumpwmrc Wed Oct 03 11:07:08 2018 -0700 @@ -171,8 +171,8 @@ (next-group)))))) (defcommand screen-single () () - (loop with laptop = "eDP-1" - with extern = "DP-1" + (loop with laptop = "eDP1" + with extern = "DP1" for (output commands) in `((,extern ("--off")) ;; (,rhs-name ("--auto")) ;; (,rhs-name ("--primary")) @@ -184,8 +184,8 @@ do (uiop:run-program `("xrandr" "--output" ,output ,@commands)))) (defcommand screen-multi () () - (loop with laptop = "eDP-1" - with extern = "DP-1" + (loop with laptop = "eDP1" + with extern = "DP1" for (output commands) in `((,laptop ("--off")) (,extern ("--off")) (,laptop ("--auto")) @@ -193,7 +193,7 @@ (,extern ("--primary")) ;; (,extern ("--mode" "2560x1440")) (,extern ("--right-of" ,laptop))) - do (uiop:run-program `("xrandr" "--output" ,output ,@commands)))) + do (pr (uiop:run-program `("xrandr" "--output" ,output ,@commands))))) (defcommand vlime () () (load "~/src/dotfiles/vim/bundle/vlime/lisp/start-vlime.lisp") diff -r 1e78d665c002 -r 1cb6fe38b946 vim/custom-dictionary.utf-8.add --- a/vim/custom-dictionary.utf-8.add Wed Oct 03 09:31:57 2018 -0700 +++ b/vim/custom-dictionary.utf-8.add Wed Oct 03 11:07:08 2018 -0700 @@ -223,3 +223,5 @@ Realforce Homebrew ASDF +JSON +filesystem diff -r 1e78d665c002 -r 1cb6fe38b946 weechat/plugins.conf --- a/weechat/plugins.conf Wed Oct 03 09:31:57 2018 -0700 +++ b/weechat/plugins.conf Wed Oct 03 11:07:08 2018 -0700 @@ -1,6 +1,13 @@ # # weechat -- plugins.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 +# [var] fifo.fifo = "on" @@ -63,6 +70,34 @@ python.notification_center.show_message_text = "on" python.notification_center.show_private_message = "on" python.notification_center.sound = "off" +python.slack.auto_open_threads = "false" +python.slack.background_load_all_history = "false" +python.slack.channel_name_typing_indicator = "true" +python.slack.colorize_private_chats = "false" +python.slack.debug_level = "3" +python.slack.debug_mode = "false" +python.slack.distracting_channels = "" +python.slack.external_user_suffix = "*" +python.slack.group_name_prefix = "&" +python.slack.map_underline_to = "_" +python.slack.migrated = "true" +python.slack.muted_channels_activity = "personal_highlights" +python.slack.never_away = "false" +python.slack.record_events = "false" +python.slack.render_bold_as = "bold" +python.slack.render_italic_as = "italic" +python.slack.send_typing_notice = "true" +python.slack.server_aliases = "" +python.slack.shared_name_prefix = "%" +python.slack.short_buffer_names = "false" +python.slack.show_reaction_nicks = "false" +python.slack.slack_api_token = "xoxp-3324703083-436133997184-447755985685-90585fad41071ee30fb518ad29831038" +python.slack.slack_timeout = "20000" +python.slack.switch_buffer_on_join = "true" +python.slack.thread_suffix_color = "lightcyan" +python.slack.unfurl_auto_link_display = "both" +python.slack.unfurl_ignore_alt_text = "false" +python.slack.unhide_buffers_with_activity = "false" ruby.check_license = "on" tcl.check_license = "on" @@ -80,3 +115,30 @@ perl.colorize_lines.nicks = "comma separated list with nicknames. Only messages from nicks in this list will be colorized. (e.g.: freenode.nils_2,freenode.flashcode,freenode.weebot). You can also give a filename with nicks. The filename has to start with "/" (e.g.: /buddylist.txt). The format has to be: one nick each line with ." perl.colorize_lines.own_lines = "colors own written messages (default: off)" perl.colorize_lines.shuffle = "toggle shuffle color mode for chats area (default: off)" +python.slack.auto_open_threads = "Automatically open threads when mentioned or inresponse to own messages." +python.slack.background_load_all_history = "Load history for each channel in the background as soon as it opens, rather than waiting for the user to look at it." +python.slack.channel_name_typing_indicator = "Change the prefix of a channel from # to > when someone is typing in it. Note that this will (temporarily) affect the sort order if you sort buffers by name rather than by number." +python.slack.colorize_private_chats = "Whether to use nick-colors in DM windows." +python.slack.debug_level = "Show only this level of debug info (or higher) when debug_mode is on. Lower levels -> more messages." +python.slack.debug_mode = "Open a dedicated buffer for debug messages and start logging to it. How verbose the logging is depends on log_level." +python.slack.distracting_channels = "List of channels to hide." +python.slack.external_user_suffix = "The suffix appended to nicks to indicate external users." +python.slack.group_name_prefix = "The prefix of buffer names for groups (private channels)." +python.slack.map_underline_to = "When sending underlined text to slack, use this formatting character for it. The default ("_") sends it as italics. Use "*" to send bold instead." +python.slack.muted_channels_activity = "Control which activity you see from muted channels, either none, personal_highlights, all_highlights or all. none: Don't show any activity. personal_highlights: Only show personal highlights, i.e. not @channel and @here. all_highlights: Show all highlights, but not other messages. all: Show all activity, like other channels." +python.slack.never_away = "Poke Slack every five minutes so that it never marks you "away"." +python.slack.record_events = "Log all traffic from Slack to disk as JSON." +python.slack.render_bold_as = "When receiving bold text from Slack, render it as this in weechat." +python.slack.render_italic_as = "When receiving bold text from Slack, render it as this in weechat. If your terminal lacks italic support, consider using "underline" instead." +python.slack.send_typing_notice = "Alert Slack users when you are typing a message in the input bar (Requires reload)" +python.slack.server_aliases = "A comma separated list of `subdomain:alias` pairs. The alias will be used instead of the actual name of the slack (in buffer names, logging, etc). E.g `work:no_fun_allowed` would make your work slack show up as `no_fun_allowed` rather than `work.slack.com`." +python.slack.shared_name_prefix = "The prefix of buffer names for shared channels." +python.slack.short_buffer_names = "Use `foo.#channel` rather than `foo.slack.com.#channel` as the internal name for Slack buffers. Overrides server_aliases." +python.slack.show_reaction_nicks = "Display the name of the reacting user(s) alongside each reactji." +python.slack.slack_api_token = "List of Slack API tokens, one per Slack instance you want to connect to. See the README for details on how to get these." +python.slack.slack_timeout = "How long (ms) to wait when communicating with Slack." +python.slack.switch_buffer_on_join = "When /joining a channel, automatically switch to it as well." +python.slack.thread_suffix_color = "Color to use for the [thread: XXX] suffix on messages that have threads attached to them." +python.slack.unfurl_auto_link_display = "When displaying ("unfurling") links to channels/users/etc, determine what is displayed when the text matches the url without the protocol. This happens when Slack automatically creates links, e.g. from words separated by dots or email addresses. Set it to "text" to only display the text written by the user, "url" to only display the url or "both" (the default) to display both." +python.slack.unfurl_ignore_alt_text = "When displaying ("unfurling") links to channels/users/etc, ignore the "alt text" present in the message and instead use the canonical name of the thing being linked to." +python.slack.unhide_buffers_with_activity = "When activity occurs on a buffer, unhide it even if it was previously hidden (whether by the user or by the distracting_channels setting)."