From 711787dc02a07008de9a6241e278bfd8083d9828 Mon Sep 17 00:00:00 2001 From: juan Date: Thu, 2 Sep 2021 13:29:49 +0800 Subject: [PATCH] alternate alt and super, caps and ctrl in normal keyboards --- .config/sway/config##hostname.T14s | 4 ++++ .zshrc | 1 + 2 files changed, 5 insertions(+) diff --git a/.config/sway/config##hostname.T14s b/.config/sway/config##hostname.T14s index 1f14999..1814f91 100644 --- a/.config/sway/config##hostname.T14s +++ b/.config/sway/config##hostname.T14s @@ -70,6 +70,10 @@ input 1:1:AT_Translated_Set_2_keyboard { xkb_options "ctrl:swapcaps" } +input 1241:662:USB-HID_Keyboard { + xkb_options "altwin:swap_lalt_lwin,ctrl:swapcaps" +} + input type:pointer { accel_profile flat pointer_accel 0 diff --git a/.zshrc b/.zshrc index 63cbb82..7e9b357 100644 --- a/.zshrc +++ b/.zshrc @@ -107,6 +107,7 @@ export CARGO_HOME=$HOME/.cache/cargo export GOPATH=$HOME/.cache/go export LESSHISTFILE=/dev/null export LYNX_CFG=$HOME/.config/lynx/lynxrc +export WINEPREFIX="$HOME/.config/wine" #settings for software export FZF_DEFAULT_OPTS="--reverse --cycle --height=40% --border sharp --prompt=🔎"