aboutsummaryrefslogtreecommitdiff
path: root/i3/.config
diff options
context:
space:
mode:
authorNeodarZ <neodarz@neodarz.net>2017-11-30 08:49:50 +0100
committerNeodarZ <neodarz@neodarz.net>2017-11-30 08:49:50 +0100
commit0e4d480c830577ddb4dc2e654193143bd6b78b10 (patch)
tree29697d78641fe705df4d9e77563c3e62a0928cfa /i3/.config
parenta3f85d7f73125f2e53d6001fa6399210436a2217 (diff)
downloaddotfiles_ascii-0e4d480c830577ddb4dc2e654193143bd6b78b10.tar.xz
dotfiles_ascii-0e4d480c830577ddb4dc2e654193143bd6b78b10.zip
Add some mouse management from keyboard
Diffstat (limited to '')
-rw-r--r--i3/.config/i3/config9
1 files changed, 9 insertions, 0 deletions
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)