blob: a0296b6cd73ec7d19afd090e0b27767d2e4121ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
post_install() {
cat <<'EOF'
==> Aqueous installed.
Select 'Aqueous' from your display manager's session list, or install
'aqueous-greetd-config' (or apply packaging/greetd/config.toml.example)
for a preconfigured greetd + tuigreet setup.
To enable the input daemon as a systemd user service:
systemctl --user enable --now aqueous-inputd.socket
Otherwise the session launcher will spawn it automatically.
A udev rule (70-aqueous-uaccess.rules) is installed so the active
local session user gets an ACL on /dev/input/event* via logind's
'uaccess' tag -- you do NOT need to be in the 'input' group. The
rule takes effect on the next device add/replug, on reboot, or
after:
sudo udevadm control --reload && sudo udevadm trigger --subsystem-match=input
The output daemon (aqueous-outputd) drives wlr-randr from inside
River's control context. It is started automatically by
/usr/bin/aqueous-init at session start, which also applies the
persisted display configuration before Aqueous draws its first
frame (this is what makes the screen come up at the right
resolution under greetd). To run it as a systemd user service
instead:
systemctl --user enable --now aqueous-outputd.service
Requires the 'wlr-randr' package.
EOF
systemd-tmpfiles --create 2>/dev/null || true
}
post_upgrade() {
post_install
}
post_remove() {
echo "==> Aqueous removed. User configs in ~/.config/aqueous were left intact."
}
|