{ pkgs, config, ... }: { programs.swaylock.enable = true; wayland.windowManager.sway = { enable = true; wrapperFeatures.gtk = true; # Fixes common issues with GTK 3 apps config = { window.titlebar = false; menu = "fuzzel"; gaps = { }; modifier = "Mod4"; # Use kitty as default terminal terminal = "foot"; }; extraConfig = let incr = "5"; in '' output * scale 2 bindsym XF86MonBrightnessDown exec brightnessctl set -e 5%- bindsym XF86MonBrightnessUp exec brightnessctl set -e +5% bindsym XF86AudioRaiseVolume exec wpctl set-volume @DEFAULT_SINK@ ${incr}%+ bindsym XF86AudioLowerVolume exec wpctl set-volume @DEFAULT_SINK@ ${incr}%- input "type:keyboard" { xkb_options caps:escape } input "type:touchpad" { natural_scroll enabled dwt disabled } ''; }; }