-
Notifications
You must be signed in to change notification settings - Fork 5
/
swaykbdd.1
40 lines (40 loc) · 1.53 KB
/
swaykbdd.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
.\" XVI hexadecimal editor
.\" Copyright (C) 2022 Artem Senichev <artemsen@gmail.com>
.TH SWAYKBDD 1 2022-03-17 swaykbdd "Swaykbdd manual"
.SH NAME
swaykbdd \- keyboard layout switcher for Sway
.SH SYNOPSIS
swaykbdd [\fIOPTIONS\fR...]
.SH DESCRIPTION
The \fBswaykbdd\fR utility can be used to automatically change the keyboard
layout on a per-window or per-tab basis.
.PP
For automatic start add to the Sway config file the following command:
`exec swaykbdd`.
.SH OPTIONS
.IP "\fB\-h\fR, \fB\-\-help\fR"
Display help message.
.IP "\fB\-v\fR, \fB\-\-version\fR"
Display version information.
.IP "\fB\-d\fR, \fB\-\-default\fR\fB=\fR\fIID\fR"
Set the default keyboard layout for new windows. \fIID\fR is an index of layout,
default is 0, special value -1 can be used to disable set the layout for new
windows (currently active layout will be used instead).
.IP "\fB\-t\fR, \fB\-\-timeout\fR\fB=\fR\fIMS\fR"
Ignored time between layout change and focus lost events, in milliseconds. The
default value is 50.
.IP "\fB\-a\fR, \fB\-\-tabapps\fR\fB=\fR\fIIDS\fR"
A comma-separated list of tab-enabled application IDs, for which each tab will
have its own keyboard layout. The default value is "firefox,chrome". Use an
empty string ("") to disable this feature completely.
.IP "\fB\-V\fR, \fB\-\-verbose\fR"
Enable verbose output (event trace).
.SH ENVIRONMENT
.IP \fISWAYSOCK\fR
Path to the socket file used for Sway IPC.
.\" link to homepage
.SH BUGS
For suggestions, comments, bug reports etc. visit the
.UR https://github.com/artemsen/swaykbdd
project homepage
.UE .