Przeglądaj źródła

Add asterisk to xdotool macros

Can be useul for emphasized/strong text in Markdown.
Alois Mahdal 7 lat temu
rodzic
commit
1aa0bd7b21
2 zmienionych plików z 5 dodań i 0 usunięć
  1. 1
    0
      dotfiles/i3/config
  2. 4
    0
      dotfiles/i3/macros/asterisk.xdotool

+ 1
- 0
dotfiles/i3/config Wyświetl plik

@@ -257,6 +257,7 @@ bindsym XF86AudioMute           exec "$spn bmo au flip"
257 257
 #------------------------------------------------------------------------#
258 258
 
259 259
 bindsym --release $mod+Ctrl+apostrophe      exec "xdotool .i3/macros/apostrophe.xdotool"
260
+bindsym --release $mod+Ctrl+asterisk        exec "xdotool .i3/macros/asterisk.xdotool"
260 261
 bindsym --release $mod+Ctrl+slash           exec "xdotool .i3/macros/slash.xdotool"
261 262
 bindsym --release $mod+Ctrl+comma           exec "xdotool .i3/macros/comma.xdotool"
262 263
 bindsym --release $mod+Ctrl+semicolon       exec "xdotool .i3/macros/semicolon.xdotool"

+ 4
- 0
dotfiles/i3/macros/asterisk.xdotool Wyświetl plik

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