From: Mart Lubbers Date: Tue, 21 Aug 2018 06:50:19 +0000 (+0200) Subject: scripts X-Git-Url: https://git.martlubbers.net/?a=commitdiff_plain;h=1556f87ad6e07f3ce342464b38952003530661d9;p=dotfiles.git scripts --- diff --git a/shell/.bashrc b/shell/.bashrc index dbac23d..97cb9f5 100644 --- a/shell/.bashrc +++ b/shell/.bashrc @@ -9,7 +9,7 @@ export TERMINAL=~/projects/st/st export EDITOR="vim -p" export TERM=screen export BROWSER=firefox -export PAGER=less +export PAGER=more export SUDO_ASKPASS=/usr/lib/ssh/ssh-askpass export NOTMUCH_CONFIG=~/.config/notmuch/config @@ -17,7 +17,6 @@ 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:~/projects/esp-open-sdk/xtensa-lx106-elf/bin export PATH=$PATH:/opt/texlive/2018/bin/x86_64-linux export GTK_IM_MODULE=xim diff --git a/shell/.local/bin/cpm.sh b/shell/.local/bin/cpm.sh index 8a98a9d..afe5061 100755 --- a/shell/.local/bin/cpm.sh +++ b/shell/.local/bin/cpm.sh @@ -19,5 +19,5 @@ then |& grep -v\ -e "^Doc warning: expected @type for '"\ -e "^Doc error: missing leading asterisk in '"\ - -e "^Could not get full path for '" + -e "^Could not get full path for '" || true fi diff --git a/shell/.local/bin/latex.mk b/shell/.local/bin/latex.mk index 63fed6e..3892b37 100644 --- a/shell/.local/bin/latex.mk +++ b/shell/.local/bin/latex.mk @@ -1,4 +1,4 @@ -.PHONY: clean clobber +.PHONY: clean clobber all DOCUMENT:=$(shell grep -Fl documentclass *.tex) LATEX?=pdflatex @@ -7,7 +7,7 @@ BIBTEX?=bibtex MAKEGLOSSARIES?=makeglossaries MAKEINDEX?=makeindex -all: $(subst tex,pdf,$(shell grep -Fl documentclass *.tex)) +all: $(patsubst %.tex,%.pdf,$(shell grep -Fl documentclass *.tex)) %.pdf: %.tex $(wildcard *.tex) $(LATEX) $(LATEXFLAGS) $* diff --git a/x/.xinitrc b/x/.xinitrc index 763a2b5..5007142 100755 --- a/x/.xinitrc +++ b/x/.xinitrc @@ -1,5 +1,8 @@ #!/bin/bash PATH=$PATH:~/.local/bin + +#To fix java applications in tiling (e.g. arduino) +export _JAVA_AWT_WM_NONREPARENTING=1 xautolock -locker ~/.local/bin/lock.sh & dunst &