Sway Ansible role ------------------ Role to configure Sway window manager ## Variables This role have multiples variables for managing all configurations, all variables are initalized to reproduce default configuration. There is no bar configured by this role because it is out of his scope. A futur role will be created for installing and configuring Waybar. ### Packages `sway_packages` list packages to install. ### variables `sway_variables` contains a list of variable needed for configuration files like `$term` or `$menu` ```yaml sway_variables: - name: '$term' value: 'foot' - name: '$menu' value: 'dmenu_path | dmenu | xargs swaymsg exec --' ``` ### output Manage displays and options ```yaml sway_outputs: - id: 'all' name: '*' options: bg: '/usr/share/backgrounds/sway/sway_wallpaper_blue_1920x1080.png fill' `````` This example reproduce default beaviour: * `id`: display id, useful for (future) kanshi configuration role * `name`: name of display, this can be found with `swaymsg -t get_outputs` * `options`: list of options, format: `