Updated Home (markdown)

Timothy Cyrus 2018-09-11 16:04:54 -04:00
parent 75b1fca4c8
commit 4717f2b96c

@ -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?