machine_setup/ansible/roles/sway/tasks/freebsd.yaml

52 lines
1.2 KiB
YAML
Raw Normal View History

2022-10-17 18:40:22 +00:00
- name: Install packages
package:
name:
- sway
- swaybg
- swayidle
- swaylock
- wofi
- mako
- grim
- xeyes
- qt5-wayland
# - gvfs
- xauth # for ssh x11 forwarding
- slurp # screen coordinates for screenshots
- libnotify # mako doesn't seem to work without it
- pcmanfm # For mounting drives
- wf-recorder # screen recording
- waybar
- xdg-desktop-portal
- xdg-desktop-portal-wlr # screen sharing
# - rofimoji
- wtype # for rofimoji to be able to insert characters
- dbus # for desktop notifications
- lumina-fm
- jq
2022-10-17 18:40:22 +00:00
state: present
- name: Install service configuration
copy:
src: "files/{{ item }}_rc.conf"
dest: "/etc/rc.conf.d/{{ item }}"
mode: 0644
owner: root
group: wheel
loop:
- seatd
- dbus
- name: Install scripts
copy:
src: "files/{{ item.src }}"
dest: "{{ item.dest }}"
mode: 0755
owner: root
group: wheel
loop:
2022-10-17 22:23:37 +00:00
- src: launch_sway_freebsd.bash
dest: /usr/local/bin/launch_sway
2022-10-28 04:27:32 +00:00
- src: waybar_battery_freebsd
dest: /usr/local/bin/waybar_custom_battery