~whynothugo/dotfiles

d68306f961e0f9d170fcba031980dcb1a2e2fc09 — Hugo Osvaldo Barrera 1 year, 1 month ago 3f722af
sway: configure scale and keyboard for laptop
1 files changed, 15 insertions(+), 0 deletions(-)

M home/.config/sway/config
M home/.config/sway/config => home/.config/sway/config +15 -0
@@ 70,6 70,16 @@ input "2385:5862:Kingston_HyperX_Alloy_Origins_Core" {
  xkb_options caps:escape,compose:menu
}

# Laptop keyboard
input "1:1:AT_Translated_Set_2_keyboard" {
  xkb_layout us
  xkb_variant intl
  xkb_numlock enable
  # - Maps CapsLock to Esc: CapsLock is completely useless, Esc is really useful!.
  # - Use "Menu" key as Compose. Last time I used Menu was in like Windows 98?
  xkb_options caps:escape,compose:menu
}

input type:pointer {
  accel_profile flat
  natural_scroll enabled


@@ 117,6 127,11 @@ input "1267:11433:ELAN_Touchscreen" {
  map_to_output "ASUSTek COMPUTER INC ASUS PA148 R3LMTF047543"
}

# Laptop display
output "IVO 0x057D Unknown" {
  scale 1.5
}

# TODO: handle wallpapers with swww and drop the `bg` directives.

seat * xcursor_theme Adwaita