1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_sway.git synced 2024-08-16 13:49:49 +02:00
ansible_role_sway/defaults/main.yml

102 lines
2.8 KiB
YAML
Raw Normal View History

2017-12-31 00:56:01 +01:00
---
2024-07-17 15:45:32 +02:00
# deploy config to these users:
sway__user_list:
- user: "{{ ansible_user_id }}"
home: "{{ ansible_env.HOME | default('/home/{{ ansible_user_id }}') }}"
2024-07-18 20:48:07 +02:00
sway__dynamic_names: false
2024-07-17 15:45:32 +02:00
2024-07-17 21:47:59 +02:00
# sway behavior and favorites
sway__logo_key: 'Mod4'
sway__term: 'foot'
sway__reload: '$mod+Shift+r'
sway__term_pkgs:
2024-07-17 21:47:59 +02:00
- foot
- foot-terminfo
- foot-themes
sway__keyboard_settings: true
sway__keyboard_lang: 'de'
2024-07-25 23:17:00 +02:00
sway__lock: 'swaylock --color 00000000 && killall -9 cmatrix & foot -F cmatrix -a -L && exit'
sway__swaylock: |
color=000000ff
2024-07-18 20:48:07 +02:00
sway__waybar: true
2024-07-23 22:07:05 +02:00
sway__waybar_modules_left: ["sway/workspaces", "sway/mode", "sway/scratchpad"]
sway__waybar_modules_center: ["sway/window"]
2024-07-23 22:52:56 +02:00
sway__waybar_modules_right:
- "idle_inhibitor"
- "custom/weather"
- "pulseaudio"
- "network"
- "custom/ping"
2024-07-23 22:52:56 +02:00
- "cpu"
- "memory"
- "disk"
- "temperature"
- "backlight"
- "keyboard-state"
- "sway/language"
- "battery"
- "custom/power"
- "clock"
- "tray"
2024-07-27 12:16:07 +02:00
sway__launcher: 'fuzzel'
sway__install_launcher: ['fuzzel']
2024-07-23 22:07:05 +02:00
sway__waybar_font_size: '13px'
2024-07-23 22:52:56 +02:00
sway__waybar_light_up: 'light -A 1'
sway__waybar_light_down: 'light -U 1'
2024-07-23 15:54:25 +02:00
sway__wlsunset: true
2024-07-23 22:23:11 +02:00
sway__wlsunset_params: '-l 49 -L 8.4'
2024-07-17 21:47:59 +02:00
2024-07-19 15:53:46 +02:00
sway__keybindings:
2024-07-23 22:52:56 +02:00
- 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: $mod+Shift+F7
2024-07-23 22:52:56 +02:00
exec: wdisplays
2024-07-31 22:32:06 +02:00
sway__pipewire: true
2024-07-19 15:53:46 +02:00
sway__keybindings_extra: []
2024-07-17 15:45:32 +02:00
# version check for this role?
2024-07-27 13:42:58 +02:00
submodules_versioncheck: false