1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_i3wm.git synced 2024-08-16 10:09:53 +02:00
ansible_role_i3wm/defaults/main.yml

135 lines
3.5 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'
sway__lock: 'swaylock --color 000000 --image /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png'
2024-07-18 20:48:07 +02:00
sway__waybar: true
2024-07-22 14:36:03 +02:00
sway__waybar_modules_right: ["idle_inhibitor", "custom/weather", "pulseaudio", "network", "cpu", "memory", "temperature", "backlight", "keyboard-state", "sway/language", "battery", "clock", "tray"]
2024-07-17 21:47:59 +02:00
2024-07-19 15:53:46 +02:00
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: []
2024-07-17 15:45:32 +02:00
# version check for this role?
submodules_versioncheck: true
2019-05-29 11:00:13 +02:00
# Here are the variables you may want to change
# to configure i3wm
2017-12-31 00:56:01 +01:00
i3_keybindings_extra: []
# - keybinding:
# name: example
# key: $mod+Shift+F10
# exec: --no-startup-id touch /tmp/example.txt
2020-10-14 13:18:44 +02:00
i3_monitors: []
# see: xrandr
2017-12-31 00:56:01 +01:00
# - 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
2020-10-14 13:18:44 +02:00
2017-12-31 00:56:01 +01:00
i3_applications: []
# - application:
# class: "Firefox"
# name: "firefox"
# workspace: 1 # bind application to a specific workspace
# on_startup: false
2020-10-14 13:18:44 +02:00
2019-02-20 21:02:06 +01:00
i3_run_on_startup: []
# - foo
# - bar
2020-10-14 13:18:44 +02:00
2019-04-24 10:48:22 +02:00
## set default font size
i3_font_size: 11
2019-06-11 09:19:11 +02:00
i3_focus_follows_mouse: true
2020-10-14 13:18:44 +02:00
2019-04-24 10:48:22 +02:00
# set i3lock options
i3lock_options: "i3lock --image={{ i3wm_usr.home }}/.config/lockscreen.png --color 000000"
2020-10-14 13:18:44 +02:00
2019-04-24 10:48:22 +02:00
# 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'
2020-10-14 13:18:44 +02:00
i3_terminal: "terminator"
2019-04-24 10:48:22 +02:00
# install additional packages
2018-11-21 09:35:41 +01:00
i3_packages_extra:
- ranger
2019-06-10 21:56:11 +02:00
i3wm_copy_wallpapers: true
2019-06-24 14:46:40 +02:00
disable_screensaver: true
2019-06-24 15:33:51 +02:00
enable_lock_after_time: false
lock_after_time: '90' # minutes to wait until your screen is locked