Add sway for linux.

This commit is contained in:
Tom Alexander
2023-02-01 23:14:20 -05:00
parent 8bd1c8f79e
commit a808f81e27
12 changed files with 96 additions and 35 deletions

View File

@@ -1,3 +1,27 @@
- name: Install packages
package:
name:
- sway
- swaybg
- swayidle
- swaylock
- wofi
- mako
- grim
- qt5-wayland
# - gvfs
- slurp # screen coordinates for screenshots
- libnotify # mako doesn't seem to work without it
- pcmanfm # For mounting drives
- wf-recorder # screen recording
- xdg-desktop-portal
- xdg-desktop-portal-wlr # screen sharing
# - rofimoji
- wtype # for rofimoji to be able to insert characters
- dbus # for desktop notifications
- jq
state: present
- name: Install scripts
copy:
src: "files/{{ item.src }}"

View File

@@ -1,27 +1,8 @@
- 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
- xdg-desktop-portal
- xdg-desktop-portal-wlr # screen sharing
# - rofimoji
- wtype # for rofimoji to be able to insert characters
- dbus # for desktop notifications
- jq
- wev # For debugging input
- wlogout # Log out prompt
state: present

View File

@@ -1,3 +1,27 @@
- name: Build aur packages
register: buildaur
become_user: "{{ build_user.name }}"
command: "aurutils-sync --no-view {{ item }}"
args:
creates: "/var/cache/pacman/custom/{{ item }}-*.pkg.tar.*"
loop:
- wev
- name: Update cache
when: buildaur.changed
pacman:
name: []
state: present
update_cache: true
- name: Install packages
package:
name:
- wev
- xorg-xauth
- xorg-xeyes
- xorg-xwayland
- name: Install scripts
copy:
src: "files/{{ item.src }}"