feat: add systemd user service + slow down tab blink animations

- Add scripts/claudeman-web.service: respawning systemd user service
  for `claudeman web --https` (Restart=always, RestartSec=5)
- Slow tab blink animations: red 1s→2.5s, yellow 1.5s→3.5s
  with ease-in-out and reduced opacity for less aggressive feel

Install: symlink to ~/.config/systemd/user/, enable, start
Linger: loginctl enable-linger keeps it running after logout

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
arkon
2026-01-24 03:52:13 +01:00
co-authored by Claude Opus 4.5
parent 7add243f39
commit a2d4303300
2 changed files with 27 additions and 4 deletions
+23
View File
@@ -0,0 +1,23 @@
[Unit]
Description=Claudeman Web Server (HTTPS)
After=network.target
[Service]
Type=simple
WorkingDirectory=/home/arkon/default/claudeman
ExecStart=/usr/bin/node dist/index.js web --https
Restart=always
RestartSec=5
Environment=NODE_ENV=production
Environment=HOME=/home/arkon
# Logging
StandardOutput=journal
StandardError=journal
SyslogIdentifier=claudeman
# Resource limits
LimitNOFILE=65536
[Install]
WantedBy=default.target
+4 -4
View File
@@ -184,21 +184,21 @@ body {
/* Tab alert animations */
.session-tab.tab-alert-action {
animation: tab-blink-red 1s infinite;
animation: tab-blink-red 2.5s ease-in-out infinite;
}
.session-tab.tab-alert-idle {
animation: tab-blink-yellow 1.5s infinite;
animation: tab-blink-yellow 3.5s ease-in-out infinite;
}
@keyframes tab-blink-red {
0%, 100% { background: transparent; border-color: transparent; }
50% { background: rgba(239, 68, 68, 0.15); border-color: var(--red); }
50% { background: rgba(239, 68, 68, 0.12); border-color: var(--red); }
}
@keyframes tab-blink-yellow {
0%, 100% { background: transparent; border-color: transparent; }
50% { background: rgba(234, 179, 8, 0.12); border-color: var(--yellow); }
50% { background: rgba(234, 179, 8, 0.1); border-color: var(--yellow); }
}
@keyframes pulse {