The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
0

keyboard macros via config

asked 2015-07-27 07:24:25 +0000

oberon gravatar image

updated 2015-07-27 22:12:26 +0000

Is there a way to create keyboard macros in the config file via bindsym... ?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-07-27 18:03:32 +0000

i3convert gravatar image

If I correctly understand your question, you should check out xdotool, which allows for simulating keyboard input. You can use it for writing a script that simulates a specific sequence of keystrokes. Then you can assign this script to a specific key using bindsym. Just don't forget to add --release after bindsym, or it may not work.

edit flag offensive delete link more

Comments

Yes, thank you! That's what I was looking for.

oberon gravatar imageoberon ( 2015-07-27 22:13:45 +0000 )edit

Question Tools

1 follower

Stats

Asked: 2015-07-27 07:24:25 +0000

Seen: 79 times

Last updated: Jul 27