aboutsummaryrefslogtreecommitdiffstats
path: root/install.sh
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-15 16:53:34 +0200
committerDanilo M. <danix@danix.xyz>2026-09-15 16:53:34 +0200
commit9adfac969af75a09054f1eb6f1894ab6bdf8b2a5 (patch)
treeda6bb4b96f8a5a279cf42865eee8dfeb7f36eb0e /install.sh
parent66a8d05e2461761b60e1b4126437d04dc4f3dbbe (diff)
downloadwaybar-theme-udt-9adfac969af75a09054f1eb6f1894ab6bdf8b2a5.tar.gz
waybar-theme-udt-9adfac969af75a09054f1eb6f1894ab6bdf8b2a5.zip
feat: split the bar in two on DP-3
DP-3 is rotated, so a bar there is 1080px wide rather than 1920, and one bar holding every module was too crowded. Status sits on top now, the desktop itself along the bottom: workspaces on the left, open windows on the right. Both bars are one waybar process reading one stylesheet, because waybar takes a top-level array of bars, so the two cannot drift apart. Presentation mode is the statusctl-backed module the DP-1 bar already runs, rather than the wb-idle module written for this bar. It talks to files under XDG_RUNTIME_DIR instead of to quickshell, so it keeps working while the shell is down, and it already emits a state class, so the glyphs are simply dropped and the icon chosen in CSS. wb-idle and its module are gone. The module needs a format of one space. It defaults to "{text}", statusctl emits an empty text, and waybar draws no widget at all for a custom module whose formatted output is empty: not an empty pill, no pill. That is the same trap the launcher hit, and it cost a wrong diagnosis on the way: a min-height was added first on the theory that the pill was collapsing, which was treating a symptom of a widget that did not exist. A forced red background proved it was never drawn at all. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/install.sh b/install.sh
index 2769b26..ad75744 100755
--- a/install.sh
+++ b/install.sh
@@ -86,9 +86,9 @@ ln -sfn "$repo/config.jsonc" "$target/config.jsonc"
for f in modules/clock.jsonc \
modules/hyprland/workspaces.jsonc \
modules/custom/vmdot.jsonc modules/custom/privacy_dots.jsonc \
+ modules/custom/presentation.jsonc \
modules/extras/taskbar.jsonc modules/extras/tray.jsonc \
- modules/image/volume.jsonc modules/image/idle_inhibitor.jsonc \
- modules/image/language.jsonc; do
+ modules/image/volume.jsonc modules/image/language.jsonc; do
ln -sfn "$repo/$f" "$target/$f"
done
@@ -136,7 +136,6 @@ for s in vms_dots.sh privacy_dots.sh; do
ln -sfn "$repo/bin/$s" "$HOME/bin/$s"
done
ln -sfn "$repo/bin/wb-icon" "$HOME/bin/wb-icon"
-ln -sfn "$repo/bin/wb-idle" "$HOME/bin/wb-idle"
ln -sfn "$repo/bin/wb-lang" "$HOME/bin/wb-lang"
# ----------------------------------------------------------------- checks --