![]() Here’s a simple example to help better illustrate what I mean. The latter is extremely important, because it allows me to have the same keybinding do different things on different machines. ![]() The first contains the configuration common among all my machines, and the other is unique to each machine, adds extra stuff AND also rewrites bindings from the common config file. I split my config file into 2 files, one I called mon and the other sxhkdrc. While searching for a solution that’ll allow me to share the “core” configuration between machines, I noticed that sxhkd supported loading config files from multiple different sources at once. Most of my configuration applies to all of them, but inevitably some machines require small modifications. I tried using xdotool and xdo instead, but both of them offered far worse responsiveness. Note: Performance of this tweak could use some improvement, mainly due to the usage of the old xautomation tool. Xte 'keyup Alt_L' 'key Delete' 'keydown Alt_L' # Expand/contract a window by moving one of its side outward/inward I found myself always doing step 2 and 3 without thinking too much, so I thought why not have a dedicated binding just for doing that. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |