sway: Configure inputs by type instead of identifier
This commit is contained in:
parent
78ed17ca19
commit
45519b4fa5
2 changed files with 4 additions and 5 deletions
|
@ -22,9 +22,8 @@ set $disp2 HDMI-A-1
|
||||||
set $disp3 DP-2
|
set $disp3 DP-2
|
||||||
|
|
||||||
## Define inputs
|
## Define inputs
|
||||||
set $keyboard1 1547:8979:Skydigital_nkey_Mechanic_LED_Keyboard
|
#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 $mouse1 7119:5:USB_Optical_Mouse
|
|
||||||
|
|
||||||
## Define Workspaces
|
## Define Workspaces
|
||||||
## nerdfonts cheat sheet: https://www.nerdfonts.com/cheat-sheet
|
## nerdfonts cheat sheet: https://www.nerdfonts.com/cheat-sheet
|
||||||
|
|
|
@ -3,14 +3,14 @@
|
||||||
# Input configuration #
|
# Input configuration #
|
||||||
# =================== #
|
# =================== #
|
||||||
|
|
||||||
input $keyboard1 {
|
input "type:keyboard" {
|
||||||
xkb_layout de
|
xkb_layout de
|
||||||
xkb_variant nodeadkeys
|
xkb_variant nodeadkeys
|
||||||
xkb_options caps:escape
|
xkb_options caps:escape
|
||||||
xkb_numlock enable
|
xkb_numlock enable
|
||||||
}
|
}
|
||||||
|
|
||||||
input $mouse1 {
|
input "type:mouse" {
|
||||||
accel_profile flat
|
accel_profile flat
|
||||||
dwt disabled
|
dwt disabled
|
||||||
scroll_factor 0.5
|
scroll_factor 0.5
|
||||||
|
|
Loading…
Add table
Reference in a new issue