# HG changeset patch # User Steve Losh # Date 1579316005 18000 # Node ID dcbf704290a147eee1c7c6096d579166aea99ee4 # Parent 38443a6147482cb206961f82b48490cce30e87b4 The cleanup continues diff -r 38443a614748 -r dcbf704290a1 bash_profile --- a/bash_profile Fri Jan 17 21:25:13 2020 -0500 +++ b/bash_profile Fri Jan 17 21:53:25 2020 -0500 @@ -31,6 +31,10 @@ fi } +function histgrep { + history | grep "$@" | tac | f 2- +} + if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then HOST_COLOR="$CYAN" else @@ -45,6 +49,12 @@ alias .....="cd ../../../.." alias ......="cd ../../../../.." +alias js='cd ~/scratch' + +alias :q=exit +alias :qa=exit +alias :wqa=exit + if command -v ag >/dev/null; then AG_BIN="$(command -v ag)" function ag() { diff -r 38443a614748 -r dcbf704290a1 bin/broken-screenshot --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bin/broken-screenshot Fri Jan 17 21:53:25 2020 -0500 @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +set -euo pipefail + +ls -1 ~/screenshots/*.png | sort -nr | head -1 | xargs cp -t ~/Dropbox/fucked-screenshots/ +echom "shit's fucked again" diff -r 38443a614748 -r dcbf704290a1 bin/cw --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bin/cw Fri Jan 17 21:53:25 2020 -0500 @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +set -euo pipefail + +cat "$(which "$1")" diff -r 38443a614748 -r dcbf704290a1 bin/delete-broken-screenshot --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bin/delete-broken-screenshot Fri Jan 17 21:53:25 2020 -0500 @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +set -euo pipefail + +SS=`ls -1 ~/Dropbox/fucked-screenshots/*.png | sort -nr | head -1` +test "$SS" != "" +rm "$SS" +echom "deleted $SS" diff -r 38443a614748 -r dcbf704290a1 bin/delete-fucked-screenshot --- a/bin/delete-fucked-screenshot Fri Jan 17 21:25:13 2020 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,8 +0,0 @@ -#!/usr/bin/env bash - -set -euo pipefail - -SS=`ls -1 ~/Dropbox/fucked-screenshots/*.png | sort -nr | head -1` -test "$SS" != "" -rm "$SS" -echom "deleted $SS" diff -r 38443a614748 -r dcbf704290a1 bin/eat-shit-github --- a/bin/eat-shit-github Fri Jan 17 21:25:13 2020 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,16 +0,0 @@ -#!/usr/bin/env bash - -set -e - -echo GitHub is awful, fixing... -TAG="$(curl `pbpaste` | grep 'commit-ref' | grep -v 'sjl' | grep -Eo 'title=".*?"' | cut -d '"' -f2)" - -USER="$(echo $TAG | cut -d / -f1)" -REPO="$(echo $TAG | cut -d / -f2 | cut -d : -f1)" -BRANCH="$(echo $TAG | cut -d : -f2)" - -STRING="'git://github.com/$USER/$REPO.git' --rev '$BRANCH'" -echo -n "$STRING" | pbcopy - -echo Copied the following to the clipboard: -echo "$STRING" diff -r 38443a614748 -r dcbf704290a1 bin/ew --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bin/ew Fri Jan 17 21:53:25 2020 -0500 @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +set -euo pipefail + +"$EDITOR" "$(which "$1")" diff -r 38443a614748 -r dcbf704290a1 bin/fucked-screenshot --- a/bin/fucked-screenshot Fri Jan 17 21:25:13 2020 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,6 +0,0 @@ -#!/usr/bin/env bash - -set -euo pipefail - -ls -1 ~/screenshots/*.png | sort -nr | head -1 | xargs cp -t ~/Dropbox/fucked-screenshots/ -echom "shit's fucked again" diff -r 38443a614748 -r dcbf704290a1 bin/g --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bin/g Fri Jan 17 21:53:25 2020 -0500 @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +set -euo pipefail + +git "$@" diff -r 38443a614748 -r dcbf704290a1 bin/h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bin/h Fri Jan 17 21:53:25 2020 -0500 @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +set -euo pipefail + +hg "$@" diff -r 38443a614748 -r dcbf704290a1 bin/hank --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bin/hank Fri Jan 17 21:53:25 2020 -0500 @@ -0,0 +1,34 @@ +#!/usr/bin/env bash + +set -euo pipefail + +echo " + _____________ _„-,-~''~''':::'':::':::::''::::''~ + _,-'':::::::::::::::::::::::::::::::::::::::::::''-„ + ..,-'::::::::::::::::::::::::::::::::::::::::::::::: + ,-'::::::::::::::::::::::::::„:„„-~-~--'~-'~--~-~--~- + ..,'::::::::::,~'': : : : : : : : : : : : : : : : '-| + ..|::::::::,-': : : : : : : : - -~''''¯¯''-„: : : : :\\ + ..|:::::::: : : : : : : : : _„„--~'''''~-„: : : : '| + ..'|:::::::,': : : : : : :_„„-: : : : : : : : ~--„_: |' + |:::::: : : „--~~'''~~''''''''-„ _..„~''''''''''''¯| + |:::::,':_„„-|: : :_„---~: : ''¯¯''''|: ~---„_: || + ..,~-,_/'': : : |: _ o__): : |: :: : : : _o__): \\..| + ../,'-,: : : : : ''-,_______,-'': : : : ''-„_____| + ..\\: : : : : : : : : : : : : : :„: : : : :-,: : :\\ + ',:': : : : : : : : : : : : :,-'__: : : :_', ;: ,' + .'-,-': : : : : :___„-: : :'': : ¯''~~'': ': : ~--|' + .|: ,: : : : : : : : : : : : : : : : : : : :: : + .'|: \\: : : : : : : : -,„_„„-~~--~--„_: :: : : | + ..|: \\: : : : : : : : : : : :-------~: : : : : | + ..|: :''-,: : : : : : : : : : : : : : : : : : + ..',: : :''-, : : : : : : : : : : : : : :: ,' + | : : : : : : : : :_ : : : : : : : : : : ,-' + |: : : : : : : : : : '''~----------~'' + ._|: : : : : : : : : : : : : : : : : : : + .„-''. '-,_: : : : : : : : : : : : : : : : : ,' + ,-''. . . . . '''~-„_: : : : : : : : : : : : :,-'''-„ + █▀█░█▀█░█▀█░█▀█░█▀█░█▄░█░█▀▀░░ + █▀▀░█▀▄░█░█░█▀▀░█▀█░█▀██░█▀░░░ + ▀░░░▀░▀░▀▀▀░▀░░░▀░▀░▀░░▀░▀▀▀░▀ +" diff -r 38443a614748 -r dcbf704290a1 bin/imgcat --- a/bin/imgcat Fri Jan 17 21:25:13 2020 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,103 +0,0 @@ -#!/bin/bash - -# tmux requires unrecognized OSC sequences to be wrapped with DCS tmux; -# ST, and for all ESCs in to be replaced with ESC ESC. It -# only accepts ESC backslash for ST. -function print_osc() { - if [[ $TERM == screen* ]] ; then - printf "\033Ptmux;\033\033]" - else - printf "\033]" - fi -} - -# More of the tmux workaround described above. -function print_st() { - if [[ $TERM == screen* ]] ; then - printf "\a\033\\" - else - printf "\a" - fi -} - -# print_image filename inline base64contents -# filename: Filename to convey to client -# inline: 0 or 1 -# base64contents: Base64-encoded contents -function print_image() { - print_osc - printf '1337;File=' - if [[ -n "$1" ]]; then - printf 'name='`echo -n "$1" | base64`";" - fi - if $(base64 --version 2>&1 | grep GNU > /dev/null) - then - BASE64ARG=-d - else - BASE64ARG=-D - fi - echo -n "$3" | base64 $BASE64ARG | wc -c | awk '{printf "size=%d",$1}' - printf ";inline=$2" - printf ";width=50" - printf ":" - echo -n "$3" - print_st - printf '\n' -} - -function error() { - echo "ERROR: $*" 1>&2 -} - -function show_help() { - echo "Usage: imgcat filename ..." 1>& 2 - echo " or: cat filename | imgcat" 1>& 2 -} - -## Main - -if [ -t 0 ]; then - has_stdin=f -else - has_stdin=t -fi - -# Show help if no arguments and no stdin. -if [ $has_stdin = f -a $# -eq 0 ]; then - show_help - exit -fi - -# Look for command line flags. -while [ $# -gt 0 ]; do - case "$1" in - -h|--h|--help) - show_help - exit - ;; - -*) - error "Unknown option flag: $1" - show_help - exit 1 - ;; - *) - if [ -r "$1" ] ; then - print_image "$1" 1 "$(base64 < "$1")" - else - error "imgcat: $1: No such file or directory" - exit 2 - fi - ;; - esac - shift -done - -# Read and print stdin -if [ $has_stdin = t ]; then - print_image "" 1 "$(cat | base64)" -fi - -echo -echo - -exit 0 diff -r 38443a614748 -r dcbf704290a1 bin/l1 --- a/bin/l1 Fri Jan 17 21:25:13 2020 -0500 +++ b/bin/l1 Fri Jan 17 21:53:25 2020 -0500 @@ -2,4 +2,10 @@ set -euo pipefail -tree --dirsfirst --noreport -ChFL 1 "$@" +if command -v tree >/dev/null; then + tree --dirsfirst --noreport -ChFL 1 "$@" +else + ls --color=auto --group-directories-first -1 "$@" +fi + + diff -r 38443a614748 -r dcbf704290a1 bin/ll1 --- a/bin/ll1 Fri Jan 17 21:25:13 2020 -0500 +++ b/bin/ll1 Fri Jan 17 21:53:25 2020 -0500 @@ -2,4 +2,8 @@ set -euo pipefail -tree --dirsfirst --noreport -ChFupDaL 1 "$@" +if command -v tree >/dev/null; then + tree --dirsfirst --noreport -ChFupDaL 1 "$@" +else + ls --color=auto --group-directories-first -l1 "$@" +fi diff -r 38443a614748 -r dcbf704290a1 bin/remap-hggit-mapfile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bin/remap-hggit-mapfile Fri Jan 17 21:53:25 2020 -0500 @@ -0,0 +1,119 @@ +#!/usr/bin/env python + +from __future__ import print_function +import collections +import sys +import subprocess +import pprint + +hg_dir = sys.argv[1] +git_dir = sys.argv[2] + +nodetempl = "--template={node}\\n" +prettytempl = '--pretty=format:%H' + +def log(msg): + sys.stderr.write(str(msg) + '\n') + sys.stderr.flush() + +def die(msg): + sys.stderr.write(msg + '\n') + sys.exit(1) + +def hg(*args): + l = ["hg", "--repository", hg_dir] + list(args) + return subprocess.check_output(l).strip() + +def git(*args): + l = ["git", "-C", git_dir] + list(args) + return subprocess.check_output(l).strip() + +def find_hg_root_revision(): + rev = hg('log', '-r', 'roots(all())', nodetempl).split() + if len(rev) != 1: + die("Can't determine a single hg root revision.") + return rev[0] + +def find_git_root_revision(): + rev = git('log', '--max-parents=0', prettytempl).split() + if len(rev) != 1: + die("Can't determine a single git root revision.") + return rev[0] + +def find_git_children_mapping(): + result = collections.defaultdict(list) + for l in git('rev-list', '--all', '--parents').split('\n'): + parts = l.split() + for parent in parts[1:]: + result[parent].append(parts[0]) + return result + +def find_hg_children_mapping(): + result = collections.defaultdict(list) + for l in hg('log', '--template', '{node} {p1node} {p2node}\\n').split('\n'): + parts = l.split() + for parent in parts[1:]: + if parent != "0000000000000000000000000000000000000": + result[parent].append(parts[0]) + return result + +def find_hg_children(rev): + return hg('log', '-r', 'children(%s)' % rev, nodetempl).split() + +def get_hg_desc(rev): + return hg('log', '-r', rev, '--template={desc}') + +def get_git_desc(rev): + return git('log', '--format=%B', '-n', '1', rev) + +hg_root = find_hg_root_revision() +git_root = find_git_root_revision() +hg_children_map = find_hg_children_mapping() +git_children_map = find_git_children_mapping() + +# hg -> git +mapping = {hg_root: git_root} +todo = [hg_root] + +n = 0 +while todo: + h = todo.pop() + g = mapping[h] + + log("%4d %s %s" % (n, h[:12], g[:12])) + + n += 1 + + hg_children = hg_children_map[h] + git_children = git_children_map[g] + + if len(hg_children) == len(git_children) == 0: + log("Head node, no children...") + elif len(hg_children) == len(git_children) == 1: + if hg_children[0] not in mapping: + mapping[hg_children[0]] = git_children[0] + todo.append(hg_children[0]) + else: + log("Multiple (%d hg / %d git) children, attempting to differentiate" % + (len(hg_children), len(git_children))) + for hg_child in hg_children: + hg_desc = get_hg_desc(hg_child) + matching = [ + git_child for git_child in git_children + if hg_desc.startswith(get_git_desc(git_child).split('\n')[0]) + ] + if len(matching) == 1: + log("Found a match based on message for %s" % hg_child) + if hg_child not in mapping: + mapping[hg_child] = matching[0] + todo.append(hg_child) + else: + log("already done, skipping...") + elif len(matching) == 0: + log("no match found...") + else: + log("multiple matches found...") + + +for h, g in mapping.items(): + print(g, h) diff -r 38443a614748 -r dcbf704290a1 bin/unfuck-hggit-mapfile --- a/bin/unfuck-hggit-mapfile Fri Jan 17 21:25:13 2020 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,119 +0,0 @@ -#!/usr/bin/env python - -from __future__ import print_function -import collections -import sys -import subprocess -import pprint - -hg_dir = sys.argv[1] -git_dir = sys.argv[2] - -nodetempl = "--template={node}\\n" -prettytempl = '--pretty=format:%H' - -def log(msg): - sys.stderr.write(str(msg) + '\n') - sys.stderr.flush() - -def die(msg): - sys.stderr.write(msg + '\n') - sys.exit(1) - -def hg(*args): - l = ["hg", "--repository", hg_dir] + list(args) - return subprocess.check_output(l).strip() - -def git(*args): - l = ["git", "-C", git_dir] + list(args) - return subprocess.check_output(l).strip() - -def find_hg_root_revision(): - rev = hg('log', '-r', 'roots(all())', nodetempl).split() - if len(rev) != 1: - die("Can't determine a single hg root revision.") - return rev[0] - -def find_git_root_revision(): - rev = git('log', '--max-parents=0', prettytempl).split() - if len(rev) != 1: - die("Can't determine a single git root revision.") - return rev[0] - -def find_git_children_mapping(): - result = collections.defaultdict(list) - for l in git('rev-list', '--all', '--parents').split('\n'): - parts = l.split() - for parent in parts[1:]: - result[parent].append(parts[0]) - return result - -def find_hg_children_mapping(): - result = collections.defaultdict(list) - for l in hg('log', '--template', '{node} {p1node} {p2node}\\n').split('\n'): - parts = l.split() - for parent in parts[1:]: - if parent != "0000000000000000000000000000000000000": - result[parent].append(parts[0]) - return result - -def find_hg_children(rev): - return hg('log', '-r', 'children(%s)' % rev, nodetempl).split() - -def get_hg_desc(rev): - return hg('log', '-r', rev, '--template={desc}') - -def get_git_desc(rev): - return git('log', '--format=%B', '-n', '1', rev) - -hg_root = find_hg_root_revision() -git_root = find_git_root_revision() -hg_children_map = find_hg_children_mapping() -git_children_map = find_git_children_mapping() - -# hg -> git -mapping = {hg_root: git_root} -todo = [hg_root] - -n = 0 -while todo: - h = todo.pop() - g = mapping[h] - - log("%4d %s %s" % (n, h[:12], g[:12])) - - n += 1 - - hg_children = hg_children_map[h] - git_children = git_children_map[g] - - if len(hg_children) == len(git_children) == 0: - log("Head node, no children...") - elif len(hg_children) == len(git_children) == 1: - if hg_children[0] not in mapping: - mapping[hg_children[0]] = git_children[0] - todo.append(hg_children[0]) - else: - log("Multiple (%d hg / %d git) children, attempting to differentiate" % - (len(hg_children), len(git_children))) - for hg_child in hg_children: - hg_desc = get_hg_desc(hg_child) - matching = [ - git_child for git_child in git_children - if hg_desc.startswith(get_git_desc(git_child).split('\n')[0]) - ] - if len(matching) == 1: - log("Found a match based on message for %s" % hg_child) - if hg_child not in mapping: - mapping[hg_child] = matching[0] - todo.append(hg_child) - else: - log("already done, skipping...") - elif len(matching) == 0: - log("no match found...") - else: - log("multiple matches found...") - - -for h, g in mapping.items(): - print(g, h) diff -r 38443a614748 -r dcbf704290a1 fish/config.fish --- a/fish/config.fish Fri Jan 17 21:25:13 2020 -0500 +++ b/fish/config.fish Fri Jan 17 21:53:25 2020 -0500 @@ -3,31 +3,36 @@ function eb; nvim ~/Dropbox/bitly.txt; end function ed; nvim ~/.vim/custom-dictionary.utf-8.add; end function ef; nvim ~/.config/fish/config.fish; end -function ew; nvim (which $argv[1]); end -function cw; cat (which $argv[1]); end -function gw; gist (which $argv[1]); end -function eff; nvim ~/.config/fish/functions; end function eg; nvim ~/.gitconfig; end function eh; nvim ~/.hgrc; end 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 ev; nvim ~/.vimrc; end +function eff; nvim ~/.config/fish/functions; end function essh; nvim ~/.ssh/config; end -function ev; nvim ~/.vimrc; end function js; cd ~/scratch; end +function histgrep; history | grep "$argv" | tac; end + function ..; cd ..; end function ...; cd ../..; end function ....; cd ../../..; end function .....; cd ../../../..; end -alias p pass -alias pw pass-work +function eatshit + if test "$argv[1]" = '-u' + echo -n 'http://bit.ly/eat-shit' | pbcopy + else + echo -n '≣:D ⊃-' | pbcopy + end +end # I give up alias :q exit alias :qa exit +alias :wqa exit # }}} # Abbreviations {{{ @@ -48,7 +53,8 @@ complete -c s -w ssh complete -c cw -w which complete -c ew -w which -complete -c gw -w which +complete -c h -w hg +complete -c g -w git # }}} # Bind Keys {{{ @@ -102,7 +108,6 @@ set -g -x COMMAND_MODE unix2003 set -g -x RUBYOPT rubygems set -g -x PAGER 'less -X' -set -g -x MAVEN_OPTS "-Xmx2048m -Xss2M -XX:ReservedCodeCacheSize=128m" # set -g -x _JAVA_OPTIONS "-Djava.awt.headless=true" set -g -x GPG_TTY (tty) diff -r 38443a614748 -r dcbf704290a1 fish/functions/dr.fish --- a/fish/functions/dr.fish Fri Jan 17 21:25:13 2020 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,3 +0,0 @@ -function dr -d "dr is 'tr -d'" --wraps "tr" - tr -d $argv -end diff -r 38443a614748 -r dcbf704290a1 fish/functions/eatshit.fish --- a/fish/functions/eatshit.fish Fri Jan 17 21:25:13 2020 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,7 +0,0 @@ -function eatshit - if test "$argv[1]" = '-u' - echo -n 'http://bit.ly/eat-shit' | pbcopy - else - echo -n '≣:D ⊃-' | pbcopy - end -end diff -r 38443a614748 -r dcbf704290a1 fish/functions/et.fish --- a/fish/functions/et.fish Fri Jan 17 21:25:13 2020 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,5 +0,0 @@ -function et -d "Edit TODOs" - cd ~/.plan - nvim TODO - git cm 'Edit TODOs' -a -end diff -r 38443a614748 -r dcbf704290a1 fish/functions/fy.fish --- a/fish/functions/fy.fish Fri Jan 17 21:25:13 2020 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -function fy - echo -n ' / \ - |\_/| - |---| - | | - | | - _ |=-=| _ - _ / \| |/ \ - / \| | | ||\ -| | | | | \> -| | | | | \ -| - - - - |) ) -| / - \ / - \ / - \ / - \ / - | | - ' | pbcopy -end diff -r 38443a614748 -r dcbf704290a1 fish/functions/g.fish --- a/fish/functions/g.fish Fri Jan 17 21:25:13 2020 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,3 +0,0 @@ -function g -d "git" --wraps "git" - git $argv -end diff -r 38443a614748 -r dcbf704290a1 fish/functions/h.fish --- a/fish/functions/h.fish Fri Jan 17 21:25:13 2020 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,3 +0,0 @@ -function h -d "hg" --wraps "hg" - hg $argv -end diff -r 38443a614748 -r dcbf704290a1 fish/functions/hank.fish --- a/fish/functions/hank.fish Fri Jan 17 21:25:13 2020 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,33 +0,0 @@ -function hank -echo "...........………………_„-,-~''~''':::'':::':::::''::::''~ -………._,-'':::::::::::::::::::::::::::::::::::::::::::''-„ -………..,-'::::::::::::::::::::::::::::::::::::::::::::::: -………,-'::::::::::::::::::::::::::„:„„-~-~--'~-'~--~-~--~- -……..,'::::::::::,~'': : : : : : : : : : : : : : : : '-| -……..|::::::::,-': : : : : : : : - -~''''¯¯''-„: : : : :\\ -……..|:::::::: : : : : : : : : _„„--~'''''~-„: : : : '| -……..'|:::::::,': : : : : : :_„„-: : : : : : : : ~--„_: |' -………|:::::: : : „--~~'''~~''''''''-„…_..„~''''''''''''¯| -………|:::::,':_„„-|: : :_„---~: : ''¯¯''''|: ~---„_: || -……..,~-,_/'': : : |: _ o__): : |: :: : : : _o__): \\..| -……../,'-,: : : : : ''-,_______,-'': : : : ''-„_____| -……..\\: : : : : : : : : : : : : : :„: : : : :-,: : :\\ -………',:': : : : : : : : : : : : :,-'__: : : :_', ;: ,' -……….'-,-': : : : : :___„-: : :'': : ¯''~~'': ': : ~--|' -………….|: ,: : : : : : : : : : : : : : : : : : : :: : -………….'|: \\: : : : : : : : -,„_„„-~~--~--„_: :: : : | -…………..|: \\: : : : : : : : : : : :-------~: : : : : | -…………..|: :''-,: : : : : : : : : : : : : : : : : : -…………..',: : :''-, : : : : : : : : : : : : : :: ,' -……………| : : : : : : : : :_ : : : : : : : : : : ,-' -……………|: : : : : : : : : : '''~----------~'' -…………._|: : : : : : : : : : : : : : : : : : : -……….„-''. '-,_: : : : : : : : : : : : : : : : : ,' -……,-''. . . . . '''~-„_: : : : : : : : : : : : :,-'''-„ - █▀█░█▀█░█▀█░█▀█░█▀█░█▄░█░█▀▀░░ - █▀▀░█▀▄░█░█░█▀▀░█▀█░█▀██░█▀░░░ - ▀░░░▀░▀░▀▀▀░▀░░░▀░▀░▀░░▀░▀▀▀░▀ -" -end - - diff -r 38443a614748 -r dcbf704290a1 fish/functions/histgrep.fish --- a/fish/functions/histgrep.fish Fri Jan 17 21:25:13 2020 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,3 +0,0 @@ -function histgrep -d "grep shell history because my brain is garbage" - history | grep $argv | tac -end diff -r 38443a614748 -r dcbf704290a1 fish/functions/p.fish --- a/fish/functions/p.fish Fri Jan 17 21:25:13 2020 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,3 +0,0 @@ -function p - ~/lib/t/t.py --task-dir="~/Dropbox/tasks" --list=pack.txt $argv -end diff -r 38443a614748 -r dcbf704290a1 remote/bin/au --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/remote/bin/au Fri Jan 17 21:53:25 2020 -0500 @@ -0,0 +1,1 @@ +../../bin/au \ No newline at end of file diff -r 38443a614748 -r dcbf704290a1 remote/bin/aug --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/remote/bin/aug Fri Jan 17 21:53:25 2020 -0500 @@ -0,0 +1,1 @@ +../../bin/aug \ No newline at end of file diff -r 38443a614748 -r dcbf704290a1 remote/bin/collapse --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/remote/bin/collapse Fri Jan 17 21:53:25 2020 -0500 @@ -0,0 +1,1 @@ +../../bin/collapse \ No newline at end of file diff -r 38443a614748 -r dcbf704290a1 remote/bin/confirm --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/remote/bin/confirm Fri Jan 17 21:53:25 2020 -0500 @@ -0,0 +1,1 @@ +../../bin/confirm \ No newline at end of file diff -r 38443a614748 -r dcbf704290a1 remote/bin/cuts --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/remote/bin/cuts Fri Jan 17 21:53:25 2020 -0500 @@ -0,0 +1,1 @@ +../../bin/cuts \ No newline at end of file diff -r 38443a614748 -r dcbf704290a1 remote/bin/cw --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/remote/bin/cw Fri Jan 17 21:53:25 2020 -0500 @@ -0,0 +1,1 @@ +../../bin/cw \ No newline at end of file diff -r 38443a614748 -r dcbf704290a1 remote/bin/disks --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/remote/bin/disks Fri Jan 17 21:53:25 2020 -0500 @@ -0,0 +1,1 @@ +../../bin/disks \ No newline at end of file diff -r 38443a614748 -r dcbf704290a1 remote/bin/epochmilliseconds --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/remote/bin/epochmilliseconds Fri Jan 17 21:53:25 2020 -0500 @@ -0,0 +1,1 @@ +../../bin/epochmilliseconds \ No newline at end of file diff -r 38443a614748 -r dcbf704290a1 remote/bin/epochseconds --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/remote/bin/epochseconds Fri Jan 17 21:53:25 2020 -0500 @@ -0,0 +1,1 @@ +../../bin/epochseconds \ No newline at end of file diff -r 38443a614748 -r dcbf704290a1 remote/bin/ew --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/remote/bin/ew Fri Jan 17 21:53:25 2020 -0500 @@ -0,0 +1,1 @@ +../../bin/ew \ No newline at end of file diff -r 38443a614748 -r dcbf704290a1 remote/bin/f --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/remote/bin/f Fri Jan 17 21:53:25 2020 -0500 @@ -0,0 +1,1 @@ +../../bin/f \ No newline at end of file diff -r 38443a614748 -r dcbf704290a1 remote/bin/g --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/remote/bin/g Fri Jan 17 21:53:25 2020 -0500 @@ -0,0 +1,1 @@ +../../bin/g \ No newline at end of file diff -r 38443a614748 -r dcbf704290a1 remote/bin/h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/remote/bin/h Fri Jan 17 21:53:25 2020 -0500 @@ -0,0 +1,1 @@ +../../bin/h \ No newline at end of file diff -r 38443a614748 -r dcbf704290a1 remote/bin/hank --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/remote/bin/hank Fri Jan 17 21:53:25 2020 -0500 @@ -0,0 +1,1 @@ +../../bin/hank \ No newline at end of file diff -r 38443a614748 -r dcbf704290a1 remote/bin/l --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/remote/bin/l Fri Jan 17 21:53:25 2020 -0500 @@ -0,0 +1,1 @@ +../../bin/l \ No newline at end of file diff -r 38443a614748 -r dcbf704290a1 remote/bin/l1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/remote/bin/l1 Fri Jan 17 21:53:25 2020 -0500 @@ -0,0 +1,1 @@ +../../bin/l1 \ No newline at end of file diff -r 38443a614748 -r dcbf704290a1 remote/bin/l2 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/remote/bin/l2 Fri Jan 17 21:53:25 2020 -0500 @@ -0,0 +1,1 @@ +../../bin/l2 \ No newline at end of file diff -r 38443a614748 -r dcbf704290a1 remote/bin/l3 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/remote/bin/l3 Fri Jan 17 21:53:25 2020 -0500 @@ -0,0 +1,1 @@ +../../bin/l3 \ No newline at end of file diff -r 38443a614748 -r dcbf704290a1 remote/bin/l4 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/remote/bin/l4 Fri Jan 17 21:53:25 2020 -0500 @@ -0,0 +1,1 @@ +../../bin/l4 \ No newline at end of file diff -r 38443a614748 -r dcbf704290a1 remote/bin/l5 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/remote/bin/l5 Fri Jan 17 21:53:25 2020 -0500 @@ -0,0 +1,1 @@ +../../bin/l5 \ No newline at end of file diff -r 38443a614748 -r dcbf704290a1 remote/bin/l6 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/remote/bin/l6 Fri Jan 17 21:53:25 2020 -0500 @@ -0,0 +1,1 @@ +../../bin/l6 \ No newline at end of file diff -r 38443a614748 -r dcbf704290a1 remote/bin/ll --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/remote/bin/ll Fri Jan 17 21:53:25 2020 -0500 @@ -0,0 +1,1 @@ +../../bin/ll \ No newline at end of file diff -r 38443a614748 -r dcbf704290a1 remote/bin/ll1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/remote/bin/ll1 Fri Jan 17 21:53:25 2020 -0500 @@ -0,0 +1,1 @@ +../../bin/ll1 \ No newline at end of file diff -r 38443a614748 -r dcbf704290a1 remote/bin/ll2 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/remote/bin/ll2 Fri Jan 17 21:53:25 2020 -0500 @@ -0,0 +1,1 @@ +../../bin/ll2 \ No newline at end of file diff -r 38443a614748 -r dcbf704290a1 remote/bin/ll3 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/remote/bin/ll3 Fri Jan 17 21:53:25 2020 -0500 @@ -0,0 +1,1 @@ +../../bin/ll3 \ No newline at end of file diff -r 38443a614748 -r dcbf704290a1 remote/bin/ll4 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/remote/bin/ll4 Fri Jan 17 21:53:25 2020 -0500 @@ -0,0 +1,1 @@ +../../bin/ll4 \ No newline at end of file diff -r 38443a614748 -r dcbf704290a1 remote/bin/ll5 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/remote/bin/ll5 Fri Jan 17 21:53:25 2020 -0500 @@ -0,0 +1,1 @@ +../../bin/ll5 \ No newline at end of file diff -r 38443a614748 -r dcbf704290a1 remote/bin/ll6 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/remote/bin/ll6 Fri Jan 17 21:53:25 2020 -0500 @@ -0,0 +1,1 @@ +../../bin/ll6 \ No newline at end of file diff -r 38443a614748 -r dcbf704290a1 remote/bin/s --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/remote/bin/s Fri Jan 17 21:53:25 2020 -0500 @@ -0,0 +1,1 @@ +../../bin/s \ No newline at end of file diff -r 38443a614748 -r dcbf704290a1 remote/bin/scratch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/remote/bin/scratch Fri Jan 17 21:53:25 2020 -0500 @@ -0,0 +1,1 @@ +../../bin/scratch \ No newline at end of file diff -r 38443a614748 -r dcbf704290a1 remote/bin/stripcolor --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/remote/bin/stripcolor Fri Jan 17 21:53:25 2020 -0500 @@ -0,0 +1,1 @@ +../../bin/stripcolor \ No newline at end of file diff -r 38443a614748 -r dcbf704290a1 remote/bin/urldecode --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/remote/bin/urldecode Fri Jan 17 21:53:25 2020 -0500 @@ -0,0 +1,1 @@ +../../bin/urldecode \ No newline at end of file diff -r 38443a614748 -r dcbf704290a1 remote/bin/urlencode --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/remote/bin/urlencode Fri Jan 17 21:53:25 2020 -0500 @@ -0,0 +1,1 @@ +../../bin/urlencode \ No newline at end of file diff -r 38443a614748 -r dcbf704290a1 remote/bin/ws --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/remote/bin/ws Fri Jan 17 21:53:25 2020 -0500 @@ -0,0 +1,1 @@ +../../bin/ws \ No newline at end of file diff -r 38443a614748 -r dcbf704290a1 stumpwmrc --- a/stumpwmrc Fri Jan 17 21:25:13 2020 -0500 +++ b/stumpwmrc Fri Jan 17 21:53:25 2020 -0500 @@ -232,10 +232,10 @@ (run-shell-command "screenshot")) (defcommand save-fucked-screenshot () () - (run-shell-command "fucked-screenshot")) + (run-shell-command "broken-screenshot")) (defcommand delete-fucked-screenshot () () - (run-shell-command "delete-fucked-screenshot")) + (run-shell-command "delete-broken-screenshot")) ;;;; Brightness ---------------------------------------------------------------