1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_sway.git synced 2026-07-18 00:24:00 +02:00
  • Jinja 85%
  • Python 13.3%
  • Shell 1.7%
Find a file
2026-07-10 11:48:22 +02:00
.github Bump actions/checkout from 6 to 7 2026-06-18 15:12:45 +00:00
defaults Update and install arch fonts 2026-05-20 21:08:16 +02:00
files Update wlan script 2023-08-22 14:56:40 +02:00
meta improve meta and README 2024-07-27 13:42:58 +02:00
tasks Update and install arch fonts 2026-05-20 21:08:16 +02:00
templates Adding option for autostart programms 2026-02-28 14:35:35 +01:00
vars Update and install arch fonts 2026-05-20 21:08:16 +02:00
.gitignore Update .gitignore and linting 2025-06-13 16:41:37 +02:00
.yamllint improve linting 2024-07-18 19:09:51 +02:00
LICENSE Update LICENCE: MIT 2019-05-29 10:52:06 +02:00
README.md Adding option for autostart programms 2026-02-28 14:35:35 +01:00
requirements.yml requirements 2026-02-28 03:39:38 +01:00

Ansible Galaxy MIT License Maintainance

SWAY Window Manager - ansible role

SWAYWM

Sway is a tiling Wayland compositor and a drop-in replacement for the i3 window manager for X11. It supports most of i3's features, plus a few extras.

Sway allows you to arrange your application windows logically, rather than spatially. Windows are arranged into a grid by default which maximizes the efficiency of your screen and can be quickly manipulated using only the keyboard.

With this ansible role you deploy a sway configuration with optionally swaylock, waybar and fuzzel.

Variables

Variable Value Description
sway__user_list (see defaults/main.yml) A list of all users and their home directory
sway__dynamic_names false
sway__logo_key Mod4 Logo Key
sway__term foot Sway default terminal
sway__reload $mod+Shift+r Key binding to reload sway config
sway__term_pkgs (see defaults/main.yml) Packages for sway terminal
sway__keyboard_settings true Set Keyboard language settings in sway config
sway__keyboard_lang de German
sway__lock (see defaults/main.yml) Kommand to run for locking sway
sway__swaylock (see defaults/main.yml) Default swaylock settings
sway__waybar true Enable waybar as bar
sway__waybar_modules_left (see defaults/main.yml) Left waybar modules
sway__waybar_modules_center (see defaults/main.yml) Center waybar modules
sway__waybar_modules_right (see defaults/main.yml) Right waybar modules
sway__launcher fuzzel Command for launcher
sway__install_launcher ['fuzzel'] List for launcher packages
sway__waybar_font_size 13px Waybar font size
sway__waybar_light_up light -A 1 Waybar light module
sway__waybar_light_down light -U 1 Waybar light module
sway__wlsunset true Enable wlsunset
sway__wlsunset_params -l 49 -L 8.4
sway__keybindings (see defaults/main.yml) List of sway keybindings
sway__keybindings_extra [] Empty list for additional keybindings
sway__pipewire [] Install some requirements for desktop sharing...
sway__notification_center true Use way notification center for notifications
sway__additional_exec_always [] List of autostart programms like nm-applet
sway__background_image /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png Background image
submodules_versioncheck false Basic Versionscheck to prevent running older version of this role

Example Playbook

 - name: install sway on localhost
   hosts: localhost
   roles:
     - {role: roles-ansible.sway, tags: sway}

License

MIT License