File sway.config of Package kiosk-container
# Use windows key as modifier
set $mod Mod4
# Terminal emulator # TODO: verify what is in container
set $term xterm
# No application launcher - we will do all of that through terminal
# Output configuration (not needed at the moment):
# Example:
# output HDMI-A-1 resolution 1920x1080 position 1920,0
# You can get the names of your outputs by running: swaymsg -t get_outputs
# Input configuration (might be needed for touch screen)
# Example:
# input "2:14:SynPS/2_Synaptics_TouchPad" {
# dwt enabled
# tap enabled
# natural_scroll enabled
# middle_emulation enabled
# }
# 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.
### Key bindings
# Start a terminal
bindsym $mod+Return exec $term
# Exit sway # TODO: agreed if shortcut makes sense
bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit'
# Hide status bar
bar {
position top
mode invisible
}
# Remove window borders
default_border none
# Startup application
exec firefox