# HG changeset patch # User Steve Losh # Date 1666814478 14400 # Node ID 3709361eb09c70034649baccca2f156ee1f07e49 # Parent de3fbded24a12a471a076d43dbb05c30723c90d4 More diff -r de3fbded24a1 -r 3709361eb09c bin/o --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bin/o Wed Oct 26 16:01:18 2022 -0400 @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +set -euo pipefail + +if test "$#" -eq 0; then + open . +else + open "$@" +fi diff -r de3fbded24a1 -r 3709361eb09c fish/config.fish --- a/fish/config.fish Tue Oct 04 14:20:19 2022 -0400 +++ b/fish/config.fish Wed Oct 26 16:01:18 2022 -0400 @@ -208,6 +208,22 @@ echo $PWD | sed -e "s|^$HOME|~|" end +set elapsed_start 0 +set elapsed 0 + +function prompt_time_elapsed --description 'Print the time taken by the previous command, if significant.' + if test $elapsed -gt 2 + echo -n ' ('$elapsed's)' + end +end + +function elapsed_timer_pre -e fish_preexec + set elapsed_start (date '+%s') +end + +function elapsed_timer_post -e fish_postexec + set elapsed (math (date '+%s') - $elapsed_start) +end function fish_prompt set last_status $status @@ -232,6 +248,9 @@ git_prompt end + set_color brblack + prompt_time_elapsed + echo if test $last_status -eq 0 diff -r de3fbded24a1 -r 3709361eb09c fish/functions/o.fish --- a/fish/functions/o.fish Tue Oct 04 14:20:19 2022 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,3 +0,0 @@ -function o -d "open" --wraps "open" - open $argv -end diff -r de3fbded24a1 -r 3709361eb09c fish/functions/oo.fish --- a/fish/functions/oo.fish Tue Oct 04 14:20:19 2022 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,3 +0,0 @@ -function oo -d "open ." - open . -end diff -r de3fbded24a1 -r 3709361eb09c stumpwmrc --- a/stumpwmrc Tue Oct 04 14:20:19 2022 -0400 +++ b/stumpwmrc Wed Oct 26 16:01:18 2022 -0400 @@ -431,7 +431,7 @@ ((:alephnull :mobius :papyrifera) (run-shell-command "exec lock-screen") (run-shell-command "systemctl suspend")) - (t (message "Not sleeping this machine for safety..")))) + (t (message "Not sleeping this machine for safety.")))) (defcommand copy-clhs-url (s) ((:string "Symbol: ")) @@ -667,8 +667,8 @@ ("H-O" "spotify") ("H-o" "files") ("H-z" "zoom") - ("XF86Launch8" "toggle-zoom-mute") - ("H-XF86Launch8" "end-zoom") + ("H-Z" "toggle-zoom-mute") + ("C-H-Z" "end-zoom") ("H-q" "exec lock-screen") ("H-y" "screenshot") ("H-g" "gcontrol") diff -r de3fbded24a1 -r 3709361eb09c weechat/alias.conf --- a/weechat/alias.conf Tue Oct 04 14:20:19 2022 -0400 +++ b/weechat/alias.conf Wed Oct 26 16:01:18 2022 -0400 @@ -6,7 +6,7 @@ # # Use commands like /set or /fset to change settings in WeeChat. # -# For more info, see: https://weechat.org/doc/quickstart/ +# For more info, see: https://weechat.org/doc/quickstart # [cmd] diff -r de3fbded24a1 -r 3709361eb09c weechat/autosort.conf --- a/weechat/autosort.conf Tue Oct 04 14:20:19 2022 -0400 +++ b/weechat/autosort.conf Wed Oct 26 16:01:18 2022 -0400 @@ -6,7 +6,7 @@ # # Use commands like /set or /fset to change settings in WeeChat. # -# For more info, see: https://weechat.org/doc/quickstart/ +# For more info, see: https://weechat.org/doc/quickstart # [sorting] diff -r de3fbded24a1 -r 3709361eb09c weechat/buflist.conf --- a/weechat/buflist.conf Tue Oct 04 14:20:19 2022 -0400 +++ b/weechat/buflist.conf Wed Oct 26 16:01:18 2022 -0400 @@ -6,7 +6,7 @@ # # Use commands like /set or /fset to change settings in WeeChat. # -# For more info, see: https://weechat.org/doc/quickstart/ +# For more info, see: https://weechat.org/doc/quickstart # [look] diff -r de3fbded24a1 -r 3709361eb09c weechat/charset.conf --- a/weechat/charset.conf Tue Oct 04 14:20:19 2022 -0400 +++ b/weechat/charset.conf Wed Oct 26 16:01:18 2022 -0400 @@ -6,7 +6,7 @@ # # Use commands like /set or /fset to change settings in WeeChat. # -# For more info, see: https://weechat.org/doc/quickstart/ +# For more info, see: https://weechat.org/doc/quickstart # [default] diff -r de3fbded24a1 -r 3709361eb09c weechat/exec.conf --- a/weechat/exec.conf Tue Oct 04 14:20:19 2022 -0400 +++ b/weechat/exec.conf Wed Oct 26 16:01:18 2022 -0400 @@ -6,7 +6,7 @@ # # Use commands like /set or /fset to change settings in WeeChat. # -# For more info, see: https://weechat.org/doc/quickstart/ +# For more info, see: https://weechat.org/doc/quickstart # [command] diff -r de3fbded24a1 -r 3709361eb09c weechat/fifo.conf --- a/weechat/fifo.conf Tue Oct 04 14:20:19 2022 -0400 +++ b/weechat/fifo.conf Wed Oct 26 16:01:18 2022 -0400 @@ -6,7 +6,7 @@ # # Use commands like /set or /fset to change settings in WeeChat. # -# For more info, see: https://weechat.org/doc/quickstart/ +# For more info, see: https://weechat.org/doc/quickstart # [file] diff -r de3fbded24a1 -r 3709361eb09c weechat/fset.conf --- a/weechat/fset.conf Tue Oct 04 14:20:19 2022 -0400 +++ b/weechat/fset.conf Wed Oct 26 16:01:18 2022 -0400 @@ -6,7 +6,7 @@ # # Use commands like /set or /fset to change settings in WeeChat. # -# For more info, see: https://weechat.org/doc/quickstart/ +# For more info, see: https://weechat.org/doc/quickstart # [look] diff -r de3fbded24a1 -r 3709361eb09c weechat/logger.conf --- a/weechat/logger.conf Tue Oct 04 14:20:19 2022 -0400 +++ b/weechat/logger.conf Wed Oct 26 16:01:18 2022 -0400 @@ -6,7 +6,7 @@ # # Use commands like /set or /fset to change settings in WeeChat. # -# For more info, see: https://weechat.org/doc/quickstart/ +# For more info, see: https://weechat.org/doc/quickstart # [look] diff -r de3fbded24a1 -r 3709361eb09c weechat/python.conf --- a/weechat/python.conf Tue Oct 04 14:20:19 2022 -0400 +++ b/weechat/python.conf Wed Oct 26 16:01:18 2022 -0400 @@ -6,7 +6,7 @@ # # Use commands like /set or /fset to change settings in WeeChat. # -# For more info, see: https://weechat.org/doc/quickstart/ +# For more info, see: https://weechat.org/doc/quickstart # [look] diff -r de3fbded24a1 -r 3709361eb09c weechat/relay.conf --- a/weechat/relay.conf Tue Oct 04 14:20:19 2022 -0400 +++ b/weechat/relay.conf Wed Oct 26 16:01:18 2022 -0400 @@ -6,7 +6,7 @@ # # Use commands like /set or /fset to change settings in WeeChat. # -# For more info, see: https://weechat.org/doc/quickstart/ +# For more info, see: https://weechat.org/doc/quickstart # [look] @@ -30,7 +30,7 @@ auth_timeout = 60 bind_address = "" clients_purge_delay = 0 -compression = 20 +compression_level = 6 ipv6 = on max_clients = 5 nonce_size = 16 diff -r de3fbded24a1 -r 3709361eb09c weechat/script.conf --- a/weechat/script.conf Tue Oct 04 14:20:19 2022 -0400 +++ b/weechat/script.conf Wed Oct 26 16:01:18 2022 -0400 @@ -6,7 +6,7 @@ # # Use commands like /set or /fset to change settings in WeeChat. # -# For more info, see: https://weechat.org/doc/quickstart/ +# For more info, see: https://weechat.org/doc/quickstart # [look] diff -r de3fbded24a1 -r 3709361eb09c weechat/trigger.conf --- a/weechat/trigger.conf Tue Oct 04 14:20:19 2022 -0400 +++ b/weechat/trigger.conf Wed Oct 26 16:01:18 2022 -0400 @@ -6,7 +6,7 @@ # # Use commands like /set or /fset to change settings in WeeChat. # -# For more info, see: https://weechat.org/doc/quickstart/ +# For more info, see: https://weechat.org/doc/quickstart # [look] diff -r de3fbded24a1 -r 3709361eb09c weechat/urlgrab.conf --- a/weechat/urlgrab.conf Tue Oct 04 14:20:19 2022 -0400 +++ b/weechat/urlgrab.conf Wed Oct 26 16:01:18 2022 -0400 @@ -6,7 +6,7 @@ # # Use commands like /set or /fset to change settings in WeeChat. # -# For more info, see: https://weechat.org/doc/quickstart/ +# For more info, see: https://weechat.org/doc/quickstart # [color] diff -r de3fbded24a1 -r 3709361eb09c weechat/xfer.conf --- a/weechat/xfer.conf Tue Oct 04 14:20:19 2022 -0400 +++ b/weechat/xfer.conf Wed Oct 26 16:01:18 2022 -0400 @@ -6,7 +6,7 @@ # # Use commands like /set or /fset to change settings in WeeChat. # -# For more info, see: https://weechat.org/doc/quickstart/ +# For more info, see: https://weechat.org/doc/quickstart # [look]