Compare commits

..

3 Commits

Author SHA1 Message Date
Sheldon Lee
8f2a52fb08 Merge branch 'master' of ssh://dundun.ddns.net:222/sheldonmlee/dotfiles 2022-08-16 20:06:37 +08:00
Sheldon Lee
4c7feb15ea Add keyboard config for laptop. 2022-08-16 20:06:12 +08:00
Sheldon Lee
6a50246091 Updated bash profile. 2022-08-16 20:01:59 +08:00
2 changed files with 6 additions and 1 deletions

View File

@ -17,7 +17,7 @@ export _JAVA_AWT_WM_NONREPARENTING=1
if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then
if [[ ! -z "$IS_LAPTOP" ]]; then
exec startx
exec dbus-run-session sway
else
exec start-sway.sh
fi

View File

@ -91,6 +91,11 @@ exec swayidle -w \
#
input 1133:50503:Logitech_USB_Receiver accel_profile flat
input 1133:16500:Logitech_G304 accel_profile flat
input 1:1:AT_Translated_Set_2_keyboard {
xkb_layout "us"
xkb_variant "colemak"
xkb_options "caps:ctrl_modifier,altwin:swap_alt_win"
}
# You can get the names of your inputs by running: swaymsg -t get_inputs
# Read `man 5 sway-input` for more information about this section.