Refine sway config

This commit is contained in:
James Grogan 2024-07-23 19:14:54 +01:00
parent c981448676
commit d257bdfc8f

View file

@ -23,7 +23,7 @@ set $menu dmenu_path | wmenu | xargs swaymsg exec --
### Output configuration
#
# Default wallpaper (more resolutions are available in /gnu/store/wlyzl80yslhxhzbh2cd0lhr3im850zxc-sway-1.9/share/backgrounds/sway/)
output * bg /gnu/store/wlyzl80yslhxhzbh2cd0lhr3im850zxc-sway-1.9/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
output * bg /home/jgrogan/.config/wallpaper.png fill
#
# Example configuration:
#
@ -48,12 +48,19 @@ output HDMI-A-1 resolution 1920x1080 position 1920,0
#
# Example configuration:
#
# input "2:14:SynPS/2_Synaptics_TouchPad" {
# dwt enabled
# tap enabled
# natural_scroll enabled
# middle_emulation enabled
# }
input "10182:3395:DELL0B6B:00_27C6:0D43_Touchpad" {
dwt enabled
tap enabled
natural_scroll enabled
middle_emulation enabled
}
input type:keyboard {
# Capslock key should work as escape key
# See /usr/share/X11/xkb/rules/xorg.lst for options
xkb_options ctrl:nocaps
xkb_layout "gb"
}
#
# 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.