sway_independent_layouts

command module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

README

sway_independent_layouts

Saves the keyboard layout for each launched application in the sway environment and automatically changes it when switching between applications.

Also if you use a waybar for widgets, you can set the "signal": 3 for the language widget and it will be updated every time the daemon switches the layout. Example of waybar config:

{
	"output": "HDMI",
	"modules-left": ["sway/workspaces", "sway/mode"],
	"modules-right": ["layout"],
	"layout": {
		"exec": "layout_widget",
		"interval": 1,
		"signal": 3
	}
}

How to install

go install github.com/HardDie/sway_independent_layouts

How to run

Run this application as a daemon.

export PATH=$PATH:$HOME/go/bin
sway_independent_layouts&

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL