diff --git a/init.lua b/init.lua index e4de437..069ad28 100644 --- a/init.lua +++ b/init.lua @@ -112,11 +112,7 @@ function module.focus(dir) root.fake_input("key_press", "Super_L") return else - if collision then - collision.focus(dir, c) - else - awful.client.focus.global_bydirection(dir) - end + awful.client.focus.global_bydirection(dir) end end end diff --git a/plugin/awesomewm_vim_tmux_navigator.vim b/plugin/awesomewm_vim_tmux_navigator.vim index 8bb19f7..737c394 100644 --- a/plugin/awesomewm_vim_tmux_navigator.vim +++ b/plugin/awesomewm_vim_tmux_navigator.vim @@ -89,9 +89,9 @@ function! s:TmuxAwareNavigate(direction) let dir = s:CmdToDir(a:direction) - let cmd = 'sh ~/.bin/tmux_smart.sh '. dir + let cmd = 'sh ~/.config/awesome/awesomewm-vim-tmux-navigator/tmux_focus.sh '. dir silent call system(cmd) - let output= system("tmux run-shell 'tmux rename-window #{pane_current_command}'") + " let output= system("tmux run-shell 'tmux rename-window #{pane_current_command}'") "if tmux_pane == s:TmuxGetActivePaneId() "call s:SystemWindowNavigate(a:direction)