Skip to content

Program for Sway, that remembers your keyboard layout for each window and restores it on focus change.

Notifications You must be signed in to change notification settings

dmyTRUEk/sway-relative-keyboard-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

About

sway-relative-keyboard-rs is program for Sway, that remembers your keyboard layout for each window and restores it on focus change.

Installation

Build from source:

  1. Clone source code from this repository:

    git clone https://github.com/dmyTRUEk/sway-relative-keyboard-rs
    
  2. Compile it:

    cargo build --release
    

    After successful build, you can find binary here:

    path_to_src/target/release/sway-relative-keyboard-rs
    
  3. Move binary to preffered folder, for example to $HOME/.local/bin/.

  4. Add binary to sway "startup":
    In your sway config file add this line:

    exec path/to/sway-relative-keyboard-rs
    

    and then restart your pc (or sway?).

    For example:

    exec $HOME/.local/bin/sway-relative-keyboard-rs
    

    If you want to get it work without restart, use exec_always, then reload your config file, then change exec_always back to exec, so it executes only on sway startup.

About

Program for Sway, that remembers your keyboard layout for each window and restores it on focus change.

Topics

Resources

Stars

Watchers

Forks

Languages