aboutsummaryrefslogtreecommitdiff
path: root/.local
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-12-10 22:01:48 +0300
committereug-vs <eug-vs@keemail.me>2021-01-06 21:28:40 +0300
commit78ba9eae5a122199d9682707b5ac590a4a627c83 (patch)
tree0e1c8b1f1b0aecf78d5ae3660abf9750d1544c80 /.local
parentc4ae2519dc8238390624af05602c364b39b5b77d (diff)
downloaddotfiles-78ba9eae5a122199d9682707b5ac590a4a627c83.tar.gz
chore: cleanup configs
Diffstat (limited to '.local')
-rwxr-xr-x.local/bin/i3_tmux_vim_focusbin17272 -> 17272 bytes
-rwxr-xr-x.local/bin/i3_tmux_vim_focus.c5
2 files changed, 1 insertions, 4 deletions
diff --git a/.local/bin/i3_tmux_vim_focus b/.local/bin/i3_tmux_vim_focus
index bf156f9..d62a881 100755
--- a/.local/bin/i3_tmux_vim_focus
+++ b/.local/bin/i3_tmux_vim_focus
Binary files differ
diff --git a/.local/bin/i3_tmux_vim_focus.c b/.local/bin/i3_tmux_vim_focus.c
index 1429e3a..8f0d075 100755
--- a/.local/bin/i3_tmux_vim_focus.c
+++ b/.local/bin/i3_tmux_vim_focus.c
@@ -36,8 +36,7 @@ int main(int argc, char *argv[]) {
xdo_get_active_window(xdo, &window_ret);
xdo_get_window_name(xdo, window_ret, &name, &name_len, &name_type);
- puts(name);
- if(strstr(name, "VIM") || strstr(name, "vim") && !strstr(name, "i3_tmux_vim_focus"))
+ if(strstr(name, "VIM") || strstr(name, "vim"))
{
strcpy(cmd, "Ctrl+c+Ctrl+");
@@ -46,8 +45,6 @@ int main(int argc, char *argv[]) {
(argv[1][0] == 'd')? "j" :
(argv[1][0] == 'u')? "k" :
"l" );
- puts(cmd);
-
xdo_send_keysequence_window(xdo, window_ret, cmd, 0);
}
else if(strstr(name, "tmux"))