From 858094ffd47aa40021def2d4f6545777b61e3bf4 Mon Sep 17 00:00:00 2001 From: Daja177 <59206235+Daja177@users.noreply.github.com> Date: Tue, 21 Jan 2020 18:54:36 +0100 Subject: [PATCH 1/2] replace absolute path --- .xprofile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.xprofile b/.xprofile index f1e73b3..f6ca2a3 100644 --- a/.xprofile +++ b/.xprofile @@ -12,4 +12,4 @@ sxhkd -m 1 & # Bind keys with sxhkd xset r rate 300 50 & # Speed xrate up unclutter & # Remove mouse when idle mpd-module-update & # Check for when to update the mpd module -notify-send -i /home/luke/.local/share/larbs/larbs.png "Welcome to LARBS" "Press super+F1 for the help menu." # LARBSWELCOME +notify-send -i ~/.local/share/larbs/larbs.png "Welcome to LARBS" "Press super+F1 for the help menu." # LARBSWELCOME From e32a1f5779f3626219316a57e796bfa6bf623b68 Mon Sep 17 00:00:00 2001 From: mhdzli <50514359+mhdzli@users.noreply.github.com> Date: Fri, 24 Jan 2020 03:41:33 +0330 Subject: [PATCH 2/2] Allow access to phone date (#462) Sometimes android phones ask for permission to allow access to phone data --- .local/bin/dmenumount | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.local/bin/dmenumount b/.local/bin/dmenumount index 6784402..e01c7eb 100755 --- a/.local/bin/dmenumount +++ b/.local/bin/dmenumount @@ -31,6 +31,8 @@ mountusb() { \ mountandroid() { \ chosen=$(echo "$anddrives" | dmenu -i -p "Which Android device?" | cut -d : -f 1) getmount "$HOME -maxdepth 3 -type d" + simple-mtpfs --device "$chosen" "$mp" + echo "OK" | dmenu -i -p "Tap Allow on your phone if it asks for permission and then press enter" simple-mtpfs --device "$chosen" "$mp" notify-send "🤖 Android Mounting" "Android device mounted to $mp." }