--- # deploy config to these users: sway__user_list: - user: "{{ ansible_user_id }}" home: "{{ ansible_env.HOME | default('/home/{{ ansible_user_id }}') }}" sway__dynamic_names: false # sway behavior and favorites sway__logo_key: 'Mod4' sway__term: 'foot' sway__reload: '$mod+Shift+r' sway__term_pkgs: - foot - foot-terminfo - foot-themes sway__keyboard_settings: true sway__keyboard_lang: 'de' sway__lock: 'swaylock --color 000000 --image /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png' sway__waybar: true sway__waybar_modules_left: ["sway/workspaces", "sway/mode", "sway/scratchpad"] sway__waybar_modules_center: ["sway/window"] sway__waybar_modules_right: - "idle_inhibitor" - "custom/weather" - "pulseaudio" - "network" - "cpu" - "memory" - "disk" - "temperature" - "backlight" - "keyboard-state" - "sway/language" - "battery" - "custom/power" - "clock" - "tray" sway__waybar_font_size: '13px' sway__waybar_light_up: 'light -A 1' sway__waybar_light_down: 'light -U 1' sway__wlsunset: true sway__wlsunset_params: '-l 49 -L 8.4' sway__keybindings: - keybinding: name: Volume (mute/unmute) key: $mod+F12 exec: --no-startup-id pulsemixer --toggle-mute - keybinding: name: Volue (default) key: $mod+Shift+F12 exec: --no-startup-id pulsemixer --set-volume 42 - keybinding: name: volume-up key: XF86AudioRaiseVolume exec: --no-startup-id pulsemixer --change-volume +3 - keybinding: name: volume-down key: XF86AudioLowerVolume exec: --no-startup-id pulsemixer --change-volume -5 - keybinding: name: Toggle Mic Mute key: XF86AudioMicMute exec: '--no-startup-id pulsemixer --toggle-mute --id $(pulsemixer --list-sources | cut -f3 | grep Default | cut -d "," -f 1 | cut -c 6-)' - keybinding: name: Mic volume up key: $mod+Shift+F4 exec: '--no-startup-id pulsemixer --change-volume +3 --id $(pulsemixer --list-sources | cut -f3 | grep Default | cut -d "," -f 1 | cut -c 6-)' - keybinding: name: Mic volume down key: $mod+F4 exec: '--no-startup-id pulsemixer --change-volume -5 --id $(pulsemixer --list-sources | cut -f3 | grep Default | cut -d "," -f 1 | cut -c 6-)' - keybinding: name: Toggle Mic Mute key: XF86AudioMute exec: --no-startup-id pulsemixer --toggle-mute - keybinding: name: darker key: XF86MonBrightnessDown exec: --no-startup-id light -U 9 - keybinding: name: lighter key: XF86MonBrightnessUp exec: --no-startup-id light -A 6 - keybinding: name: display settings key: XF86WakeUp exec: wdisplays sway__keybindings_extra: [] # version check for this role? submodules_versioncheck: true