From 139a21003b07452b08c8d721d1f9342c5320d10e Mon Sep 17 00:00:00 2001 From: Mart Lubbers Date: Tue, 9 Oct 2018 08:12:14 +0200 Subject: [PATCH] updates --- email/.config/msmtp/config | 2 +- shell/.bashrc | 2 +- shell/.local/bin/cpm.sh | 3 +-- shell/.local/bin/latex.mk | 2 +- shell/.local/bin/tmuxmail | 3 +-- x/.local/bin/bar | 2 +- x/.xinitrc | 1 - 7 files changed, 6 insertions(+), 9 deletions(-) diff --git a/email/.config/msmtp/config b/email/.config/msmtp/config index 4ee3fed..e150d1b 100644 --- a/email/.config/msmtp/config +++ b/email/.config/msmtp/config @@ -3,7 +3,7 @@ host lubbers.email port 587 auth on tls on -tls_fingerprint 2C:2A:55:0D:2D:F1:7C:FA:7E:E8:84:7C:29:85:3F:D0:D4:E2:AB:9E:1D:A1:B4:A3:0D:F8:89:8C:5C:19:B5:02 +tls_fingerprint B6:C7:06:ED:BA:F6:EF:8B:A3:0F:83:2D:F6:73:B4:78:D6:07:C9:52:60:8C:8A:FB:B4:B2:BA:3F:CA:00:B2:FC user mart@martlubbers.net passwordeval pass mail/mart@martlubbers.net #proxy_host localhost diff --git a/shell/.bashrc b/shell/.bashrc index 97cb9f5..e5e5995 100644 --- a/shell/.bashrc +++ b/shell/.bashrc @@ -17,7 +17,7 @@ export NOTMUCH_CONFIG=~/.config/notmuch/config export CLEAN_HOME=/opt/clean export PATH=~/.local/bin:$PATH export PATH=$PATH:$CLEAN_HOME/lib/exe:$CLEAN_HOME/bin -export PATH=$PATH:/opt/texlive/2018/bin/x86_64-linux +export PATH=$PATH:/opt/texlive/2018/bin/x86_64-linux:/opt/zotero export GTK_IM_MODULE=xim export QT_IM_MODULE=xim diff --git a/shell/.local/bin/cpm.sh b/shell/.local/bin/cpm.sh index afe5061..a51a0aa 100755 --- a/shell/.local/bin/cpm.sh +++ b/shell/.local/bin/cpm.sh @@ -1,6 +1,5 @@ #!/bin/bash -set -e -set -o pipefail +set -eo pipefail cpm "$@" |& grep -v\ -e "^Warning: Multiple file instances: 'Makefile'"\ -e "^Analyzing"\ diff --git a/shell/.local/bin/latex.mk b/shell/.local/bin/latex.mk index 3892b37..ad46f07 100644 --- a/shell/.local/bin/latex.mk +++ b/shell/.local/bin/latex.mk @@ -2,7 +2,7 @@ DOCUMENT:=$(shell grep -Fl documentclass *.tex) LATEX?=pdflatex -LATEXFLAGS?=--no-shell-escape -file-line-error -halt-on-error +LATEXFLAGS?=-synctex=1 -no-shell-escape -file-line-error -halt-on-error BIBTEX?=bibtex MAKEGLOSSARIES?=makeglossaries MAKEINDEX?=makeindex diff --git a/shell/.local/bin/tmuxmail b/shell/.local/bin/tmuxmail index 51e983a..5c7f75a 100755 --- a/shell/.local/bin/tmuxmail +++ b/shell/.local/bin/tmuxmail @@ -3,6 +3,5 @@ tmux -f ~/.config/tmux/config\ new-session -s mail -d 'update && offlineimap' \;\ new-window 'mutt' \;\ new-window 'ssh helheim' \;\ - new-window 'newsboat -r' \;\ - new-session -s code -d + new-window 'newsboat -r' exec tmux attach diff --git a/x/.local/bin/bar b/x/.local/bin/bar index 708160e..8655630 100755 --- a/x/.local/bin/bar +++ b/x/.local/bin/bar @@ -21,4 +21,4 @@ echo \ "⚡$bat"\ "Dsk: $(df -h | grep '/$' | awk '{print $4"/"$2}') |"\ "$(date +"%Y-%m-%d %H:%M:%S") "\ - "$(printf "% $(((WIDTH-2)/10))s")" + "$(printf "% $((WIDTH/20+1))s")" diff --git a/x/.xinitrc b/x/.xinitrc index 3b7197f..7966201 100755 --- a/x/.xinitrc +++ b/x/.xinitrc @@ -3,7 +3,6 @@ export _JAVA_AWT_WM_NONREPARENTING=1 dunst & trayer --align right --widthtype request --SetPartialStrut false --height 22 & -/usr/sbin/wpa_gui -t & eval "$(gpg-agent --daemon)" xrdb -merge ~/.Xresources -- 2.20.1