From 1556f87ad6e07f3ce342464b38952003530661d9 Mon Sep 17 00:00:00 2001 From: Mart Lubbers Date: Tue, 21 Aug 2018 08:50:19 +0200 Subject: [PATCH] scripts --- shell/.bashrc | 3 +-- shell/.local/bin/cpm.sh | 2 +- shell/.local/bin/latex.mk | 4 ++-- x/.xinitrc | 3 +++ 4 files changed, 7 insertions(+), 5 deletions(-) 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 & -- 2.20.1