diff --git a/byobu-config b/byobu-config index 1b98b2f7..6120098b 100755 --- a/byobu-config +++ b/byobu-config @@ -99,6 +99,8 @@ def menu(screen, size, isInstalled): g.add(bb, 0, 1, padding=(1,1,0,0)) if bb.buttonPressed(g.runOnce()) == "exit": + win='screen -X at 0 source $HOME/.byobu/profile' + commands.getoutput(win) return 0 else: return li.current() diff --git a/keybindings/common b/keybindings/common index c3f46252..34310b1d 100644 --- a/keybindings/common +++ b/keybindings/common @@ -35,7 +35,7 @@ register n "^a^c^aA" # | Goes with the F2 definition bindkey -k k2 process n # F2 | Create new window (and name it) bindkey -k k3 prev # F3 | Previous Window bindkey -k k4 next # F4 | Next Window -register r "^a:source $HOME/.screen-profiles/profile" # | Goes with F5 definition +register r "^a:source $HOME/.byobu/profile " # | Goes with F5 definition bindkey -k k5 process r # F5 | Reload profile bindkey -k k6 detach # F6 | Detach from this session bindkey -k k7 copy # F7 | Enter copy/scrollback mode