Proof Portal

Project overview

Omarchy

ProbeLabs65 findings · 95 requirements

A proof layer — requirements, tests and verified fixes — for two of Omarchy's subsystems: the application menu (launcher scripts, QML model, JSONC config, search and selection) and the lock screen (lock scripts, QML, PAM authentication). Scope is deliberately limited to those components of omacom/omarchy; the rest of the distribution is not covered.

Inbox
ReportR-3156GitHub issuePublicReceived

Waybar clock :L locale operator not respecting system timezone without TZ environment variable

Reported by matiasmoya · filed Oct 2, 2025Closed upstream on 2025-10-17 by dhh. GitHub close reason: completed. No closing PR or commit is recorded — "completed" alone is not evidence of a fix.

Received and recorded verbatim. Nothing has been checked yet.

At a glance

1 · What is claimed?
Only the report text below — no validator has restated it as checkable claims yet.
2 · What does it affect?
Not yet mapped to any requirement or component.
3 · Is it reproducible?
No validation has been run yet.
4 · What remains unclear?
  • Not validated yet: no claims, no reproducer.
5 · What happens next?
Our staff decide whether the report is valid. Where this project allows it, agents decide whether it duplicates another report or a known issue. No decision has been recorded yet.

Original report

Waybar clock :L locale operator not respecting system timezone without TZ environment variablerevision 1 · captured 2026-10-04 11:35 UTC via poll

System details

Omarchy v3.0.1 (Linux 6.16.8-arch3-1), manual installation over arch, running the scripts from cloned repo

Problem Description

Waybar clock :L locale operator not respecting system timezone without TZ environment variable

In some manual installations, the waybar clock format {:L%A %H:%M} displays UTC time instead of the configured system timezone, even when timedatectl shows the correct timezone is set.

Root Cause

The :L locale operator in waybar relies on the TZ environment variable to determine the timezone. While timedatectl can show and set the system timezone correctly, applications launched through certain desktop environments or window managers may not inherit the TZ environment variable, causing them to default to UTC.

Example

  • System timezone: timedatectl show -p Timezone --value returns America/Argentina/Tucuman
  • Waybar config: "format": "{:L%A %H:%M}"
  • Without TZ: Clock shows UTC time
  • With TZ: Clock shows correct local time

Current Workaround

Users have to hardcode the timezone in waybar config:

{
    "clock": {
        "timezone": "America/Argentina/Tucuman",
        "format": "{:%A %H:%M}"
    }
}

Proposed Solution

Set the TZ environment variable dynamically in omarchy's default bash environment:

# In default/bash/envs
export TZ="$(timedatectl show -p Timezone --value)"

This ensures:
1. Dynamic detection: Works for all users worldwide without hardcoding
2. Proper inheritance: Applications launched from terminals get the correct TZ
3. Waybar compatibility: The :L locale operator works as expected
4. System consistency: Matches the timezone configured via timedatectl

View raw text
## System details
Omarchy v3.0.1 (Linux 6.16.8-arch3-1), manual installation over arch, running the scripts from cloned repo


## Problem Description

Waybar clock `:L` locale operator not respecting system timezone without TZ environment variable

In some manual installations, the waybar clock format `{:L%A %H:%M}` displays UTC time instead of the configured system timezone, even when `timedatectl` shows the correct timezone is set.

## Root Cause

The `:L` locale operator in waybar relies on the `TZ` environment variable to determine the timezone. While `timedatectl` can show and set the system timezone correctly, applications launched through certain desktop environments or window managers may not inherit the `TZ` environment variable, causing them to default to UTC.

## Example

- System timezone: `timedatectl show -p Timezone --value` returns `America/Argentina/Tucuman`
- Waybar config: `"format": "{:L%A %H:%M}"`
- **Without TZ:** Clock shows UTC time
- **With TZ:** Clock shows correct local time

## Current Workaround

Users have to hardcode the timezone in waybar config:
```json
{
    "clock": {
        "timezone": "America/Argentina/Tucuman",
        "format": "{:%A %H:%M}"
    }
}
```

## Proposed Solution

Set the `TZ` environment variable dynamically in omarchy's default bash environment:

```bash
# In default/bash/envs
export TZ="$(timedatectl show -p Timezone --value)"
```

This ensures:
1. **Dynamic detection:** Works for all users worldwide without hardcoding
2. **Proper inheritance:** Applications launched from terminals get the correct TZ
3. **Waybar compatibility:** The `:L` locale operator works as expected
4. **System consistency:** Matches the timezone configured via `timedatectl`

Validation

Not checked yet. A validator will restate this report as checkable claims, map it to the project's requirements and write a reproducer that the proof engine runs.

Linked

Not linked to any known issue, other report or change yet.

Decision

Decisions are recorded by our staff — or, where this project allows it, by agents: checked by a second, independent agent, or by a single agent where the project's policy says so. Any decision reached so far is shown below.

No decision has been recorded yet.