This is a rough one. Waynergy is the Wayland-compatible replacement for synergy. As far as I can tell it works largely on black magic. For whatever reason, Waynergy doesn't handle keycodes the same way Synergy/Barrier do. It uses raw codes as sent by the server. These codes can exceed the X cap of 318, resulting in keys being ignored in XWayland sessions. The dev's recommended path to keyboard support is to use a custom xkb keymap and I guess just shrug at the dropped keys over 318. My method uses the stock evdev xkb keymap and instead uses raw keycodes to swap out-of-band keys to their expected keycodes. The warning the dev gives is this is brittle and won't work on any other OS, or possibly keyboard/box. I don't care. |
||
---|---|---|
.config | ||
.highlight/themes | ||
.iTerm2 | ||
.terminfo/x | ||
.vim | ||
.gitconfig | ||
.gtkrc-2.0 | ||
.mostrc | ||
.p10k.zsh | ||
.taskrc | ||
.tmux.conf | ||
.vimrc | ||
.xinitrc | ||
.Xresources | ||
.zshrc | ||
README.md | ||
setup_dotfiles.py |
dotfiles
Personal dotfiles; probably not much here of value for anyone not me.
In essence this repo will mimic the layout of my homedir with a bunch of dotfiles and utility scripts in the right locations as if this were my homedirectory.
The setup_dotfiles.py script takes the contents of this path and creates symlinks in my actual homedir, matching the directory structure.
Requirements
- Python 3.4
- A home directory
Setup
- Clone the repo
python3 setup_dotfiles.py
You can run the setup script from any path and it'll figure out what to do. The script will create symlinks in your home directory matching its layout. If you want to create the tree in a different location, you'll need to open the interpreter and manually invoke install_dotfiles()
with the correct arguments.
You shouldn't do this if you're not me though because this will clobber your environment and replace it with mine. :)