mirror of
https://github.com/fscotto/infra.git
synced 2026-05-30 15:39:58 +00:00
Enhance Sway/Noctalia integration and align desktop docs
- Add canonical usb-drive-manager plugin to Noctalia (symlink from official) - Remove nm-applet and blueman packages from nymph Sway session - Run udiskie without tray (backend for automount/LUKS, UI via usb-drive-manager) - Add screenOverrides support to Noctalia bar via inventory variables - Add host_packages_absent task to packages_void role - Update desktop docs with full plugin list and config layering - Add focused validation check for Sway/Noctalia bootstrap
This commit is contained in:
@@ -71,4 +71,11 @@
|
||||
| unique
|
||||
}}
|
||||
state: present
|
||||
update_cache: false
|
||||
update_cache: false
|
||||
|
||||
- name: Remove host-absent packages on Void Linux
|
||||
tags: [packages]
|
||||
community.general.xbps:
|
||||
name: "{{ host_packages_absent | default([]) }}"
|
||||
state: absent
|
||||
when: (host_packages_absent | default([])) | length > 0
|
||||
@@ -113,6 +113,21 @@
|
||||
owner: "{{ username }}"
|
||||
group: "{{ user_group }}"
|
||||
|
||||
- name: Check if usb-drive-manager is a real directory (needs migration to symlink)
|
||||
ansible.builtin.stat:
|
||||
path: "{{ user_home }}/.config/noctalia/plugins/usb-drive-manager"
|
||||
follow: false
|
||||
register: usb_drive_manager_path_state
|
||||
|
||||
- name: Remove old usb-drive-manager directory (migration to symlink)
|
||||
ansible.builtin.file:
|
||||
path: "{{ user_home }}/.config/noctalia/plugins/usb-drive-manager"
|
||||
state: absent
|
||||
when:
|
||||
- usb_drive_manager_path_state.stat.exists
|
||||
- usb_drive_manager_path_state.stat.isdir
|
||||
- not (usb_drive_manager_path_state.stat.islnk | default(false))
|
||||
|
||||
- name: Link official Noctalia plugins
|
||||
ansible.builtin.file:
|
||||
src: "{{ user_home }}/.local/share/noctalia-plugins/official/{{ item }}"
|
||||
@@ -124,3 +139,4 @@
|
||||
loop:
|
||||
- polkit-agent
|
||||
- screenshot
|
||||
- usb-drive-manager
|
||||
|
||||
@@ -70,7 +70,14 @@
|
||||
"rightClickAction": "controlCenter",
|
||||
"rightClickCommand": "",
|
||||
"rightClickFollowMouse": true,
|
||||
"screenOverrides": [],
|
||||
"screenOverrides": [
|
||||
{% for override in noctalia_screen_overrides | default([]) %}
|
||||
{
|
||||
"enabled": {{ override.enabled | lower }},
|
||||
"name": "{{ override.name }}"
|
||||
}{% if not loop.last %},{% endif %}
|
||||
{% endfor %}
|
||||
],
|
||||
"showCapsule": true,
|
||||
"showOnWorkspaceSwitch": true,
|
||||
"showOutline": false,
|
||||
|
||||
@@ -22,7 +22,7 @@ exec pipewire
|
||||
exec pipewire-pulse
|
||||
exec wireplumber
|
||||
exec kanshi
|
||||
exec udiskie
|
||||
exec udiskie --no-tray
|
||||
exec wl-paste --watch cliphist store
|
||||
exec qs -c noctalia-shell
|
||||
|
||||
|
||||
Reference in New Issue
Block a user