home/sway: enable tap to click on touchpads and switch wallpaper

This commit is contained in:
fleaz 2023-12-01 16:57:17 +01:00
parent 75cef64203
commit 2bc0bcd51d
No known key found for this signature in database
GPG key ID: AED15F8FDD04D083

View file

@ -14,14 +14,14 @@ in
input = {
"type:keyboard" = { xkb_layout = "eu"; };
"type:mouse" = { pointer_accel = "-1"; };
"type:touchpad" = { tap = "enabled"; };
"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";
};
};
output = {
"eDP-1".bg = "/home/fleaz/Nextcloud/wallpaper/NixOS-trans-wallpaper.png fill";
"*".bg = "/home/fleaz/Nextcloud/wallpaper/spongebob.jpg fill";
"*".bg = "/etc/nixos/wallpaper.jpg fill";
} // lib.optionalAttrs (nixosConfig.networking.hostName == "cray") {
"HDMI-A-1" = {
mode = "3840x2160";