From 4f905edfe4861d4dda26567f254dcf46e5eb4c60 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Mon, 1 May 2017 18:24:51 +0100 Subject: Update minor changes --- bin/bin/keyboard | 1 - 1 file changed, 1 deletion(-) (limited to 'bin') 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' -- cgit v1.2.3 From 7e773ede46fca474cbd560bb78a2810c112bb813 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Tue, 2 May 2017 15:08:34 +0100 Subject: Use find instead of locate --- bin/bin/references | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/bin/references b/bin/bin/references index a578728..68d1e4e 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" & -- cgit v1.2.3