Skip to content

Commit

Permalink
Fix gdm user sway name resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
fspv committed Apr 1, 2024
1 parent aea1fe4 commit 2f0da45
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion roles/gdm/tasks/configs.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
- name: config user wayland session script
copy:
content: |
#!/bin/sh
${XDG_DATA_HOME:="${HOME}/.local/share"}/bin/wayland-user
dest: /usr/local/bin/wayland-user
owner: "root"
mode: 0777

- name: config set user wayland session
copy:
content: |
[Desktop Entry]
Name=User-defined Wayland session
Comment=Run arbitrary file configured by user
Exec=${XDG_DATA_HOME:="${HOME}/.local/share"}/bin/wayland-user
Exec=/usr/local/bin/wayland-user
Type=Application
dest: /usr/share/wayland-sessions/wayland-user.desktop
owner: "root"
Expand Down

0 comments on commit 2f0da45

Please sign in to comment.