From 0e4d480c830577ddb4dc2e654193143bd6b78b10 Mon Sep 17 00:00:00 2001
From: NeodarZ <neodarz@neodarz.net>
Date: Thu, 30 Nov 2017 08:49:50 +0100
Subject: Add some mouse management from keyboard

---
 i3/.config/i3/config | 9 +++++++++
 1 file changed, 9 insertions(+)

(limited to 'i3')

diff --git a/i3/.config/i3/config b/i3/.config/i3/config
index ff9c20e..0f3f575 100644
--- a/i3/.config/i3/config
+++ b/i3/.config/i3/config
@@ -333,6 +333,15 @@ bindsym $WinKey+Control+$AltKey+8 move container to workspace 28
 bindsym $WinKey+Control+$AltKey+9 move container to workspace 29
 bindsym $WinKey+Control+$AltKey+0 move container to workspace 30
 
+
+bindsym $AltKey+Up exec xdotool mousemove_relative --clearmodifiers -- 0 -15
+bindsym $AltKey+Down exec xdotool mousemove_relative --clearmodifiers 0 15
+bindsym $AltKey+Left exec xdotool mousemove_relative --clearmodifiers -- -15 0
+bindsym $AltKey+Right exec xdotool mousemove_relative --clearmodifiers 15 0
+bindsym $AltKey+x exec xdotool click 3
+bindsym $AltKey+w exec xdotool click --clearmodifiers --repeat 2 1
+bindsym $AltKey+c exec xdotool 2
+
 # reload the configuration file
 bindsym $WinKey+Shift+c reload
 # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
-- 
cgit v1.2.1