Compare commits

..
2 Commits
Author SHA1 Message Date
pascalyazid 58749dcbdc docs(readme) added greeter screenshot 2026-11-27 19:04:45 +01:00
pascalyazid fb6a8b31a6 docs(readme): document greeter and refresh dependencies
- split dependencies into core shell, wallpaper, workspaces, system services
  and optional greeter groups
- add a Greeter section covering architecture, install, systemd reload and
  preview commands
- link the greeter screenshot and fix the duplicated screenshot caption
- give the standalone greeter its own AGS instance name so previewing it
  no longer collides with the running bar
2026-11-27 19:02:45 +01:00
4 changed files with 124 additions and 8 deletions

No files matched your search

+104 -4
View File
@@ -14,7 +14,8 @@ This shell features dynamic theming using **Pywal**, completely integrating your
- **Smart Media Player**: Automatically tracks and controls your active media player via MPRIS. Includes a popover with album art and playback controls. - **Smart Media Player**: Automatically tracks and controls your active media player via MPRIS. Includes a popover with album art and playback controls.
- **Quick Settings Dropdown**: Easily manage your Network, Bluetooth (safe non-blocking toggles), and Audio (Speaker/Mic sliders). - **Quick Settings Dropdown**: Easily manage your Network, Bluetooth (safe non-blocking toggles), and Audio (Speaker/Mic sliders).
- **System Tray & Clock**: Unified system tray and a datetime display with a clickable calendar popover. - **System Tray & Clock**: Unified system tray and a datetime display with a clickable calendar popover.
- **Hyprland Workspaces**: Highlights the active workspace and allows click-to-switch navigation. - **Per-Monitor Workspaces**: Each bar only shows the workspaces that belong to its monitor (open or holding applications), with click-to-switch navigation.
- **Themed Greeter**: Optional AGS login screen for greetd that reuses the current Pywal palette and wallpaper, shows PAM messages, and offers reboot/shutdown buttons.
--- ---
@@ -23,19 +24,66 @@ This shell features dynamic theming using **Pywal**, completely integrating your
![Screenshot 1](./screenshots/screenshot_01.png) ![Screenshot 1](./screenshots/screenshot_01.png)
![Screenshot 2](./screenshots/screenshot_02.png) ![Screenshot 2](./screenshots/screenshot_02.png)
![Screenshot 3](./screenshots/screenshot_03.png) ![Screenshot 3](./screenshots/screenshot_03.png)
![Screenshot 3](./screenshots/screenshot_04.png) ![Screenshot 4](./screenshots/screenshot_04.png)
### Greeter
![Greeter](./screenshots/screenshot_05.png)
## 📦 Dependencies ## 📦 Dependencies
To use this shell, you need to install AGS and the required backend libraries. Since you are most probably using Arch, you can install them via your package manager or AUR. To use this shell, you need to install AGS and the required backend libraries. Since you are most probably using Arch, you can install them via your package manager or AUR.
### Core shell
```bash ```bash
# Astal libraries, core AGS and Sass compiler for theming, Hyprmod for Hyprland settings, Dunst notification daemon # AGS, Astal libraries (includes AstalGreet), Sass, Hyprland settings and notifications
paru -S libastal-meta aylurs-gtk-shell dart-sass hyprmod dunst paru -S libastal-meta aylurs-gtk-shell dart-sass hyprmod dunst
```
# Wallpaper dependencies ### Wallpaper and theming
```bash
paru -S hyprpaper python-pywal16 paru -S hyprpaper python-pywal16
```
### Workspaces widget
The workspace bar reads Hyprland's IPC socket directly and uses a small Python helper:
```bash
sudo pacman -S openbsd-netcat python
```
### System services
The Astal widgets talk to these services (usually already present on a desktop install):
```bash
sudo pacman -S networkmanager bluez bluez-utils pipewire wireplumber upower power-profiles-daemon
```
`power-profiles-daemon` is optional (the power profile section is hidden without it). `easyeffects` is optional and is launched by the Audio button:
```bash
sudo pacman -S easyeffects
```
### Greeter (optional)
The included greetd greeter additionally needs:
```bash
sudo pacman -S greetd cage uwsm polkit dbus
```
`dbus` and `polkit` are usually already installed. `libastal-meta` already includes AstalGreet; if you installed the Astal libraries individually, also install `libastal-greetd-git`.
The greeter runs as the `greeter` user, which must be able to access the GPU:
```bash
# only if the user does not exist yet
sudo useradd -M -G video greeter
``` ```
--- ---
@@ -66,6 +114,58 @@ _(Note: The shell is configured to automatically restore your last used wallpape
--- ---
## 🔐 Greeter
This repository includes an optional AGS greeter for `greetd` in `greeter/`. It uses [AstalGreet](https://aylur.github.io/libastal/greet/) for authentication, runs under the `cage` kiosk compositor, and reuses the current Pywal palette and wallpaper so the login screen matches the shell.
```text
greetd -> start-greeter.sh -> cage -> dbus-run-session -> ags run greeter.tsx
^ |
+------------ AstalGreet (GREETD_SOCK) --------------+
```
- `theme.ts` exports the compiled greeter CSS and current wallpaper to `/var/tmp/ags-greeter` on every theme change.
- `greeter/install.sh` copies the greeter to `/etc/greetd/ags`, creates `/var/lib/greetd`, installs a polkit rule for reboot/shutdown, and configures `/etc/greetd/config.toml`.
- A successful login starts a uwsm-managed Hyprland session (`hyprland.desktop`).
### Install
```bash
sudo pacman -S cage uwsm polkit dbus
sudo ./greeter/install.sh
```
Keep a TTY available (`Ctrl+Alt+F2`) before applying it, then restart greetd or reboot:
```bash
sudo systemctl reset-failed greetd
sudo systemctl restart greetd
```
See [`greeter/README.md`](./greeter/README.md) for details, the debug log (`/tmp/greeter.log`), and alternate session commands.
### Preview
Run the login UI inside your current Hyprland session. It will refuse to log in without greetd, which is expected:
```bash
ags run ./greeter/greeter.tsx
```
For a full kiosk-style preview, and for screenshots, run it inside a nested cage window:
```bash
cage -d -- dbus-run-session -- ags run ./greeter/greeter.tsx
```
Close the preview with your Hyprland close-window keybind or:
```bash
ags quit -i greeter
```
---
## 🎨 Applying the Theme Globally ## 🎨 Applying the Theme Globally
Because this shell uses **Pywal**, you can easily inject the dynamically generated colors into almost any other application on your system. Because this shell uses **Pywal**, you can easily inject the dynamically generated colors into almost any other application on your system.
+19 -4
View File
@@ -19,16 +19,17 @@ support `wlr-layer-shell`, so the greeter is a plain `Gtk.ApplicationWindow`
## Requirements ## Requirements
- `greetd` (already installed) - `greetd` (already installed)
- `libastal-greetd` (already installed, provides `AstalGreet-0.1`) - `libastal-meta` (includes AstalGreet) or `libastal-greetd`
- `ags` (already installed) - `ags` (already installed)
- `cage` — `pacman -S cage` - `cage` — `pacman -S cage`
- `uwsm`, `polkit` and `dbus` — `pacman -S uwsm polkit dbus`
- `dart-sass` (already installed, used to compile the theme) - `dart-sass` (already installed, used to compile the theme)
- a `greeter` user in the `video` group (already present) - a `greeter` user in the `video` group (already present)
## Install ## Install
```sh ```sh
sudo pacman -S cage sudo pacman -S cage uwsm polkit dbus
sudo ./greeter/install.sh sudo ./greeter/install.sh
``` ```
@@ -69,7 +70,8 @@ If the exported files do not exist yet, the greeter uses
## Preview ## Preview
In a running Hyprland session: In a running Hyprland session, next to the bar (the greeter uses the distinct
`greeter` instance name):
```sh ```sh
ags run ./greeter/greeter.tsx ags run ./greeter/greeter.tsx
@@ -78,6 +80,19 @@ ags run ./greeter/greeter.tsx
This shows the real UI, but pressing "Log in" reports that the greeter must be This shows the real UI, but pressing "Log in" reports that the greeter must be
started by greetd (there is no `GREETD_SOCK` in your session). started by greetd (there is no `GREETD_SOCK` in your session).
For a full kiosk-style preview, and for screenshots, run it inside a nested
cage window:
```sh
cage -d -- dbus-run-session -- ags run ./greeter/greeter.tsx
```
Close the preview with your Hyprland close-window keybind or:
```sh
ags quit -i greeter
```
## Login messages and power buttons ## Login messages and power buttons
PAM info/error messages are shown in the card. greetd often reports only a PAM info/error messages are shown in the card. greetd often reports only a
@@ -117,4 +132,4 @@ sudo systemctl start greetd
`SESSION_CMD` in `greeter.tsx` with `["/usr/bin/start-hyprland"]`. `SESSION_CMD` in `greeter.tsx` with `["/usr/bin/start-hyprland"]`.
- The username field defaults to the user recorded in - The username field defaults to the user recorded in
`/etc/greetd/ags/default-user`; it can be edited before logging in. `/etc/greetd/ags/default-user`; it can be edited before logging in.
- The greeter does not implement reboot/shutdown buttons yet. - The reboot and shutdown buttons act immediately, without a confirmation step.
+1
View File
@@ -364,6 +364,7 @@ function Greeter() {
} }
app.start({ app.start({
instanceName: "greeter",
css: themeCss(), css: themeCss(),
main() { main() {
Greeter() Greeter()
Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 MiB