diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2020-04-08 23:58:37 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2020-04-08 23:58:37 -0700 |
| commit | e0a30fe02bf1c75ebd211dd8f3defa6241c5b82b (patch) | |
| tree | e7bc00e607ba762ade236865ab6b6dcbee421133 /scripts/bbstartup | |
| parent | adcb0a43e02cd34a289fd66f290d87f9ac91197c (diff) | |
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.
Diffstat (limited to 'scripts/bbstartup')
| -rwxr-xr-x | scripts/bbstartup | 6 |
1 files changed, 1 insertions, 5 deletions
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" |
