mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2025-12-10 07:25:37 -05:00
Update Greeter ReadMe
This commit is contained in:
@@ -31,31 +31,10 @@ sudo systemctl enable greetd
|
|||||||
|
|
||||||
#### Syncing themes (Optional)
|
#### Syncing themes (Optional)
|
||||||
|
|
||||||
To sync your wallpaper and theme with the greeter login screen:
|
To sync your wallpaper and theme with the greeter login screen, follow the manual setup below:
|
||||||
|
|
||||||
```bash
|
|
||||||
dms-greeter-sync
|
|
||||||
```
|
|
||||||
|
|
||||||
Then logout/login for changes to take effect. Your wallpaper and theme will appear on the greeter!
|
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>What does dms-greeter-sync do?</summary>
|
<summary>Manual theme syncing</summary>
|
||||||
|
|
||||||
The `dms-greeter-sync` helper automatically:
|
|
||||||
- Adds you to the greeter group
|
|
||||||
- Sets minimal ACL permissions on parent directories (traverse only)
|
|
||||||
- Sets group ownership on your DMS config directories
|
|
||||||
- Creates symlinks to share your theme files with the greeter
|
|
||||||
|
|
||||||
This uses standard Linux ACLs (Access Control Lists) - the same security model used by GNOME, KDE, and systemd. The greeter user only gets traverse permission through your directories and can only read the specific theme files you share.
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Manual theme syncing (advanced)</summary>
|
|
||||||
|
|
||||||
If you prefer to set up theme syncing manually:
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Add yourself to greeter group
|
# Add yourself to greeter group
|
||||||
@@ -100,6 +79,7 @@ The package automatically:
|
|||||||
- Sets up directories and permissions
|
- Sets up directories and permissions
|
||||||
- Configures greetd with auto-detected compositor
|
- Configures greetd with auto-detected compositor
|
||||||
- Applies SELinux contexts
|
- Applies SELinux contexts
|
||||||
|
- Installs the `dms-greeter-sync` helper script
|
||||||
|
|
||||||
Then disable existing display manager and enable greetd:
|
Then disable existing display manager and enable greetd:
|
||||||
|
|
||||||
@@ -108,7 +88,9 @@ sudo systemctl disable gdm sddm lightdm
|
|||||||
sudo systemctl enable greetd
|
sudo systemctl enable greetd
|
||||||
```
|
```
|
||||||
|
|
||||||
**Optional:** Sync your theme with the greeter:
|
#### Syncing themes (Optional)
|
||||||
|
|
||||||
|
The RPM package includes the `dms-greeter-sync` helper for easy theme syncing:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
dms-greeter-sync
|
dms-greeter-sync
|
||||||
@@ -116,6 +98,19 @@ dms-greeter-sync
|
|||||||
|
|
||||||
Then logout/login to see your wallpaper on the greeter!
|
Then logout/login to see your wallpaper on the greeter!
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>What does dms-greeter-sync do?</summary>
|
||||||
|
|
||||||
|
The `dms-greeter-sync` helper automatically:
|
||||||
|
- Adds you to the greeter group
|
||||||
|
- Sets minimal ACL permissions on parent directories (traverse only)
|
||||||
|
- Sets group ownership on your DMS config directories
|
||||||
|
- Creates symlinks to share your theme files with the greeter
|
||||||
|
|
||||||
|
This uses standard Linux ACLs (Access Control Lists) - the same security model used by GNOME, KDE, and systemd. The greeter user only gets traverse permission through your directories and can only read the specific theme files you share.
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
### Automatic
|
### Automatic
|
||||||
|
|
||||||
The easiest thing is to run `dms greeter install` or `dms` for interactive installation.
|
The easiest thing is to run `dms greeter install` or `dms` for interactive installation.
|
||||||
@@ -167,12 +162,7 @@ sudo systemctl disable gdm sddm lightdm
|
|||||||
sudo systemctl enable greetd
|
sudo systemctl enable greetd
|
||||||
```
|
```
|
||||||
|
|
||||||
8. (Optional) Install the `dms-greeter-sync` helper for easy theme syncing:
|
8. (Optional) Set up theme syncing using the manual ACL method described in the Configuration → Personalization section below
|
||||||
```bash
|
|
||||||
# Download or copy the dms-greeter-sync script from the spec file
|
|
||||||
sudo cp /path/to/dms-greeter-sync /usr/local/bin/dms-greeter-sync
|
|
||||||
sudo chmod +x /usr/local/bin/dms-greeter-sync
|
|
||||||
```
|
|
||||||
|
|
||||||
#### Legacy installation (deprecated)
|
#### Legacy installation (deprecated)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user