Merge branch 'master' of github.com:dopefishh/dotfiles
authorMart Lubbers <mart@martlubbers.net>
Tue, 9 Oct 2018 06:13:48 +0000 (08:13 +0200)
committerMart Lubbers <mart@martlubbers.net>
Tue, 9 Oct 2018 06:13:48 +0000 (08:13 +0200)
shell/.bashrc
shell/.local/bin/cpm.sh
shell/.local/bin/latex.mk
x/.local/bin/bar

index 1ae8742..3e31b10 100644 (file)
@@ -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
index afe5061..a51a0aa 100755 (executable)
@@ -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"\
index 3892b37..ad46f07 100644 (file)
@@ -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
index 079fac0..8655630 100755 (executable)
@@ -17,8 +17,8 @@ eval $(xdotool search --onlyvisible trayer getwindowgeometry --shell)
 
 echo \
        "W $wlan"\
-       "♪ $(pactl list sinks | grep -Po "(?<=Volume: front)[^%]*" | grep -o "100$") |"\
+       "♪ $(pactl list sinks | grep -Po "(?<=Volume: front)[^%]*" | grep -o "[0-9]\?[0-9][0-9]$") |"\
        "⚡$bat"\
        "Dsk: $(df -h | grep '/$' | awk '{print $4"/"$2}') |"\
        "$(date +"%Y-%m-%d %H:%M:%S") "\
-       "$(printf "% $(((WIDTH-2)/20+1))s")"
+       "$(printf "% $((WIDTH/20+1))s")"