Browse Source

Add i3 typing macros

experimental -- finger injury risk ;)
Alois Mahdal 8 years ago
parent
commit
ab64fa81be

+ 17
- 0
dotfiles/i3/config View File

253
 bindsym XF86AudioMute           exec "$spn bmo au flip"
253
 bindsym XF86AudioMute           exec "$spn bmo au flip"
254
 
254
 
255
 
255
 
256
+#------------------------------------------------------------------------#
257
+## Typing macros wow                                                    ##
258
+#------------------------------------------------------------------------#
259
+
260
+bindsym --release $mod+Ctrl+apostrophe      exec "xdotool .i3/macros/apostrophe.xdotool"
261
+bindsym --release $mod+Ctrl+slash           exec "xdotool .i3/macros/slash.xdotool"
262
+bindsym --release $mod+Ctrl+comma           exec "xdotool .i3/macros/comma.xdotool"
263
+bindsym --release $mod+Ctrl+semicolon       exec "xdotool .i3/macros/semicolon.xdotool"
264
+bindsym --release $mod+Ctrl+period          exec "xdotool .i3/macros/period.xdotool"
265
+bindsym --release $mod+Ctrl+9               exec "xdotool .i3/macros/9.xdotool"
266
+bindsym --release $mod+Ctrl+grave           exec "xdotool .i3/macros/grave.xdotool"
267
+bindsym --release $mod+Ctrl+bracketleft     exec "xdotool .i3/macros/bracketleft.xdotool"
268
+bindsym --release $mod+Ctrl+bracketright    exec "xdotool .i3/macros/bracketright.xdotool"
269
+
270
+
271
+
272
+
256
 #------------------------------------------------------------------------#
273
 #------------------------------------------------------------------------#
257
 ## Less smart apps                                                      ##
274
 ## Less smart apps                                                      ##
258
 #------------------------------------------------------------------------#
275
 #------------------------------------------------------------------------#

+ 4
- 0
dotfiles/i3/macros/9.xdotool View File

1
+#!/usr/bin/xdotool
2
+key --clearmodifiers --delay 0  Shift+9
3
+key --clearmodifiers --delay 0  Shift+0
4
+key --clearmodifiers --delay 0  Left

+ 4
- 0
dotfiles/i3/macros/apostrophe.xdotool View File

1
+#!/usr/bin/xdotool
2
+key --clearmodifiers --delay 0  apostrophe
3
+key --clearmodifiers --delay 0  apostrophe
4
+key --clearmodifiers --delay 0  Left

+ 4
- 0
dotfiles/i3/macros/bracketleft.xdotool View File

1
+#!/usr/bin/xdotool
2
+key --clearmodifiers --delay 0  bracketleft
3
+key --clearmodifiers --delay 0  bracketright
4
+key --clearmodifiers --delay 0  Left

+ 4
- 0
dotfiles/i3/macros/bracketright.xdotool View File

1
+#!/usr/bin/xdotool
2
+key --clearmodifiers --delay 0  Shift+bracketleft
3
+key --clearmodifiers --delay 0  Shift+bracketright
4
+key --clearmodifiers --delay 0  Left

+ 4
- 0
dotfiles/i3/macros/comma.xdotool View File

1
+#!/usr/bin/xdotool
2
+key --clearmodifiers --delay 0  Shift+comma
3
+key --clearmodifiers --delay 0  Shift+period
4
+key --clearmodifiers --delay 0  Left

+ 4
- 0
dotfiles/i3/macros/grave.xdotool View File

1
+#!/usr/bin/xdotool
2
+key --clearmodifiers --delay 0  grave
3
+key --clearmodifiers --delay 0  grave
4
+key --clearmodifiers --delay 0  Left

+ 5
- 0
dotfiles/i3/macros/period.xdotool View File

1
+#!/usr/bin/xdotool
2
+key --clearmodifiers --delay 0  Shift+comma
3
+key --clearmodifiers --delay 0  slash
4
+key --clearmodifiers --delay 0  Shift+period
5
+key --clearmodifiers --delay 0  Left

+ 4
- 0
dotfiles/i3/macros/semicolon.xdotool View File

1
+#!/usr/bin/xdotool
2
+key --clearmodifiers --delay 0  shift+apostrophe
3
+key --clearmodifiers --delay 0  shift+apostrophe
4
+key --clearmodifiers --delay 0  Left

+ 4
- 0
dotfiles/i3/macros/slash.xdotool View File

1
+#!/usr/bin/xdotool
2
+key --clearmodifiers --delay 0  slash
3
+key --clearmodifiers --delay 0  slash
4
+key --clearmodifiers --delay 0  Left