From e0a30fe02bf1c75ebd211dd8f3defa6241c5b82b Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 8 Apr 2020 23:58:37 -0700 Subject: Some overhaul and refactoring. bbstartup.sh and bindings.bb have been moved into scripts/bbstartup and scripts/bbbindkeys alongside the other scripts. Some minor bugs have been fixed as well, and a few bindings added. --- scripts/bbstartup | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'scripts/bbstartup') diff --git a/scripts/bbstartup b/scripts/bbstartup index 40de50b..21d04e3 100755 --- a/scripts/bbstartup +++ b/scripts/bbstartup @@ -4,11 +4,7 @@ [ ! -d "$XDG_DATA_HOME/bb" ] && mkdir -p "$XDG_DATA_HOME/bb" # Load key bindings -if [ "$BBPATH" ]; then - cat "$BBPATH/bindings.bb" "$XDG_CONFIG_HOME/bb/bindings.bb" -else - cat "$sysconfdir/xdg/bb/bindings.bb" "$XDG_CONFIG_HOME/bb/bindings.bb" -fi 2>/dev/null | awk '/^#/ {next} /^[^ ]/ {printf "\0bind:"} {print $0} END {printf "\0"}' >> "$BBCMD" +bbbindkeys if [ -e "$XDG_DATA_HOME/bb/settings.sh" ]; then . "$XDG_DATA_HOME/bb/settings.sh" -- cgit v1.2.3