mirror of
https://github.com/roles-ansible/ansible_role_i3wm.git
synced 2024-08-16 10:09:53 +02:00
134 lines
3.5 KiB
YAML
134 lines
3.5 KiB
YAML
---
|
|
# 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_right: ["idle_inhibitor", "custom/weather", "pulseaudio", "network", "cpu", "memory", "temperature", "backlight", "keyboard-state", "sway/language", "battery", "clock", "tray"]
|
|
|
|
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
|
|
|
|
sway__keybindings_extra: []
|
|
|
|
|
|
# version check for this role?
|
|
submodules_versioncheck: true
|
|
|
|
|
|
# Here are the variables you may want to change
|
|
# to configure i3wm
|
|
i3_keybindings_extra: []
|
|
# - keybinding:
|
|
# name: example
|
|
# key: $mod+Shift+F10
|
|
# exec: --no-startup-id touch /tmp/example.txt
|
|
|
|
i3_monitors: []
|
|
# see: xrandr
|
|
# - monitor:
|
|
# id: 1
|
|
# output: "VGA-1"
|
|
# mode: "1920x1080"
|
|
# pos: "0x0"
|
|
# rotate: "normal"
|
|
# workspaces: [1,2,3,4,5,6,7,8,9,0] # bind workspace to a specific monitor
|
|
|
|
i3_applications: []
|
|
# - application:
|
|
# class: "Firefox"
|
|
# name: "firefox"
|
|
# workspace: 1 # bind application to a specific workspace
|
|
# on_startup: false
|
|
|
|
i3_run_on_startup: []
|
|
# - foo
|
|
# - bar
|
|
|
|
|
|
## set default font size
|
|
i3_font_size: 11
|
|
i3_focus_follows_mouse: true
|
|
|
|
# set i3lock options
|
|
i3lock_options: "i3lock --image={{ i3wm_usr.home }}/.config/lockscreen.png --color 000000"
|
|
|
|
# use fancy background
|
|
i3_desktop_background: "{{ i3wm_usr.home }}/.config/background.png"
|
|
|
|
# i3blocks options
|
|
i3_i3blocks_options:
|
|
weather: true
|
|
audio_volume: true
|
|
wifisignal: true
|
|
ipaddress: true
|
|
clock: true
|
|
battery: true
|
|
ddate: true
|
|
|
|
i3_rofi_config_file: 'files/rofi/dracula_dark.rasi'
|
|
|
|
i3_terminal: "terminator"
|
|
|
|
# install additional packages
|
|
i3_packages_extra:
|
|
- ranger
|
|
|
|
i3wm_copy_wallpapers: true
|
|
|
|
disable_screensaver: true
|
|
enable_lock_after_time: false
|
|
lock_after_time: '90' # minutes to wait until your screen is locked
|