summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-02-10 17:46:25 -0600
committerCraig Jennings <c@cjennings.net>2026-02-10 17:46:25 -0600
commiteeaaa8ff9c3f0acd9d8e21aad399839e75de363b (patch)
treeed6c4fceb83b9162ebdbd1c128765afd2c7e4cd7
parentbeddf4eebafe842bcdb45a3e37396f1c2a415cf7 (diff)
feat(archsetup): add ditaa package, process inboxHEADmain
Add ditaa to Emacs Dependencies for org-babel diagram support. File waybar date/worldclock inbox item to assets/outbox.
-rwxr-xr-xarchsetup1
-rw-r--r--assets/outbox/2026-02-10-waybar-date-worldclock.txt59
2 files changed, 60 insertions, 0 deletions
diff --git a/archsetup b/archsetup
index 1ad5502..3365d89 100755
--- a/archsetup
+++ b/archsetup
@@ -1807,6 +1807,7 @@ developer_workstation() {
aur_install proselint # grammar checker
aur_install gist # command-line gist poster
pacman_install aspell # spell check system
+ pacman_install ditaa # ASCII art to bitmap diagrams (org-babel)
pacman_install aspell-en # spell check english files
pacman_install fd # a faster find for dired/dirvish
pacman_install ffmpegthumbnailer # video previews in dired/dirvish
diff --git a/assets/outbox/2026-02-10-waybar-date-worldclock.txt b/assets/outbox/2026-02-10-waybar-date-worldclock.txt
new file mode 100644
index 0000000..4cd4668
--- /dev/null
+++ b/assets/outbox/2026-02-10-waybar-date-worldclock.txt
@@ -0,0 +1,59 @@
+Waybar: Split clock into separate date and world clock modules
+==============================================================
+
+Split the single Waybar clock module into two custom modules so that
+each has its own tooltip: date shows a calendar, time shows a world clock.
+
+What changed
+------------
+
+Replaced the built-in "clock" module with two custom modules:
+
+- custom/date: Shows "Tue, Feb 10 2026" on the bar. Tooltip displays the
+ current month stacked above the next month, with today highlighted in
+ dupre gold (#daa520).
+
+- custom/worldclock: Shows "04:36 PM CST" on the bar. Tooltip lists all
+ configured timezones with their current times. The local timezone is
+ highlighted in dupre gold. Reads from ~/.config/waybar/worldclock.conf
+ so timezones can be added/removed without touching any scripts.
+
+Files added
+-----------
+
+- dotfiles/hyprland/.local/bin/waybar-date
+ Shell script outputting JSON. Generates the two-month stacked calendar
+ using cal, highlights today via Pango markup.
+
+- dotfiles/hyprland/.local/bin/waybar-worldclock
+ Shell script outputting JSON. Reads worldclock.conf, detects local
+ timezone via /etc/localtime, highlights it in gold.
+
+- dotfiles/hyprland/.config/waybar/worldclock.conf
+ Timezone list sorted earliest to latest:
+ Honolulu, Anchorage, Berkeley, New Orleans, New York, London, Paris,
+ Athens, Istanbul, Yerevan, Delhi, Shanghai, Tokyo, Sydney, Wellington.
+
+Files modified
+--------------
+
+- dotfiles/hyprland/.config/waybar/config
+ Replaced "clock" in modules-right with "custom/date" and
+ "custom/worldclock". Removed the clock block, added the two new
+ module definitions (interval 60s for date, 30s for worldclock).
+
+- dotfiles/hyprland/.config/waybar/style.css
+ Replaced #clock with #custom-date and #custom-worldclock in the shared
+ selector. Added overrides to tighten spacing: the two modules sit close
+ together (0.2rem padding between them, zero margin), and the date
+ module's left side is flush against the tray.
+
+Deployment
+----------
+
+Scripts are deployed via stow (stow -R hyprland -t $HOME from the
+dotfiles directory). After any changes, reload with:
+ killall waybar && waybar &
+
+To customize timezones, edit ~/.config/waybar/worldclock.conf. Changes
+appear within 30 seconds.