summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/bin/keyboard1
-rwxr-xr-xbin/bin/references2
2 files changed, 1 insertions, 2 deletions
diff --git a/bin/bin/keyboard b/bin/bin/keyboard
index 53f4df9..ec11f7b 100755
--- a/bin/bin/keyboard
+++ b/bin/bin/keyboard
@@ -33,7 +33,6 @@ xmodmap -e "keysym XF86Eject = Insert"
# Xcape settings
killall -9 xcape
-xcape -e 'Mode_switch=u'
xcape -e 'Control_L=Escape'
xcape -e 'Super_L=space'
xcape -e 'Alt_L=Tab'
diff --git a/bin/bin/references b/bin/bin/references
index eba1fb1..4e6346a 100755
--- a/bin/bin/references
+++ b/bin/bin/references
@@ -1,5 +1,5 @@
#!/bin/bash
REF_DIR="$HOME/phd/references"
-PDF=$(locate "$REF_DIR/**/*.pdf")
+PDF=$(find $REF_DIR -name "*.pdf" -printf "%P\n")
TARGET=$(echo "${PDF//"$REF_DIR/"/}" | dmenu -i -p "Open File:")
[[ -n $TARGET ]] && (zathura "$REF_DIR/$TARGET" &)