home/sway: enable tap to click on touchpads and switch wallpaper
This commit is contained in:
parent
75cef64203
commit
2bc0bcd51d
|
@ -14,14 +14,14 @@ in
|
||||||
input = {
|
input = {
|
||||||
"type:keyboard" = { xkb_layout = "eu"; };
|
"type:keyboard" = { xkb_layout = "eu"; };
|
||||||
"type:mouse" = { pointer_accel = "-1"; };
|
"type:mouse" = { pointer_accel = "-1"; };
|
||||||
|
"type:touchpad" = { tap = "enabled"; };
|
||||||
"1:1:AT_Translated_Set_2_keyboard" = {
|
"1:1:AT_Translated_Set_2_keyboard" = {
|
||||||
# Remap borken ctrl key on internal keyboard
|
# Remap borken ctrl key on internal keyboard for XPS
|
||||||
xkb_options = "caps:ctrl_modifier";
|
xkb_options = "caps:ctrl_modifier";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
output = {
|
output = {
|
||||||
"eDP-1".bg = "/home/fleaz/Nextcloud/wallpaper/NixOS-trans-wallpaper.png fill";
|
"*".bg = "/etc/nixos/wallpaper.jpg fill";
|
||||||
"*".bg = "/home/fleaz/Nextcloud/wallpaper/spongebob.jpg fill";
|
|
||||||
} // lib.optionalAttrs (nixosConfig.networking.hostName == "cray") {
|
} // lib.optionalAttrs (nixosConfig.networking.hostName == "cray") {
|
||||||
"HDMI-A-1" = {
|
"HDMI-A-1" = {
|
||||||
mode = "3840x2160";
|
mode = "3840x2160";
|
||||||
|
|
Loading…
Reference in a new issue