All Projects → porras → i3-keyboard-layout

porras / i3-keyboard-layout

Licence: MIT license
Change keyboard layout with a keystroke + show it in the status bar

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to i3-keyboard-layout

I3 Rice Rin Shelter
My i3wm rice with theme "Rin : shelter"
Stars: ✭ 146 (+69.77%)
Mutual labels:  i3wm, linux-desktop
Connmap
connmap is an X11 desktop widget that shows location of your current network peers on a world map (tested only with i3wm). Made with C and libcairo.
Stars: ✭ 90 (+4.65%)
Mutual labels:  i3wm, linux-desktop
Direwolf Arch Rice
🐺🍚 A guide to replicating my riced Arch Linux set-up.
Stars: ✭ 501 (+482.56%)
Mutual labels:  i3wm, linux-desktop
Dotfiles
🍙 Personal dotfiles repository.
Stars: ✭ 148 (+72.09%)
Mutual labels:  i3wm, linux-desktop
dotfiles
My dotfiles, with an out-of-date install-script. Arch, Tiling WM (i3, sway), ZSH, Neovim
Stars: ✭ 20 (-76.74%)
Mutual labels:  i3wm
dotfiles
Config files for my setup
Stars: ✭ 289 (+236.05%)
Mutual labels:  i3wm
negi3wm
Brings a lot of unique UX features inspired by ion3/notion wm. Probably the most sophisticated example of i3ipc usage ever created
Stars: ✭ 27 (-68.6%)
Mutual labels:  i3wm
us-with-german-umlauts
Mac U.S. keyboard layout with German Umlauts
Stars: ✭ 91 (+5.81%)
Mutual labels:  keyboard-layout
x-keyboard
A zero-dependency web component to display and emulate keyboard layouts.
Stars: ✭ 15 (-82.56%)
Mutual labels:  keyboard-layout
wm4noobs
Vire um mago do Linux usando window manager. Become a Linux wizard using window manager. i3wm fan guide in portuguese.
Stars: ✭ 97 (+12.79%)
Mutual labels:  i3wm
dotfiles
📦 Configuration files for my Arch/KDE/i3-gaps system
Stars: ✭ 41 (-52.33%)
Mutual labels:  i3wm
gendesk
🌿 Generate .desktop files and download .png icons by specifying a minimum of information
Stars: ✭ 101 (+17.44%)
Mutual labels:  linux-desktop
pw3270
3270 Emulator for gtk
Stars: ✭ 38 (-55.81%)
Mutual labels:  linux-desktop
Vanilla
frantic1048's grimoire
Stars: ✭ 19 (-77.91%)
Mutual labels:  i3wm
DownloadRedditImages
Easily download all the images from any subreddit (also select sort_type if you want hot/top/new/controversial, and also sort_time day/week/month/year/all). Randomly select downloaded images and set as wallpaper, updating every 30 mins (or whenever you want duh)!
Stars: ✭ 66 (-23.26%)
Mutual labels:  linux-desktop
map2
A scripting language that allows complex key remapping on Linux.
Stars: ✭ 99 (+15.12%)
Mutual labels:  keyboard-layout
kinesis-advantage-2
Keyboard layouts and macros for the Kinesis Advantage 2 keyboard.
Stars: ✭ 72 (-16.28%)
Mutual labels:  keyboard-layout
keyboard-layouter
Footprint auto placement plugin for keyboard layout
Stars: ✭ 73 (-15.12%)
Mutual labels:  keyboard-layout
musique
C'est très élégant
Stars: ✭ 91 (+5.81%)
Mutual labels:  linux-desktop
win-kbd-usint-nodead
US-International keyboard layout with no dead keys (AltGr only) for Windows
Stars: ✭ 181 (+110.47%)
Mutual labels:  keyboard-layout

i3-keyboard-layout

Change keyboard layout with a keystroke + show it in the status bar.

Install

Download i3-keyboard-layout, make sure it's executable (chmod + x <file>), and store it somewhere in your home directory (or in your $PATH if you prefer)

Usage

Assign a keystroke in your i3 configuration to switch to different layouts:

# ~/.config/i3/config

bindsym $mod+z exec path/to/i3-keyboard-layout set us
bindsym $mod+x exec path/to/i3-keyboard-layout set es

Alternatively (or aditionally), you can use a single keystroke to cycle through a list of your most used layouts:

# ~/.config/i3/config

bindsym $mod+space exec path/to/i3-keyboard-layout cycle us es de

Each time you press that key, the next layout on the list will be selected.

If you want to use layouts with variants, you can use quotes, like this:

# ~/.config/i3/config

bindsym $mod+space exec path/to/i3-keyboard-layout cycle us "us euro"

Display current layout

NOTE: You can skip this part if you use some kind of tray indicator such as sbxkb, which is probably what you want if you prefer a flag instead of the name of the layout.

A subcommand is included to display the current layout on the i3status bar. On your bar configuration, you need to pipe i3status onto the i3status subcommand:

# ~/.config/i3/config

bar {
  # status_command i3status # this is the usual default configuration
  status_command i3status | i3-keyboard-layout i3status
}

i3status needs to be configured tou output the i3bar JSON format (which is usually the default):

# ~/.config/i3status/config

general {
  output_format = i3bar
}

At this point only prepending the layout at the left of everything else is supported.

i3 bar

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].