{ config, pkgs, inputs, ... }: { wayland.windowManager.sway = { enable = true; config = rec { modifier = "Mod4"; # Use kitty as default terminal terminal = "kitty"; bars = [ {command = "waybar";} ]; startup = [ # Launch Firefox on start {command = "wpaperd";} ]; }; extraConfig = '' ## Input configuration input "type:keyboard" { xkb_layout de xkb_variant "nodeadkeys" } input "type:touchpad" { tap enabled # enables click-on-tap tap_button_map lrm # tap with 1 finger = left click, 2 fingers = right click, 3 fingers = middle click dwt disabled # disable (touchpad) while typing dwtp disabled # disable (touchpad) while track pointing } # Brightness bindsym XF86MonBrightnessDown exec light -U 10 bindsym XF86MonBrightnessUp exec light -A 10 # Volume bindsym XF86AudioRaiseVolume exec 'pactl set-sink-volume @DEFAULT_SINK@ +1%' bindsym XF86AudioLowerVolume exec 'pactl set-sink-volume @DEFAULT_SINK@ -1%' bindsym XF86AudioMute exec 'pactl set-sink-mute @DEFAULT_SINK@ toggle' # app launcher bindsym Mod4+m exec 'kickoff' bindsym Mod4+BackSpace kill # disable window border default_border pixel 2 font pango:monospace 0.001 titlebar_padding 1 titlebar_border_thickness 0 ''; }; }