diff options
| -rw-r--r-- | X11/openbox/rc.xml | 1 | ||||
| -rw-r--r-- | alias | 6 | ||||
| -rw-r--r-- | bin/log/shellrc | 3 | ||||
| -rw-r--r-- | mutt/default | 7 | ||||
| -rw-r--r-- | mutt/muttrc.topo | 14 |
5 files changed, 19 insertions, 12 deletions
diff --git a/X11/openbox/rc.xml b/X11/openbox/rc.xml index a27914c..528881d 100644 --- a/X11/openbox/rc.xml +++ b/X11/openbox/rc.xml | |||
| @@ -541,6 +541,7 @@ | |||
| 541 | </keybind> | 541 | </keybind> |
| 542 | <keybind key="W-e"> | 542 | <keybind key="W-e"> |
| 543 | <action name="Execute"> | 543 | <action name="Execute"> |
| 544 | <!-- Copy to CLIPBOARD --> | ||
| 544 | <command> | 545 | <command> |
| 545 | alacritty -o 'env.fullrc="false"' -e nvim -c 'r !xsel -ob' -c 'normal A' -c 'startinsert' -c 'nmap <C-c> :w !xsel -ib<CR>:qa!<CR>' | 546 | alacritty -o 'env.fullrc="false"' -e nvim -c 'r !xsel -ob' -c 'normal A' -c 'startinsert' -c 'nmap <C-c> :w !xsel -ib<CR>:qa!<CR>' |
| 546 | </command> | 547 | </command> |
| @@ -273,7 +273,7 @@ alias cdssh='cd ~/.ssh' | |||
| 273 | alias ptt='ssh ptt' | 273 | alias ptt='ssh ptt' |
| 274 | alias sshv='ssh -t vps' | 274 | alias sshv='ssh -t vps' |
| 275 | ssh.tar() { | 275 | ssh.tar() { |
| 276 | prompt-vim "tar cf - foo | ssh vps 'cd ~/Downloads; tar xf -' \nssh vps 'tar czf - --directory=/working/path target' | tar xvzf -" | 276 | prompt-vim "FOLDER=foo TARGET=~/Downloads tar cf - $FOLDER | pv -s $(du -sb $FOLDER | cut -f1) | ssh vps \"cd $TARGET; tar xf -\" \nssh vps 'tar czf - --directory=/working/path target' | tar xvzf -" |
| 277 | } | 277 | } |
| 278 | ssh.up() { | 278 | ssh.up() { |
| 279 | set -o pipefail | 279 | set -o pipefail |
| @@ -307,8 +307,8 @@ alias ys='yay -S' | |||
| 307 | alias pqs='pacman -Qs' | 307 | alias pqs='pacman -Qs' |
| 308 | alias pqi='pacman -Qi' | 308 | alias pqi='pacman -Qi' |
| 309 | alias ysi='yay -Si' | 309 | alias ysi='yay -Si' |
| 310 | alias pss='pacman -Ss' | 310 | pss(){ pacman -Ss $@ | grep $1 -C2; } |
| 311 | alias yss='yay -Ss' | 311 | yss(){ yay -Ss $@ | grep $1 -C2; } |
| 312 | alias pqi='pacman -Qi' | 312 | alias pqi='pacman -Qi' |
| 313 | alias pql='pacman -Qlq' | 313 | alias pql='pacman -Qlq' |
| 314 | alias pqe='pacman -Qqe' | 314 | alias pqe='pacman -Qqe' |
diff --git a/bin/log/shellrc b/bin/log/shellrc index 504a129..71b28f5 100644 --- a/bin/log/shellrc +++ b/bin/log/shellrc | |||
| @@ -3,8 +3,9 @@ alias cdl='cd ~/log' | |||
| 3 | alias chw='tig -C ~/log' | 3 | alias chw='tig -C ~/log' |
| 4 | ww() { | 4 | ww() { |
| 5 | entry="${1:-inbox}" | 5 | entry="${1:-inbox}" |
| 6 | entry="${entry%.md}" | 6 | export entry="${entry%.md}" |
| 7 | file=$(find ~/log -name "${entry}*" | head -1) | 7 | file=$(find ~/log -name "${entry}*" | head -1) |
| 8 | file=${file:-$HOME/log/$entry.md} | ||
| 8 | $EDITOR $file | 9 | $EDITOR $file |
| 9 | } | 10 | } |
| 10 | wj() { echo "$@" >>~/log/buffer.md; } | 11 | wj() { echo "$@" >>~/log/buffer.md; } |
diff --git a/mutt/default b/mutt/default index 9c0f7e0..d255e70 100644 --- a/mutt/default +++ b/mutt/default | |||
| @@ -54,7 +54,6 @@ macro index q '<change-folder>?' | |||
| 54 | bind index o sort-reverse | 54 | bind index o sort-reverse |
| 55 | bind index O sort-mailbox | 55 | bind index O sort-mailbox |
| 56 | bind index E edit-type | 56 | bind index E edit-type |
| 57 | bind index,pager N search-opposite | ||
| 58 | bind index,pager <Return> sync-mailbox | 57 | bind index,pager <Return> sync-mailbox |
| 59 | bind index y edit-label | 58 | bind index y edit-label |
| 60 | bind index x tag-entry | 59 | bind index x tag-entry |
| @@ -70,7 +69,8 @@ bind index,pager,browser,attach \cf next-page | |||
| 70 | bind index,pager,browser,attach \cb previous-page | 69 | bind index,pager,browser,attach \cb previous-page |
| 71 | bind index,pager,browser,attach \cd half-down | 70 | bind index,pager,browser,attach \cd half-down |
| 72 | bind index,pager,browser,attach \cu half-up | 71 | bind index,pager,browser,attach \cu half-up |
| 73 | bind index,pager <Tab> previous-new-then-unread | 72 | bind index,pager <BackTab> previous-new-then-unread |
| 73 | bind index,pager <Tab> next-new-then-unread | ||
| 74 | bind index } bottom-page | 74 | bind index } bottom-page |
| 75 | bind index p parent-message | 75 | bind index p parent-message |
| 76 | bind index P print-message | 76 | bind index P print-message |
| @@ -105,6 +105,9 @@ macro pager U "\ | |||
| 105 | |less\n\ | 105 | |less\n\ |
| 106 | :set pipe_decode=\$my_tmp_pipe_decode\n\ | 106 | :set pipe_decode=\$my_tmp_pipe_decode\n\ |
| 107 | :unset my_tmp_pipe_decode\n" | 107 | :unset my_tmp_pipe_decode\n" |
| 108 | macro index A \ | ||
| 109 | "<tag-pattern>~N<enter><tag-prefix><clear-flag>N<untag-pattern>.<enter>" \ | ||
| 110 | "mark all new as read" | ||
| 108 | #macro pager U "<pipe-message>less<enter>" "CHECK" | 111 | #macro pager U "<pipe-message>less<enter>" "CHECK" |
| 109 | # Quick jump to other mailboxes | 112 | # Quick jump to other mailboxes |
| 110 | bind index,pager g noop | 113 | bind index,pager g noop |
diff --git a/mutt/muttrc.topo b/mutt/muttrc.topo index 12e7c88..72a01f8 100644 --- a/mutt/muttrc.topo +++ b/mutt/muttrc.topo | |||
| @@ -25,8 +25,8 @@ set mask="!(tmp|new|cur|dovecot.*|\\..*|maildirfolder)" | |||
| 25 | # Sidebar | 25 | # Sidebar |
| 26 | mailboxes -label '📭 [i]' + \ | 26 | mailboxes -label '📭 [i]' + \ |
| 27 | -label '📥 [m]' +mbox \ | 27 | -label '📥 [m]' +mbox \ |
| 28 | -label '👀 [d]' +dev \ | 28 | -label '👀 [D]' +dev \ |
| 29 | -label '💬 [D]' +DeltaChat \ | 29 | -label '💬 [d]' +DeltaChat \ |
| 30 | +github \ | 30 | +github \ |
| 31 | +JOB \ | 31 | +JOB \ |
| 32 | +promotion \ | 32 | +promotion \ |
| @@ -40,7 +40,8 @@ mailboxes -label '📭 [i]' + \ | |||
| 40 | -label '💲 [p]' +pay \ | 40 | -label '💲 [p]' +pay \ |
| 41 | -label '🍺 [k]' +keep \ | 41 | -label '🍺 [k]' +keep \ |
| 42 | -label '📤 [s]' +Sent \ | 42 | -label '📤 [s]' +Sent \ |
| 43 | -label '🗑 [t]' -poll +Trash \ | 43 | -label '🗑 [T]' -poll +Trash \ |
| 44 | +talk \ | ||
| 44 | +login \ | 45 | +login \ |
| 45 | +update \ | 46 | +update \ |
| 46 | +service \ | 47 | +service \ |
| @@ -65,9 +66,10 @@ macro index,pager,browser gP "<change-folder>+promotion<Return>" "Switch | |||
| 65 | macro index,pager,browser gh "<change-folder>+hometeach<Return>" "Switch to hometeach folder" | 66 | macro index,pager,browser gh "<change-folder>+hometeach<Return>" "Switch to hometeach folder" |
| 66 | macro index,pager,browser gs "<change-folder>+Sent<Return>" "Switch to Sent folder" | 67 | macro index,pager,browser gs "<change-folder>+Sent<Return>" "Switch to Sent folder" |
| 67 | macro index,pager,browser gS "<change-folder>+spam<Return>" "Switch to spam folder" | 68 | macro index,pager,browser gS "<change-folder>+spam<Return>" "Switch to spam folder" |
| 68 | macro index,pager,browser gd "<change-folder>+dev<Return>" "Switch to DEV folder" | 69 | macro index,pager,browser gD "<change-folder>+dev<Return>" "Switch to DEV folder" |
| 69 | macro index,pager,browser gD "<change-folder>+DeltaChat<Return>" "Switch to DeltaChat folder" | 70 | macro index,pager,browser gd "<change-folder>+DeltaChat<Return>" "Switch to DeltaChat folder" |
| 70 | macro index,pager,browser gt "<change-folder>+Trash<Return>" "Switch to Trash folder" | 71 | macro index,pager,browser gt "<change-folder>+talk<Return>" "Switch to Trash folder" |
| 72 | macro index,pager,browser gT "<change-folder>+Trash<Return>" "Switch to Trash folder" | ||
| 71 | macro index,pager,browser gl "<change-folder>+login<Return>" "Switch to login folder" | 73 | macro index,pager,browser gl "<change-folder>+login<Return>" "Switch to login folder" |
| 72 | macro index,pager,browser ga "<change-folder>+arch-general<Return>" "Switch to arch-general folder" | 74 | macro index,pager,browser ga "<change-folder>+arch-general<Return>" "Switch to arch-general folder" |
| 73 | macro index,pager,browser gk "<change-folder>+keep<Return>" "Switch to keep folder" | 75 | macro index,pager,browser gk "<change-folder>+keep<Return>" "Switch to keep folder" |