From 45519b4fa5885c97d5ef9e99a150952a87e92d89 Mon Sep 17 00:00:00 2001 From: histalek Date: Mon, 18 Jul 2022 08:42:32 +0200 Subject: [PATCH] sway: Configure inputs by type instead of identifier --- .config/sway/conf.d/1-set | 5 ++--- .config/sway/conf.d/input | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.config/sway/conf.d/1-set b/.config/sway/conf.d/1-set index 029ae22..b559485 100644 --- a/.config/sway/conf.d/1-set +++ b/.config/sway/conf.d/1-set @@ -22,9 +22,8 @@ set $disp2 HDMI-A-1 set $disp3 DP-2 ## Define inputs -set $keyboard1 1547:8979:Skydigital_nkey_Mechanic_LED_Keyboard -#set $mouse1 1133:49242:Logitech_USB_Optical_Mouse -set $mouse1 7119:5:USB_Optical_Mouse +#set $keyboard1 1547:8979:Skydigital_nkey_Mechanic_LED_Keyboard +#set $mouse1 7119:5:USB_Optical_Mouse ## Define Workspaces ## nerdfonts cheat sheet: https://www.nerdfonts.com/cheat-sheet diff --git a/.config/sway/conf.d/input b/.config/sway/conf.d/input index 4c5126e..ff3011b 100644 --- a/.config/sway/conf.d/input +++ b/.config/sway/conf.d/input @@ -3,14 +3,14 @@ # Input configuration # # =================== # -input $keyboard1 { +input "type:keyboard" { xkb_layout de xkb_variant nodeadkeys xkb_options caps:escape xkb_numlock enable } -input $mouse1 { +input "type:mouse" { accel_profile flat dwt disabled scroll_factor 0.5