forked from pub-solar/os
ryzensun: add custom keybindings
This commit is contained in:
parent
6c0585edc7
commit
4b8c24df60
|
@ -0,0 +1,2 @@
|
||||||
|
# switch keyboard input language
|
||||||
|
bindsym $mod+tab exec swaymsg input "1118:1896:Microsoft_Microsoft___SiderWinderTM_X4_Keyboard_Consumer_Control" xkb_switch_layout next
|
|
@ -3,10 +3,13 @@
|
||||||
# You can get the names of your inputs by running: swaymsg -t get_inputs
|
# 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.
|
# Read `man 5 sway-input` for more information about this section.
|
||||||
|
|
||||||
input * {
|
input "type:keyboard" {
|
||||||
xkb_layout us,de
|
xkb_layout us,de
|
||||||
xkb_options ctrl:nocaps
|
xkb_options ctrl:nocaps
|
||||||
natural_scroll disabled
|
}
|
||||||
|
|
||||||
|
input "type:touchpad" {
|
||||||
|
natural_scroll enabled
|
||||||
}
|
}
|
||||||
|
|
||||||
# Touchpad controls
|
# Touchpad controls
|
||||||
|
|
|
@ -15,6 +15,7 @@ in
|
||||||
pub-solar.virtualisation.enable = true;
|
pub-solar.virtualisation.enable = true;
|
||||||
|
|
||||||
home-manager.users."${psCfg.user.name}".xdg.configFile = mkIf psCfg.sway.enable {
|
home-manager.users."${psCfg.user.name}".xdg.configFile = mkIf psCfg.sway.enable {
|
||||||
|
"sway/config.d/10-custom-keybindings.conf".source = ./.config/sway/config.d/custom-keybindings.conf;
|
||||||
"sway/config.d/autostart.conf".source = ./.config/sway/config.d/autostart.conf;
|
"sway/config.d/autostart.conf".source = ./.config/sway/config.d/autostart.conf;
|
||||||
"sway/config.d/input-defaults.conf".source = ./.config/sway/config.d/input-defaults.conf;
|
"sway/config.d/input-defaults.conf".source = ./.config/sway/config.d/input-defaults.conf;
|
||||||
"sway/config.d/screens.conf".source = ./.config/sway/config.d/screens.conf;
|
"sway/config.d/screens.conf".source = ./.config/sway/config.d/screens.conf;
|
||||||
|
|
Loading…
Reference in a new issue