Files
multi-monitor-kiosk/display-manager/sway.conf
T
2026-07-04 14:16:05 +02:00

30 lines
760 B
Plaintext

# Default sway config for Kiosk
# Disable default bar
bar {
mode invisible
}
# Remove window borders and title bars
default_border none
default_floating_border none
hide_edge_borders both
# Map workspaces to specific outputs
# Note: In a real Pi 4 environment, the outputs might be named HDMI-A-1 and HDMI-A-2.
# You can customize these output names based on `swaymsg -t get_outputs`.
workspace 1 output HDMI-A-1
workspace 2 output HDMI-A-2
# Set a black background
output * bg #000000 solid_color
# Idle configuration
# We don't want the screen to turn off in a kiosk.
exec swayidle -w \
timeout 3600 'swaymsg "output * dpms on"' \
resume 'swaymsg "output * dpms on"'
# Include any other specific configurations
include /etc/sway/config.d/*