From 55063c90791f1e23cec78ebefe098ff673d184cc Mon Sep 17 00:00:00 2001 From: Vlad Doster Date: Sun, 22 Dec 2019 22:35:53 -0500 Subject: [PATCH 1/4] Update scope.sh --- .config/ranger/scope.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/ranger/scope.sh b/.config/ranger/scope.sh index cce86cf9..feef2914 100755 --- a/.config/ranger/scope.sh +++ b/.config/ranger/scope.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env sh # ranger supports enhanced previews. If the option "use_preview_script" # is set to True and this file exists, this script will be called and its # output is displayed in ranger. ANSI color codes are supported. From 5ecc4c45a889127bb70092fae82946582a067ac0 Mon Sep 17 00:00:00 2001 From: Vlad Doster Date: Sun, 22 Dec 2019 23:22:46 -0500 Subject: [PATCH 2/4] Update .zshrc --- .config/zsh/.zshrc | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 63c0049b..86fdd8e7 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -50,22 +50,13 @@ echo -ne '\e[5 q' # Use beam shape cursor for each new prompt. preexec() { echo -ne '\e[5 q' ;} -# Use lf to switch directories and bind it to ctrl-o -lfcd () { - tmp="$(mktemp)" - lf -last-dir-path="$tmp" "$@" - if [ -f "$tmp" ]; then - dir="$(cat "$tmp")" - rm -f "$tmp" - if [ -d "$dir" ]; then - if [ "$dir" != "$(pwd)" ]; then - cd "$dir" - fi - fi +ranger() { + if [ -z "$RANGER_LEVEL" ]; then + /usr/bin/ranger "$@" + else + exit fi } -bindkey -s '^o' 'lfcd\n' # zsh - # Load zsh-syntax-highlighting; should be last. source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh 2>/dev/null From e013d51f2346737845b398f23cf7c708d0ea013b Mon Sep 17 00:00:00 2001 From: Vlad Doster Date: Tue, 24 Dec 2019 15:42:13 -0500 Subject: [PATCH 3/4] Update sxhkdrc moving to terminal spotify --- .config/sxhkd/sxhkdrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index 6a638296..ba626123 100644 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -20,7 +20,7 @@ super + r super + e $TERMINAL -e neomutt; pkill -RTMIN+12 $STATUSBAR super + m - spotify + $TERMINAL -e spt super + n nautilus super + c From b9360e647b220643948fe985d5ff77c66d671c42 Mon Sep 17 00:00:00 2001 From: Vlad Doster Date: Tue, 24 Dec 2019 15:48:17 -0500 Subject: [PATCH 4/4] Update sxhkdrc --- .config/sxhkd/sxhkdrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index ba626123..06998463 100644 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -20,7 +20,7 @@ super + r super + e $TERMINAL -e neomutt; pkill -RTMIN+12 $STATUSBAR super + m - $TERMINAL -e spt + spotify #$TERMINAL -e spt super + n nautilus super + c