Dotfiles/desktopenvs/hyprlua
Amir Alexander Abdelbaki ae0ad3c4d7 fix(eww): stop duplicate stacked bars from ewwstart race
Diagnosed live in a VM: the bar rendered twice (two stacked rows). `hyprctl
layers` showed two `gtk-layer-shell` bar surfaces owned by two different eww
pids — an `eww daemon` and an `eww open bar`. The monitor count was correctly 1,
so the per-monitor loop was not at fault.

Root cause: ewwstart.sh started `eww daemon` and then immediately ran `eww open`
in a loop. The first `eww open` frequently ran before the freshly-started daemon
was ready, so it spawned its OWN second daemon and drew a second bar.

Fix (all three DE variants — hyprlua, hyprland, niri):
- Drop the separate `eww daemon`; rely on `eww open` to auto-start the daemon and
  block until the window is mapped, so the first call establishes a single daemon
  that the rest reuse (no race, no second daemon).
- killall eww + short settle before opening, so a reload starts clean.
- hyprlua/hyprland: count monitors via `hyprctl monitors -j | jq length` instead
  of the fragile `hyprctl monitors | grep ID | wc -l`.
- export GTK_THEME (the bare assignment never took effect).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01R5kHioUMK3mtf2eiLEozCM
2026-06-28 02:23:45 +02:00
..
CRT feat: add hyprlua config set and migrate hyprland envvars to dedicated file 2026-05-19 08:50:23 +02:00
Vencord feat: add hyprlua config set and migrate hyprland envvars to dedicated file 2026-05-19 08:50:23 +02:00
alacritty feat: add hyprlua config set and migrate hyprland envvars to dedicated file 2026-05-19 08:50:23 +02:00
btop feat: add hyprlua config set and migrate hyprland envvars to dedicated file 2026-05-19 08:50:23 +02:00
config-updater refactor(hyprlua): move hypr-usr/ into hypr/usr/ and wire sysupdate sync 2026-06-11 15:46:01 +02:00
dunst fix(niri): correct window opacity rules and align theming to CyberQueer palette 2026-06-01 17:37:11 +02:00
eww chore: add inline comments across all modules and configs 2026-06-25 13:07:06 +02:00
eww-nobattery feat(hyprlua): tighten lid-lock, idle timer, and add caffeine eww widget 2026-06-19 11:15:23 +02:00
eww-touch minor fixes, paths 2026-06-23 16:42:49 +02:00
greetd-tuigreet feat: add hyprlua config set and migrate hyprland envvars to dedicated file 2026-05-19 08:50:23 +02:00
gtk-3.0 feat(qt,gtk): overhaul theming — qt6ct style plugin, dark palette, GTK color-scheme 2026-05-19 13:43:13 +02:00
hypr fix(hyprlua): launch OpenDeck via native opendeck binary 2026-06-26 16:00:42 +02:00
kitty feat(archiso+branding): rebrand to m-archy, ship fastfetch logo and os-release 2026-06-26 09:50:39 +02:00
nwg-dock-hyprland feat: add hyprlua config set and migrate hyprland envvars to dedicated file 2026-05-19 08:50:23 +02:00
nwg-drawer feat: add hyprlua config set and migrate hyprland envvars to dedicated file 2026-05-19 08:50:23 +02:00
nwg-panel feat: add hyprlua config set and migrate hyprland envvars to dedicated file 2026-05-19 08:50:23 +02:00
scripts fix(eww): stop duplicate stacked bars from ewwstart race 2026-06-28 02:23:45 +02:00
spicetify feat: add hyprlua config set and migrate hyprland envvars to dedicated file 2026-05-19 08:50:23 +02:00
ulauncher feat: add hyprlua config set and migrate hyprland envvars to dedicated file 2026-05-19 08:50:23 +02:00
vicinae fix(hyprlua): theme and position vicinae correctly 2026-05-19 11:48:14 +02:00
walker feat: add hyprlua config set and migrate hyprland envvars to dedicated file 2026-05-19 08:50:23 +02:00
waybar chore: add inline comments across all modules and configs 2026-06-25 13:07:06 +02:00
wofi chore: add inline comments across all modules and configs 2026-06-25 13:07:06 +02:00
xfce4 feat: add hyprlua config set and migrate hyprland envvars to dedicated file 2026-05-19 08:50:23 +02:00
mimeapps.list feat: add hyprlua config set and migrate hyprland envvars to dedicated file 2026-05-19 08:50:23 +02:00