Commit Graph
6 Commits
Author SHA1 Message Date
daniil-bergandClaude Opus 4.8 102fb3c3c4 fix(home): relaunch waybar on monitor hotplug instead of SIGUSR2 reload
A real DP/HDMI unplug makes Hyprland tear down the layer-shell surfaces on
the surviving monitor and not recreate them, so waybar and the wallpaper
vanish there. A SIGUSR2 reload rereads waybar's config but does not
recreate a bar that was already destroyed, so it left the laptop bar gone.
Kill and restart waybar instead — a fresh process enumerates the current
outputs and draws a bar on each — and add a settle delay before re-pushing
the wallpaper so it lands on the settled geometry. Verified against a real
DP-1 unplug: the LVDS-1 bar and wallpaper survive.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-09 11:37:03 +02:00
daniil-bergandClaude Opus 4.8 752ee84430 fix(home): keep waybar + wallpaper on surviving monitor after unplug
Hyprland drops the layer-shell surfaces on the remaining output when a
monitor is removed and does not recreate them, so waybar and the awww
wallpaper vanish on unplug. The socket2 watcher only reacted to
`monitoradded`, which masked it — reconnecting re-fired the add and
restored both. Handle `monitorremoved` too, and on either event re-push
the wallpaper and reload waybar (SIGUSR2 rebuilds its per-output bars).
Renamed `wallpaper-hotplug` to `monitor-hotplug` since it now does both.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-09 10:48:16 +02:00
daniil-bergandClaude Opus 4.8 e4a8b07117 fix(wallpaper): repaint monitors hotplugged after login
awww-daemon paints only the outputs present when `awww img` last ran and does
not repaint a monitor connected later, so it comes up on the daemon's black
fill — which a transparent foot then shows instead of the wallpaper. Add
`wallpaper-hotplug`: it watches Hyprland's event socket and re-runs `setbg`
(which pushes to all outputs) on each `monitoradded`.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-21 09:33:15 +02:00
daniil-berg 60d1d89d04 fix(media): rebind imv open-in-editor from g to e
`g` is reserved by imv's `gg` first-image chord.
2026-07-06 20:46:35 +02:00
daniil-bergandClaude Opus 4.8 0731e78003 feat(media): add zathura pdf/document viewer
minimal keyboard-driven viewer; bundled mupdf backend covers PDFs out of the
box. yank selection to the wayland clipboard.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-05 20:35:54 +02:00
daniil-bergandClaude Opus 4.8 1e163fe025 feat(media): add mpv and imv media viewers
new `modules/media.nix`: mpv (with mpv-gallery-view) for video/audio, imv for
images. imv key binds run per-file actions — copy path via `wl-copy`, rotate/
flip via `magick`, delete, open in gimp, show `mediainfo`. wallpaper via awww
plus a `setbg` wrapper (symlink to ~/.local/share/bg + live push); awww-daemon
and boot restore wired as hyprland exec-once. add mako as the notification
daemon backing the notify-send toasts.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-05 20:32:51 +02:00