From 11677e341464bf8954daed4f1d16e373b9111938 Mon Sep 17 00:00:00 2001 From: Mart Lubbers Date: Tue, 9 Oct 2018 08:12:47 +0200 Subject: [PATCH] updates --- email/.config/msmtp/config | 2 +- email/.config/notmuch/config | 1 + shell/.bashrc | 1 + shell/.local/bin/backup.sh | 2 +- shell/.local/bin/tmuxmail | 3 +-- x/.local/bin/bar | 2 +- x/.xinitrc | 2 +- 7 files changed, 7 insertions(+), 6 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/email/.config/notmuch/config b/email/.config/notmuch/config index 73b20c3..e9150a6 100644 --- a/email/.config/notmuch/config +++ b/email/.config/notmuch/config @@ -31,6 +31,7 @@ path=/home/mrl/.mutt/mail [user] name=Mart Lubbers primary_email=mart@martlubbers.net +other_email=martlubbers@gmail.com,mart-lubbers@hotmail.com,mail@rooslubbers.nl,mart@cs.ru.nl # Configuration for "notmuch new" # diff --git a/shell/.bashrc b/shell/.bashrc index 97cb9f5..1ae8742 100644 --- a/shell/.bashrc +++ b/shell/.bashrc @@ -28,6 +28,7 @@ alias vi=vim alias latexmk='make -f ~/.local/bin/latex.mk' export TMUX_TMPDIR="$XDG_RUNTIME_DIR" alias tmux='tmux -f ~/.config/tmux/config' +alias shutdown="echo \"Are you sure? I\'m Ygdrassil\" && read && shutdown" . /etc/bash_completion diff --git a/shell/.local/bin/backup.sh b/shell/.local/bin/backup.sh index 0656811..cd4ebe5 100755 --- a/shell/.local/bin/backup.sh +++ b/shell/.local/bin/backup.sh @@ -8,7 +8,7 @@ um () start="$(date)" if [ ! -n "$1" ] then - echo "Was this script called from udev? I need the ID_FS_UUID_ENC variable" | tee /home/mrl/backup.log + echo "Was this script called from udev? I need the UUID as the first argument" > /home/mrl/backup.log exit 1 elif mountpoint -q /mnt/backupdrive then 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 c1a061b..079fac0 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-2)/20+1))s")" diff --git a/x/.xinitrc b/x/.xinitrc index 7966201..23df7c9 100755 --- a/x/.xinitrc +++ b/x/.xinitrc @@ -2,7 +2,7 @@ #To fix java applications in tiling (e.g. arduino) export _JAVA_AWT_WM_NONREPARENTING=1 dunst & -trayer --align right --widthtype request --SetPartialStrut false --height 22 & +# trayer --align right --widthtype request --SetPartialStrut false --height 22 & eval "$(gpg-agent --daemon)" xrdb -merge ~/.Xresources -- 2.20.1