From fea331158915713d980bafde6c38a6954d5c233b Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Tue, 15 Sep 2026 17:04:07 +0200 Subject: feat: move the desktop bar to DP-1, and add the mail module The two bars were both on DP-3, which put the workspaces and the window list on a rotated 1080px screen while 2560px sat unused next to it. Status stays on DP-3 alone; the desktop itself moved to DP-1, where the window list has room. This replaces the stock bar rather than sitting beside it, so hyprland's autostart now launches this config instead of a bare waybar. ~/.config/waybar is left on disk, but nothing reads it. Mail comes over from the stock bar as the same notmuch watcher, minus the glyph: the envelope is a CSS background and the unread count stays text, because the count is the content rather than decoration, exactly like the clock. Its format carries a trailing space so the pill survives the empty state, since the watcher emits an empty text when nothing is unread and waybar draws no widget at all for a custom module whose output is empty. Co-Authored-By: Claude Opus 5 --- install.sh | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'install.sh') diff --git a/install.sh b/install.sh index ad75744..cd64844 100755 --- a/install.sh +++ b/install.sh @@ -3,10 +3,13 @@ # Copyright (C) 2026 Danilo M. # Licensed under the GNU General Public License v2 only. # -# This installs a SECOND bar, at ~/.config/waybar-udt/. The existing bar at -# ~/.config/waybar/ is left alone, so DP-1 keeps working while this one is -# tried on DP-3. Nothing is started: the command to run it is printed at the -# end. +# Installs to ~/.config/waybar-udt/, which is a separate config directory from +# the stock ~/.config/waybar/: that one is left on disk untouched, so its +# modules and scripts stay available to go back to. +# +# Nothing is started here. Hyprland launches the bar on login from +# ~/.config/hypr/sections/autostart.lua; the command is printed at the end for +# starting it by hand. set -euo pipefail repo="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" @@ -86,7 +89,7 @@ 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/custom/presentation.jsonc modules/custom/mail.jsonc \ modules/extras/taskbar.jsonc modules/extras/tray.jsonc \ modules/image/volume.jsonc modules/image/language.jsonc; do ln -sfn "$repo/$f" "$target/$f" @@ -146,4 +149,4 @@ ln -sfn "$repo/bin/wb-lang" "$HOME/bin/wb-lang" echo echo "installed to $target" echo "run it with: waybar -c $target/config.jsonc -s $target/styles/style.css" -echo "your existing bar on DP-1 is untouched." +echo "hyprland starts it on login; see ~/.config/hypr/sections/autostart.lua" -- cgit v1.2.3