Procházet zdrojové kódy

Add asterisk to xdotool macros

Can be useul for emphasized/strong text in Markdown.
Alois Mahdal před 7 roky
rodič
revize
1aa0bd7b21
2 změnil soubory, kde provedl 5 přidání a 0 odebrání
  1. 1
    0
      dotfiles/i3/config
  2. 4
    0
      dotfiles/i3/macros/asterisk.xdotool

+ 1
- 0
dotfiles/i3/config Zobrazit soubor

@@ -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 Zobrazit soubor

@@ -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