f0s3 / i3-autokeymap

Don't think about switching between layouts when switching to another workspace. Let this app do it for you.
2 stars 3 forks source link
i3 i3wm

i3-autokeymap

Don't think about switching between layouts when switching to another workspace. Let this app do it for you.

Prerequisites

Make sure that python3 -V gives you Python 3.7.0

Dependencies used

This project by now uses these dependencies:

  1. cd to a desired directory(usually you want this to be in ~/.config/) and git clone https://github.com/f0s3/i3-autokeymap

    Arch, Manjaro, Antergos and other AUR users:

  2. pacaur -S xkblayout-state-git

  3. sudo pip3 install psutil for installing psutil globally or pip3 install --user psutil for current user

  4. Same as second step in Debian

    Running and adding to i3wm config file

    To run script use python3 keymap.py

Example of config line: exec_always --no-startup-id "cd ~/.config/i3-autokeymap && python3 keymap.py"