mirror of
https://github.com/swaywm/sway.git
synced 2024-11-26 01:41:30 +00:00
Updated Home (markdown)
parent
75b1fca4c8
commit
4717f2b96c
4
Home.md
4
Home.md
|
@ -84,7 +84,7 @@ Rotation is not currently supported. This needs to be implemented in WLC. See ht
|
|||
|
||||
You have to set the keyboard layout before starting sway, using environmental variables such as `XKB_DEFAULT_LAYOUT=de sway`. It is also possible to set other options known from `setxkbmap` with the environment variables `XKB_DEFAULT_MODEL`, `XKB_DEFAULT_LAYOUT`, `XKB_DEFAULT_VARIANT`, `XKB_DEFAULT_OPTIONS`. To set these options, it is best to launch sway with a script.
|
||||
|
||||
In the following example, right before launching sway, this script sets environment variables that enable switching between the American and German layouts, without dead keys, using the hotkey `Alt-Shift`:
|
||||
In the following example, right before launching sway, this script sets environment variables that enable switching between the American and German layouts, without dead keys, using the hotkey <kbd>Alt</kbd>-<kbd>Shift</kbd>:
|
||||
|
||||
```bash
|
||||
export XKB_DEFAULT_LAYOUT=us,de
|
||||
|
@ -181,7 +181,7 @@ Alternatively, you could omit the `ck-launch-session` part.
|
|||
|
||||
### xbacklight
|
||||
|
||||
xbacklight is, of course, a tool for X. Instead, you can use [brightnessctl](//github.com/Hummer12007/brightnessctl), [light](//github.com/haikarainen/light) or just directly manipulate /sys/class/backlight.
|
||||
xbacklight is, of course, a tool for X. Instead, you can use [brightnessctl](//github.com/Hummer12007/brightnessctl), [light](//github.com/haikarainen/light) or just directly manipulate `/sys/class/backlight`.
|
||||
|
||||
### Which terminal emulator can I use?
|
||||
|
||||
|
|
Loading…
Reference in a new issue