Add "Coming From Mac or Windows" as chapter 3: a translation layer for Cmd/Win instincts rather than a feature tour. Fill the remaining coverage gaps: fcitx5 input methods, laptop speaker tuning, touchpad haptics, crash capture in the toggle table, the installable font list, and the ChatGPT Desktop and Grok Bot entries. Correct claims that drifted from the source: the network and bluetooth bar icons no longer launch nmtui/bluetoothctl, monitor scaling steps rather than cycles, and the display widget's scroll steps brightness. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
65 lines
2.5 KiB
Markdown
65 lines
2.5 KiB
Markdown
# Keyboard, Mouse, Trackpad
|
|
|
|
Hyprland lets you configure all your inputs in great detail. You can change the keyboard repeat to be supersonically fast or make the trackpad use natural scrolling. You change all of it in `~/.config/hypr/input.lua`, which you can also reach via _Setup > Input_ in the Omarchy menu (`Super + Space`). Anything you set there replaces Omarchy's defaults.
|
|
|
|
Here's an example:
|
|
|
|
```lua
|
|
hl.config({
|
|
input = {
|
|
-- Use multiple keyboard layouts and switch between them with Left Alt + Right Alt
|
|
kb_layout = "us,dk",
|
|
kb_options = "compose:caps,shift:both_capslock_cancel,grp:alts_toggle",
|
|
|
|
-- Change speed of keyboard repeat
|
|
repeat_rate = 40,
|
|
repeat_delay = 600,
|
|
|
|
-- Increase sensitivity for mouse/trackpad (default: 0)
|
|
sensitivity = 0.35,
|
|
|
|
touchpad = {
|
|
-- Use natural (inverse) scrolling
|
|
natural_scroll = true,
|
|
|
|
-- Use two-finger clicks for right-click instead of lower-right corner
|
|
clickfinger_behavior = true,
|
|
|
|
-- Control the speed of your scrolling
|
|
scroll_factor = 0.3,
|
|
},
|
|
},
|
|
})
|
|
|
|
-- Scroll faster in the terminal
|
|
o.window("(Alacritty|kitty|foot)", { scroll_touchpad = 1.5 })
|
|
```
|
|
|
|
You can [see all the input options](https://wiki.hypr.land/Configuring/Basics/Variables/#input) on the Hyprland wiki for inputs.
|
|
|
|
### Trackpad gestures
|
|
|
|
You can also turn on [touchpad gestures](https://wiki.hypr.land/Configuring/Advanced-and-Cool/Gestures/), like swiping with three fingers to change workspaces:
|
|
|
|
```lua
|
|
hl.gesture({ fingers = 3, direction = "horizontal", action = "workspace" })
|
|
```
|
|
|
|
On Dell XPS laptops with a haptic touchpad, you can also set the click strength to low, mid, or high under _Trigger > Hardware > Touchpad Haptics_.
|
|
|
|
### Typing in Chinese, Japanese, and other languages
|
|
|
|
Omarchy runs the [fcitx5](https://fcitx-im.org/) input method framework as part of every session — it's what powers the CapsLock compose sequences. That means the plumbing for non-Latin input is already in place: install an input engine like `fcitx5-mozc` (Japanese) or `fcitx5-chinese-addons` (Chinese) with `omarchy pkg add`, plus `fcitx5-configtool` to add the engine to your input methods and set the key that switches between them.
|
|
|
|
### Use ALT as SUPER
|
|
|
|
On some keyboards, it's not convenient to use the primary meta key (Windows/cmd key) as SUPER. You can change this to be ALT instead using this change:
|
|
|
|
```lua
|
|
hl.config({
|
|
input = {
|
|
kb_options = "compose:caps,shift:both_capslock_cancel,altwin:swap_alt_win",
|
|
},
|
|
})
|
|
```
|