summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.config/ncmpcpp/bindings (renamed from .ncmpcpp/bindings)0
-rw-r--r--.config/ncmpcpp/config (renamed from .ncmpcpp/config)0
-rwxr-xr-x.scripts/i3mpd2
-rwxr-xr-x.scripts/texclear6
4 files changed, 7 insertions, 1 deletions
diff --git a/.ncmpcpp/bindings b/.config/ncmpcpp/bindings
index 6eecd3e..6eecd3e 100644
--- a/.ncmpcpp/bindings
+++ b/.config/ncmpcpp/bindings
diff --git a/.ncmpcpp/config b/.config/ncmpcpp/config
index 999c6bc..999c6bc 100644
--- a/.ncmpcpp/config
+++ b/.config/ncmpcpp/config
diff --git a/.scripts/i3mpd b/.scripts/i3mpd
index 8c8564e..13d5966 100755
--- a/.scripts/i3mpd
+++ b/.scripts/i3mpd
@@ -10,7 +10,7 @@ filter() {
}
case $BLOCK_BUTTON in
- 1) mpc $password status | filter && $TERMINAL -e ncmpcpp & disown ;; # right click, pause/unpause
+ 1) mpc $password status | filter && $TERMINAL -e ncmpcpp & disown ;; # left click, pause/unpause
3) mpc $password toggle | filter ;; # right click, pause/unpause
4) mpc $password prev | filter ;; # scroll up, previous
5) mpc $password next | filter ;; # scroll down, next
diff --git a/.scripts/texclear b/.scripts/texclear
new file mode 100755
index 0000000..9951e27
--- /dev/null
+++ b/.scripts/texclear
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+# Clears the build files of a LaTeX/XeLaTeX build.
+# I have vim run this file whenever I exit a .tex file.
+
+find . -maxdepth 1 -regextype gnu-awk -regex "^.*\.(4tc|xref|tmp|pyc|pyo|fls|vrb|fdb_latexmk|bak|swp|aux|log|synctex\(busy\)|lof|nav|out|snm|toc|bcf|run\.xml|synctex\.gz|blg|bbl)" -delete