Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
a0d83c8
Give the HP OmniBook 3 working speakers and microphones (#18921)
costerou Nov 14, 2026
fec2840
Make app icons an icon set, picked apart from the theme (#18879)
dhh Nov 15, 2026
e990aac
Report what the dropdown test sees when its keyboard walk stalls (#18…
dhh Nov 15, 2026
23b9ef0
Update translations (#18975)
omarchybot Nov 15, 2026
ca19736
Pick an icon set from previews, in the theme switcher's picker (#18976)
dhh Nov 15, 2026
112e362
Update translations (#18981)
omarchybot Nov 15, 2026
e0bbb8f
Wait for the update lock to come free in the hangup test (#18980)
dhh Nov 15, 2026
63b95aa
Start the Snapdragon CPU floor at boot instead of dropping it in a cy…
dhh Nov 15, 2026
2d8ba54
Leave the locate database to its timer after install (#18917)
dhh Nov 15, 2026
e98d761
Leave Turing's NVIDIA firmware out of the N1x initramfs (#18916)
dhh Nov 15, 2026
9744954
Drop the N1x rescue boot entry (#18913)
dhh Nov 15, 2026
a20df85
Install new Snapdragon firmware packages, and pick the 8cx device tre…
birkskyum Nov 15, 2026
fcfe77f
Mark migrations done with one touch on first install (#18985)
dhh Nov 15, 2026
f53b9a2
Repair the bundled extensions when switching to a Chromium-based brow…
dhh Nov 15, 2026
67f57d5
Print the current background name on its own line (#18790)
ThePrimeagen Nov 15, 2026
209c447
Refuse unknown omarchy-snapshot subcommands (#18792)
ThePrimeagen Nov 15, 2026
6ab66f5
Silently exit when clipboard history file is missing (#18794)
ThePrimeagen Nov 15, 2026
8ad16b4
Pass the full command to every swarm pane (#18818)
ThePrimeagen Nov 15, 2026
e66d33a
Escape the commands tdlm queues in each tmux window (#18822)
ThePrimeagen Nov 15, 2026
b28941d
Open no editor when eff's file picker is cancelled (#18821)
ThePrimeagen Nov 15, 2026
f82bb85
Hold Alt in the system menu to reboot to the BIOS (#19003)
dhh Nov 15, 2026
e71193c
Update translations (#19005)
omarchybot Nov 15, 2026
24901c2
Add Surface Laptop 7 15" board setup (#18967)
fidecastro Nov 15, 2026
3dd6027
Update translations (#19012)
omarchybot Nov 15, 2026
7ed56ad
Set up an agent subscription with its download shown, then a browser …
dhh Nov 15, 2026
8b9302a
Update translations (#19021)
omarchybot Nov 15, 2026
3e2a5e9
Cut the Herdr icon's prompt cleanly, and take Aether's out of its win…
dhh Nov 15, 2026
6ce7e58
Show the system exit OSD only once the exit has taken 2 seconds (#19006)
dhh Nov 15, 2026
f5918f8
Boot the LCD IdeaPad Slim 5x on its own device tree (#19015)
birkskyum Nov 15, 2026
49dcac6
Handle the lid on ChromeOS EC laptops like Googlebooks and Chromebook…
adenta Nov 15, 2026
9bd4153
Exit 1 when a command that needs an argument is run without one (#18797)
ThePrimeagen Nov 15, 2026
9ad5d55
Quit the running ChatGPT app before removing it (#18799)
ThePrimeagen Nov 15, 2026
c0b8893
Print usage on -h/--help in omarchy-tailscale-send (#18806)
ThePrimeagen Nov 15, 2026
59e9512
Show keyboard and input method errors in the current language (#18815)
ThePrimeagen Nov 15, 2026
3b06d22
Print usage for omarchy-notification-send --help instead of sending a…
ThePrimeagen Nov 15, 2026
4eeb580
Update translations (#19028)
omarchybot Nov 15, 2026
d9c4696
Stub the video decode setup in the default apps test (#18991)
dhh Nov 15, 2026
64ddca3
Make the pacman keyring in the background during a first install (#19…
dhh Nov 15, 2026
46fa150
Draw icons for Brave Origin, Ghostty, Herdr, Kdenlive, Moonlight, OBS…
dhh Nov 15, 2026
deed121
Use Files for other apps' Open and Save dialogs (#19035)
dhh Nov 15, 2026
7b177dc
Replace imv and mpv with Omaview (#19034)
dhh Nov 15, 2026
8a0999b
Update translations (#19040)
omarchybot Nov 15, 2026
b0ce604
Keep the charging icon while the battery's charge rate is still stale…
fidecastro Nov 15, 2026
d065b28
Show how to stop touchpad taps from dragging and pasting (#19017)
fidecastro Nov 15, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Binary file removed applications/icons/imv.png
Binary file not shown.
Binary file added applications/icons/omarchy-agent-claude.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added applications/icons/omarchy-agent-codex.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added applications/icons/omarchy-agent-grok.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added applications/icons/omarchy-agent.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 0 additions & 8 deletions applications/imv.desktop

This file was deleted.

51 changes: 0 additions & 51 deletions applications/mpv.desktop

This file was deleted.

7 changes: 5 additions & 2 deletions bin/omarchy
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ GROUP_DESCRIPTIONS[hibernation]="Hibernation setup and removal"
GROUP_DESCRIPTIONS[hook]="User hook runner"
GROUP_DESCRIPTIONS[hw]="Hardware detection and controls"
GROUP_DESCRIPTIONS[hyprland]="Hyprland window, monitor, and toggle controls"
GROUP_DESCRIPTIONS[icons]="App icon set management"
GROUP_DESCRIPTIONS[install]="Optional software installers"
GROUP_DESCRIPTIONS[installed]="Installed optional service checks"
GROUP_DESCRIPTIONS[launch]="Application launchers"
Expand Down Expand Up @@ -1063,10 +1064,11 @@ dispatch_fast_or_help() {
if (( DIRECT_RESOLVED_COUNT == 1 )) && group_has_child_commands "$1"; then
load_group_commands "$1"
show_group_help "$1"
return 0
else
show_command_help "$key"
return 1
fi
return 0
fi
fi

Expand Down Expand Up @@ -1127,10 +1129,11 @@ dispatch_or_help() {
if (( ${#remaining[@]} == 0 )) && command_requires_args "$key"; then
if (( RESOLVED_COUNT == 1 )) && group_exists "$1"; then
show_group_help "$1"
return 0
else
show_command_help "$key"
return 1
fi
return 0
fi

exec "$binary_path" "${remaining[@]}"
Expand Down
11 changes: 9 additions & 2 deletions bin/omarchy-agent
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# omarchy:summary=Launch the default coding agent in a terminal
# omarchy:args=[--inline] [--pick] [--local] [--local-model <recipe>] [--prefer-local] [--agent <id>]
# omarchy:args=[--inline] [--pick] [--local] [--local-model <recipe>] [--prefer-local] [--agent <id>] [--app-id=<app-id>]
# omarchy:examples=omarchy agent | omarchy agent --inline | omarchy agent --local | omarchy agent --agent codex

inline=false
Expand All @@ -10,6 +10,7 @@ use_local=false
prefer_local=false
local_model=""
agent_override=""
app_id="org.omarchy.agent"

# Flags only. A bare prompt would shadow the subcommands under this group, so
# prompts go through omarchy-agent-prompt, which passes one here as --prompt.
Expand Down Expand Up @@ -40,6 +41,12 @@ while (($#)); do
agent_override=${2:?--agent needs an agent id}
shift 2
;;
# A launcher of its own (Codex, Claude Code, Grok Build) gives its windows
# their own class, so the dock keeps them under that launcher.
--app-id=*)
app_id=${1#--app-id=}
shift
;;
--prompt)
prompt=${2:?--prompt needs a value}
shift 2
Expand Down Expand Up @@ -365,5 +372,5 @@ if [[ $inline == "true" ]]; then
else
# A fixed app-id rather than the default org.omarchy.<binary>, so every agent
# window shares one class for window rules and themes to single out.
exec omarchy-launch-tui --app-id=org.omarchy.agent "${command[@]}"
exec omarchy-launch-tui --app-id="$app_id" "${command[@]}"
fi
104 changes: 93 additions & 11 deletions bin/omarchy-agent-account-add
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ if [[ ${1:-} != "claude" && ${1:-} != "codex" && ${1:-} != "grok" ]]; then
fi

case "${1:-}" in
claude) provider="claude"; name="Claude"; site="claude.ai"; package="claude"; home_env="CLAUDE_CONFIG_DIR" ;;
codex) provider="codex"; name="Codex"; site="chatgpt.com"; package="codex"; home_env="CODEX_HOME" ;;
grok) provider="grok"; name="Grok"; site="x.ai"; package="grok"; home_env="GROK_HOME" ;;
claude) provider="claude"; name="Claude"; app="Claude Code"; site="claude.ai"; package="claude"; home_env="CLAUDE_CONFIG_DIR" ;;
codex) provider="codex"; name="Codex"; app="Codex"; site="chatgpt.com"; package="codex"; home_env="CODEX_HOME" ;;
grok) provider="grok"; name="Grok"; app="Grok Build"; site="x.ai"; package="grok"; home_env="GROK_HOME" ;;
*)
echo "Usage: omarchy-agent-account-add [--check] [--events] [--reauth <account>] [claude|codex|grok] [label]" >&2
exit 1
Expand All @@ -76,10 +76,28 @@ say() {
fi
}

# A signed-in agent gets a launcher of its own beside Agent, drawn by the
# icon set: Claude Code, Codex, or Grok Build, whatever the default agent is.
install_launcher() {
local entry="omarchy-agent-$provider.desktop"
mkdir -p "$HOME/.local/share/applications"
install -m 644 "$OMARCHY_PATH/default/applications/$entry" "$HOME/.local/share/applications/$entry"
update-desktop-database "$HOME/.local/share/applications" 2>/dev/null || true
}

# A first sign-in announces the agent as ready, and clicking it starts one;
# any other says which account it was.
finish() {
install_launcher
if [[ $events == "true" ]]; then
printf '@@omarchy done %s\n' "$1"
omarchy-notification-send -g 󰚩 "$1"
if [[ ${2:-} == "ready" ]]; then
omarchy-notification-send -g 󰚩 --image "$(omarchy-agent-logo "$provider")" \
"$(omarchy-i18n agents.readyToCode "$app")" "$(omarchy-i18n agents.readyToCodeBody)" \
--exec omarchy-agent --agent "$provider" --app-id="org.omarchy.$provider"
else
omarchy-notification-send -g 󰚩 --image "$(omarchy-agent-logo "$provider")" "$1"
fi
else
echo
echo "$1"
Expand All @@ -89,7 +107,7 @@ finish() {
fail() {
if [[ $events == "true" ]]; then
printf '@@omarchy error %s\n' "$1"
omarchy-notification-send -g 󰚩 -u critical "$(omarchy-i18n agents.addFailed "$name")" "$1"
omarchy-notification-send -g 󰚩 --image "$(omarchy-agent-logo "$provider")" -u critical "$(omarchy-i18n agents.addFailed "$name")" "$1"
else
echo "$1" >&2
fi
Expand All @@ -116,13 +134,77 @@ interruptible() {
wait $!
}

if omarchy-cmd-missing "$provider"; then
# The panel follows a CLI's download as `@@omarchy progress <done> <total>
# <rate>` lines, in bytes and bytes a second, read off mise's own progress,
# which it keeps printing every few seconds without a terminal too, as
# `… 12.3/166.8 MB · 6.1 MB/s`.
# Nothing between mise and awk may buffer, or the lines all arrive at the end.
# The install runs in the background behind a `wait`, like a login, so Cancel
# stops it at once; the parser is waited for so its last line lands before
# the next status does.
install_cli() {
if [[ $events != "true" ]]; then
"$@"
return
fi

local progress progress_pid status
printf '@@omarchy progress 0 0 0\n'
exec {progress}> >(awk -v RS='[\r\n]+' '
function bytes(n, unit) {
return n * (unit == "GB" ? 1e9 : unit == "MB" ? 1e6 : unit ~ /^[kK]B$/ ? 1e3 : 1)
}
match($0, /[0-9.]+( [kKMG]?B)?\/[0-9.]+ [kKMG]?B/) {
n = split(substr($0, RSTART, RLENGTH), part, /[\/ ]/)
unit = part[n]
done = n == 4 ? bytes(part[1], part[2]) : bytes(part[1], unit)
total = bytes(part[n - 1], unit)
rate = 0
if (match($0, /[0-9.]+ [kKMG]?B\/s/)) {
split(substr($0, RSTART, RLENGTH), speed, /[ \/]/)
rate = bytes(speed[1], speed[2])
}
printf "@@omarchy progress %d %d %d\n", done, total, rate
fflush()
}')
progress_pid=$!
"$@" >&"$progress" 2>&1 </dev/null &
wait $!
status=$?
exec {progress}>&-
wait "$progress_pid"
return "$status"
}

# Omarchy declares the agent CLIs as lazy mise tools, and wraps their commands
# to run the selected account, so a command on PATH says nothing about whether
# the CLI is there: the first run of a lazy tool downloads it, silently. Left
# to the login, that download looks like the sign-in hanging, so it happens
# here, where the panel can show it. A CLI counts as there when mise has it,
# or when one is on PATH outside mise's wrappers and shims (installed some
# other way). Installing a declared tool leaves the user's config alone; a
# user who opted out of the defaults selects it instead.
cli_missing() {
mise where "$package" &>/dev/null && return 1

local mise_data=${MISE_DATA_DIR:-${XDG_DATA_HOME:-$HOME/.local/share}/mise}
local dir path=""
local IFS=:
for dir in $PATH; do
if [[ $dir != "$mise_data/command-wrappers/bin" && $dir != "$mise_data/shims" ]]; then
path+="${path:+:}$dir"
fi
done
! PATH=$path type -P "$provider" >/dev/null
}

if cli_missing; then
say "$(omarchy-i18n agents.installingCli "$name")"
if [[ $events == "true" ]]; then
mise use -g "$package" >/dev/null 2>&1 || fail "$(omarchy-i18n agents.installCliFailed "$name")"
if omarchy-mise-default-tools declares "$package"; then
install_cli env MISE_MINIMUM_RELEASE_AGE=0 mise install "$package"
else
mise use -g "$package" || exit 1
fi
install_cli env MISE_MINIMUM_RELEASE_AGE=0 mise use -g "$package"
fi || fail "$(omarchy-i18n agents.installCliFailed "$name")"
fi

# Your main browser is almost certainly signed in to the account you already
Expand Down Expand Up @@ -183,7 +265,7 @@ if ! primary_signed_in "$provider"; then
printf '%s\n' "$provider" >"$HOME/.config/omarchy/defaults/agent"
fi
omarchy-agent-usage-update --force "$provider" >/dev/null 2>&1 &
finish "$(omarchy-i18n agents.signedIn "$name")"
finish "$(omarchy-i18n agents.signedIn "$name")" ready
else
fail "$(omarchy-i18n agents.signInFailed "$name")"
fi
Expand Down
21 changes: 21 additions & 0 deletions bin/omarchy-agent-logo
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/bin/bash

# omarchy:summary=Print the path of an agent's or model vendor's logo, as the agents panel draws it
# omarchy:args=<claude|codex|grok|vendor>
# omarchy:hidden=true

# The agents panel's own marks: the white logo, or its dark version under a
# light theme where there is one. A vendor without a mark of its own gets the
# local model's.
id=${1:?Usage: omarchy-agent-logo <claude|codex|grok|vendor>}
assets="$OMARCHY_PATH/shell/plugins/agents/assets"

if [[ ! $id =~ ^[a-z0-9-]+$ || ! -f $assets/$id.svg ]]; then
id="local"
fi

if [[ $(omarchy-theme-color mode 2>/dev/null) == "light" && -f $assets/$id-light.svg ]]; then
printf '%s\n' "$assets/$id-light.svg"
else
printf '%s\n' "$assets/$id.svg"
fi
2 changes: 1 addition & 1 deletion bin/omarchy-agent-usage-claude
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ from collectors import ( # noqa: E402
)

AGENT_ID = "claude"
AGENT_NAME = "Claude Code"
AGENT_NAME = "Claude"
AUTH_HELP = "Run `claude auth login` to restore authoritative usage."
USAGE_ENDPOINT = "https://api.anthropic.com/api/oauth/usage"
# Anthropic rate-limits its usage endpoint readily. A refused re-check of
Expand Down
17 changes: 13 additions & 4 deletions bin/omarchy-agent-usage-grok
Original file line number Diff line number Diff line change
Expand Up @@ -209,14 +209,16 @@ def amount(value):
# leaves out a field holding zero, so a period with nothing used yet has no
# percentage at all. A unified-billing account leaves it out too, its usage
# counted against the monthly quota instead, so it has no window here (None);
# and a period already over without one says nothing about this one.
def credits_limit(data):
# and a period already over without one says nothing about this one. A
# unified-billing account with no monthly quota yet has only this window,
# read as 0% used (unified=False).
def credits_limit(data, unified=True):
config = data["config"]
period = config["currentPeriod"]
ends = parse_time(period["end"])
used = config.get("creditUsagePercent")
if used is None:
if config.get("isUnifiedBillingUser") is True:
if unified and config.get("isUnifiedBillingUser") is True:
return None
if ends.timestamp() <= time.time():
raise ValueError("an ended period without a percentage")
Expand Down Expand Up @@ -287,7 +289,14 @@ def collect_limits(home, key, force):
credits = open_json(urllib.request.Request(CREDITS_URL, headers=headers), timeout=8)
weekly = credits_limit(credits)
if weekly is None:
limits = [monthly_limit(open_json(urllib.request.Request(MONTHLY_URL, headers=headers), timeout=8))]
monthly = open_json(urllib.request.Request(MONTHLY_URL, headers=headers), timeout=8)
# A new unified-billing account answers a monthly quota of zero; its
# weekly window, with nothing used yet, is the limit it has. Any other
# answer that can't be read is no answer, keeping the last as stale.
if amount(monthly["config"]["monthlyLimit"]) <= 0:
limits = [credits_limit(credits, unified=False)]
else:
limits = [monthly_limit(monthly)]
else:
limits = [weekly]
# A unified-billing account can carry both: the weekly credits and the
Expand Down
21 changes: 11 additions & 10 deletions bin/omarchy-capture-screenrecording
Original file line number Diff line number Diff line change
Expand Up @@ -104,23 +104,24 @@ start_webcam_overlay() {

# Try preferred 16:9 resolutions in order, use first available
local preferred_resolutions=("640x360" "1280x720" "1920x1080")
local capture_options="framerate=30"
local capture_options=(-framerate 30)
local available_formats=$(v4l2-ctl --list-formats-ext -d "$WEBCAM_DEVICE" 2>/dev/null)

for resolution in "${preferred_resolutions[@]}"; do
if echo "$available_formats" | grep -q "$resolution"; then
capture_options="video_size=$resolution,$capture_options"
capture_options=(-video_size "$resolution" "${capture_options[@]}")
break
fi
done

mpv "av://v4l2:$WEBCAM_DEVICE" \
--profile=low-latency --untimed --no-cache \
--demuxer-lavf-o="$capture_options" \
'--vf=lavfi=[crop=ih*8/9:ih]' \
--title="WebcamOverlay" --wayland-app-id="WebcamOverlay-$WEBCAM_SIZE" \
--no-border --no-audio --no-osc --osd-level=0 \
--really-quiet 9>&- &>/dev/null &
# ffplay's SDL window takes its Wayland app id from the environment, which the
# overlay's window rules match on.
SDL_VIDEO_WAYLAND_WMCLASS="WebcamOverlay-$WEBCAM_SIZE" SDL_APP_ID="WebcamOverlay-$WEBCAM_SIZE" \
ffplay -f v4l2 "${capture_options[@]}" -i "$WEBCAM_DEVICE" \
-fflags nobuffer -flags low_delay -framedrop -sync ext \
-vf 'crop=ih*8/9:ih' \
-window_title WebcamOverlay -noborder -an \
-loglevel quiet 9>&- &>/dev/null &

# The move has to settle before gpu-screen-recorder starts, or the camera is
# recorded sliding into its corner. Waiting for the map is what the blind
Expand Down Expand Up @@ -453,7 +454,7 @@ stop_screenrecording() {

omarchy-notification-send "$(omarchy-i18n capture.recordingSaved)" "$(recording_details "$filename")" \
-t 10000 "${image_args[@]}" \
--action "$(omarchy-i18n capture.recordingOpen)" mpv -- \
--action "$(omarchy-i18n capture.recordingOpen)" omaview open \
--action "$(omarchy-i18n capture.recordingCut)" omacut \
--with "$filename"

Expand Down
Loading
Loading