From edd21d9d5550d4410177a1b6c10352affaa7749a Mon Sep 17 00:00:00 2001 From: Americo Savinon Date: Tue, 1 Sep 2026 13:09:12 -0700 Subject: [PATCH 01/10] fix(editor): use subl as Sublime PATH command --- bin/omarchy-default-editor | 8 ++++---- bin/omarchy-launch-editor | 3 +++ 2 files changed, 7 insertions(+), 4 deletions(-) mode change 100755 => 100644 bin/omarchy-default-editor mode change 100755 => 100644 bin/omarchy-launch-editor diff --git a/bin/omarchy-default-editor b/bin/omarchy-default-editor old mode 100755 new mode 100644 index 25134081d36e..26e6babc702f --- a/bin/omarchy-default-editor +++ b/bin/omarchy-default-editor @@ -1,7 +1,7 @@ #!/bin/bash # omarchy:summary=Set the default editor used by omarchy-launch-editor -# omarchy:args=[code|cursor|zed|sublime_text|helix|vim|emacs|nvim] +# omarchy:args=[code|cursor|zed|sublime_text|subl|helix|vim|emacs|nvim] # omarchy:examples=omarchy default editor | omarchy default editor code | omarchy default editor helix installing=false @@ -25,13 +25,13 @@ case "$1" in code) selection="code"; editor="code"; name="VSCode"; glyph= ;; cursor) selection="cursor"; editor="cursor"; name="Cursor"; glyph= ;; zed | zeditor) selection="zed"; editor="zeditor"; name="Zed"; glyph= ;; -sublime_text) selection="sublime_text"; editor="sublime_text"; name="Sublime Text"; glyph= ;; +sublime_text | subl) selection="sublime_text"; editor="subl"; name="Sublime Text"; glyph= ;; helix) selection="helix"; editor="helix"; name="Helix"; glyph= ;; -vim) selection="vim"; editor="vim"; name="Vim"; glyph= ;; +vim) selection="vim"; editor="vim"; name="Vim"; glyph= ;; emacs) selection="emacs"; editor="emacs"; name="Emacs"; glyph= ;; nvim) selection="nvim"; editor="nvim"; name="Neovim"; glyph= ;; *) - echo "Usage: omarchy-default-editor " + echo "Usage: omarchy-default-editor " exit 1 ;; esac diff --git a/bin/omarchy-launch-editor b/bin/omarchy-launch-editor old mode 100755 new mode 100644 index 8a69dabd4bbc..92d4b0bcdafb --- a/bin/omarchy-launch-editor +++ b/bin/omarchy-launch-editor @@ -18,6 +18,9 @@ else editor="nvim" fi +# sublime-text-4 puts `subl` on PATH, not the desktop id sublime_text. +[[ $editor == "sublime_text" ]] && editor="subl" + omarchy-cmd-present "$editor" || editor="nvim" case "${editor##*/}" in From a39e30e66369ad47f087f87529ae1dd75aea9ba8 Mon Sep 17 00:00:00 2001 From: Americo Savinon Date: Tue, 1 Sep 2026 13:13:29 -0700 Subject: [PATCH 02/10] fix(editor): check Sublime via subl and fix default-apps test mock --- default/omarchy/omarchy-menu.jsonc | 372 +---------------------------- test/shell.d/default-apps-test.sh | 315 +----------------------- 2 files changed, 2 insertions(+), 685 deletions(-) mode change 100755 => 100644 test/shell.d/default-apps-test.sh diff --git a/default/omarchy/omarchy-menu.jsonc b/default/omarchy/omarchy-menu.jsonc index 30ee45fcb198..c0e226c9d1c2 100644 --- a/default/omarchy/omarchy-menu.jsonc +++ b/default/omarchy/omarchy-menu.jsonc @@ -1,371 +1 @@ -{ - // Omarchy menu definition. - // JSONC is used for Neovim-friendly highlighting, comments, and trailing commas. - // IDs are object keys. Dotted IDs imply hierarchy: trigger.share.file belongs - // under trigger.share. - // Kind is inferred: action -> action, target -> link, otherwise submenu. - // Dotted IDs define the tree. provider:"name" points a submenu at one of - // the shell's providers (the providers map in shell/plugins/menu/Menu.qml); - // new provider names cannot be declared here. See docs/menu.md. - // Optional fields: - // aliases alternate `omarchy menu summon ` routes; also searchable. - // Reserved for established names users already type; new entries - // should not normally add any. - // iconFont font family used for the icon glyph, when it differs from the menu font - // title header text shown when the submenu is open; defaults to label - // when shell condition; hide row when it fails - // checked shell condition; append ✓ when it succeeds - // disabled shell condition; when it succeeds the row stays listed but - // goes dim, takes a ✓ and can no longer be selected. Install - // rows use it so software already on the machine reads as - // installed instead of vanishing from the list. - - // Root Menu - "apps": {"icon":"󰀻","label":"Apps","aliases":["app","applications"],"provider":"apps"}, - "learn": {"icon":"󰧑","label":"Learn"}, - "trigger": {"icon":"󱓞","label":"Trigger"}, - "style": {"icon":"","label":"Style"}, - "setup": {"icon":"","label":"Setup","aliases":["settings"]}, - "install": {"icon":"󰉉","label":"Install"}, - "remove": {"icon":"󰭌","label":"Remove","aliases":["uninstall"]}, - "update": {"icon":"","label":"Update","aliases":["restart","refresh"]}, - "about": {"icon":"","label":"About","action":"omarchy-launch-about"}, - "system": {"icon":"","label":"System","aliases":["power-menu"]}, - - // System - "system.screensaver": {"icon":"󱄄","label":"Screensaver","action":"omarchy-launch-screensaver force"}, - "system.lock": {"icon":"","label":"Lock","action":"omarchy-system-lock"}, - "system.suspend": {"icon":"󰒲","label":"Suspend","when":"! omarchy-toggle-enabled suspend-off","action":"systemctl suspend"}, - "system.hibernate": {"icon":"󰤁","label":"Hibernate","when":"omarchy-hibernation-available","action":"systemctl hibernate"}, - "system.logout": {"icon":"󰍃","label":"Logout","action":"omarchy-system-logout"}, - "system.reboot": {"icon":"󰜉","label":"Reboot","action":"omarchy-system-reboot"}, - "system.shutdown": {"icon":"󰐥","label":"Shutdown","action":"omarchy-system-shutdown"}, - - // Learn - "learn.keybindings": {"icon":"","label":"Keybindings","action":"omarchy-menu-keybindings"}, - "learn.omarchy": {"icon":"","label":"Omarchy","action":"omarchy-launch-webapp 'https://omarchy.org/manual/'"}, - "learn.hyprland": {"icon":"","label":"Hyprland","action":"omarchy-launch-webapp 'https://wiki.hypr.land/'"}, - "learn.arch": {"icon":"󰣇","label":"Arch","action":"omarchy-launch-webapp 'https://wiki.archlinux.org/title/Main_page'"}, - "learn.neovim": {"icon":"","label":"Neovim","action":"omarchy-launch-webapp 'https://www.lazyvim.org/keymaps'"}, - "learn.bash": {"icon":"󱆃","label":"Bash","action":"omarchy-launch-webapp 'https://devhints.io/bash'"}, - "learn.tmux-keybindings": {"icon":"","label":"Tmux","action":"omarchy-menu-tmux-keybindings"}, - "learn.herdr-keybindings": {"icon":"","label":"Herdr","action":"omarchy-menu-herdr-keybindings"}, - "learn.community": {"icon":"󰙯","label":"Community","action":"omarchy-launch-discord-community"}, - - // Trigger - "trigger.emoji": {"icon":"","label":"Emoji","aliases":["emoji","emojis"],"action":"omarchy-menu-emoji"}, - "trigger.reminder": {"icon":"󰢌","label":"Reminder","aliases":["reminder"]}, - "trigger.capture": {"icon":"","label":"Capture","aliases":["capture","screenshot","screenrecord","screen-record","screenrecording"]}, - "trigger.capture.screenshot": {"icon":"","label":"Screenshot","action":"omarchy-capture-screenshot"}, - "trigger.capture.screenrecord.stop": {"icon":"","label":"Stop Screenrecording","when":"pgrep -f '^gpu-screen-recorder'","action":"omarchy-capture-screenrecording --stop-recording"}, - "trigger.capture.screenrecord": {"icon":"","label":"Screenrecord"}, - "trigger.capture.text": {"icon":"󰴑","label":"Text","action":"omarchy-capture-text"}, - "trigger.capture.qr": {"icon":"󰐲","label":"QR Code","action":"omarchy-capture-qr"}, - "trigger.capture.color": {"icon":"󰃉","label":"Color","action":"pkill hyprpicker || hyprpicker -a"}, - "trigger.capture.screenrecord.no-audio": {"icon":"","label":"With no audio","action":"omarchy-capture-screenrecording"}, - "trigger.capture.screenrecord.desktop-audio": {"icon":"","label":"With desktop audio","action":"omarchy-capture-screenrecording --with-desktop-audio"}, - "trigger.capture.screenrecord.microphone": {"icon":"","label":"With desktop + microphone audio","action":"omarchy-capture-screenrecording --with-desktop-audio --with-microphone-audio"}, - "trigger.capture.screenrecord.webcam": {"icon":"","label":"With desktop + microphone audio + webcam","when":"omarchy-hw-webcam","action":"omarchy-capture-screenrecording-with-webcam"}, - "trigger.transcode": {"icon":"󰧸","label":"Transcode","action":"omarchy-transcode"}, - "trigger.share": {"icon":"","label":"Share","aliases":["share"]}, - "trigger.toggle": {"icon":"󰔎","label":"Toggle","aliases":["toggle","toggles"]}, - "trigger.hardware": {"icon":"","label":"Hardware","aliases":["hardware","hw"]}, - "trigger.tests": {"icon":"󰓅","label":"Speed Test"}, - "trigger.hardware.laptop-display": {"icon":"󰛧","label":"Laptop Display","when":"omarchy-hw-laptop","action":"omarchy-hyprland-monitor-internal toggle"}, - "trigger.hardware.mirror-display": {"icon":"󰍹","label":"Mirror Display","when":"omarchy-hw-laptop","action":"omarchy-hyprland-monitor-internal-mirror toggle"}, - "trigger.hardware.hybrid-gpu": {"icon":"","label":"Hybrid GPU","when":"omarchy-hw-hybrid-gpu","action":"omarchy-launch-floating-terminal-with-presentation omarchy-toggle-hybrid-gpu"}, - "trigger.hardware.touchpad": {"icon":"󰟸","label":"Touchpad","when":"omarchy-hw-touchpad","action":"omarchy-toggle-touchpad"}, - "trigger.hardware.touchpad-haptics": {"icon":"󰌌","label":"Touchpad Haptics"}, - "trigger.hardware.touchpad-haptics.low": {"icon":"󰌌","label":"low","when":"omarchy-hw-dell-xps-haptic-touchpad && omarchy-cmd-present dell-xps-touchpad-haptics","checked":"[[ \"$(dell-xps-touchpad-haptics get)\" == \"low\" ]]","action":"dell-xps-touchpad-haptics set low"}, - "trigger.hardware.touchpad-haptics.mid": {"icon":"󰌌","label":"mid","when":"omarchy-hw-dell-xps-haptic-touchpad && omarchy-cmd-present dell-xps-touchpad-haptics","checked":"[[ \"$(dell-xps-touchpad-haptics get)\" == \"mid\" ]]","action":"dell-xps-touchpad-haptics set mid"}, - "trigger.hardware.touchpad-haptics.high": {"icon":"󰌌","label":"high","when":"omarchy-hw-dell-xps-haptic-touchpad && omarchy-cmd-present dell-xps-touchpad-haptics","checked":"[[ \"$(dell-xps-touchpad-haptics get)\" == \"high\" ]]","action":"dell-xps-touchpad-haptics set high"}, - "trigger.hardware.touchscreen": {"icon":"󰆽","label":"Touchscreen","when":"omarchy-hw-touchscreen","action":"omarchy-toggle-touchscreen"}, - "trigger.reminder.set": {"icon":"󰢌","label":"Set one","aliases":["reminder-set","remind"],"action":"omarchy-reminder -i"}, - "trigger.reminder.show": {"icon":"󰢌","label":"Show all","action":"omarchy-reminder show"}, - "trigger.reminder.clear": {"icon":"󰢌","label":"Clear all","action":"omarchy-reminder clear"}, - "trigger.share.clipboard": {"icon":"","label":"Clipboard","action":"omarchy-menu-share clipboard"}, - "trigger.share.file": {"icon":"","label":"File","action":"omarchy-menu-share file"}, - "trigger.share.folder": {"icon":"","label":"Folder","action":"omarchy-menu-share folder"}, - "trigger.share.receive": {"icon":"󰥦","label":"Receive","action":"uwsm-app -- localsend"}, - "trigger.toggle.idle-lock": {"icon":"󰅶","label":"Stay Awake","action":"omarchy-toggle-idle"}, - "trigger.toggle.notifications": {"icon":"󰂛","label":"Notifications","action":"omarchy-toggle-notification-silencing"}, - "trigger.toggle.crash-capture": {"icon":"󱚡","label":"Crash Capture","action":"omarchy-toggle-crash-capture"}, - "trigger.toggle.screensaver": {"icon":"󱄄","label":"Screensaver","action":"omarchy-toggle-screensaver"}, - "trigger.toggle.nightlight": {"icon":"󰔎","label":"Nightlight","action":"omarchy-toggle-nightlight"}, - "trigger.toggle.top-bar": {"icon":"󰍜","label":"Menu Bar","action":"omarchy-toggle-bar"}, - "trigger.toggle.battery-percentage": {"icon":"󰁹","label":"Battery Percentage","when":"omarchy-hw-laptop","action":"omarchy-shell omarchy.power togglePercentage"}, - "trigger.toggle.workspace-layout": {"icon":"󱂬","label":"Workspace Layout","action":"omarchy-hyprland-workspace-layout-toggle"}, - "trigger.toggle.window-gaps": {"icon":"","label":"Window Gaps","action":"omarchy-hyprland-window-gaps-toggle"}, - "trigger.toggle.one-window-ratio": {"icon":"","label":"1-Window Ratio","action":"omarchy-hyprland-window-single-square-aspect-toggle"}, - "trigger.tests.network-speedtest": {"icon":"󰓅","label":"Network Speed Test","action":"omarchy-shell shell summon omarchy.speedtest"}, - "trigger.tests.disk-speedtest": {"icon":"󰋊","label":"Disk Speed Test","action":"omarchy-shell shell summon omarchy.disk-speedtest"}, - - // Style - "style.theme": {"icon":"󰸌","label":"Theme","aliases":["theme","themes"],"action":"theme=$(omarchy-theme-switcher); [[ -n $theme ]] && omarchy-theme-set \"$theme\""}, - "style.background": {"icon":"","label":"Background","aliases":["background","wallpaper"],"action":"background=$(omarchy-theme-bg-switcher); [[ -n $background ]] && omarchy-theme-bg-set \"$background\""}, - "style.unlock": {"icon":"󰟵","label":"Unlock","aliases":["unlock"],"action":"unlock=$(omarchy-plymouth-switcher); if [[ $unlock == default ]]; then omarchy-launch-floating-terminal-with-presentation omarchy-plymouth-reset; elif [[ -n $unlock ]]; then omarchy-launch-floating-terminal-with-presentation \"omarchy-plymouth-set-by-theme $(printf %q \"$unlock\")\"; fi"}, - "style.font": {"icon":"","label":"Font","provider":"fonts"}, - "style.bar": {"icon":"󰍜","label":"Menu Bar"}, - "style.bar.position": {"icon":"","label":"Position"}, - "style.bar.transparency": {"icon":"󰂵","label":"Transparency","action":"omarchy-bar transparent toggle"}, - "style.hyprland": {"icon":"","label":"Hyprland","action":"omarchy-launch-config-editor \"$HOME/.config/hypr/looknfeel.lua\""}, - "style.screensaver": {"icon":"󱄄","label":"Screensaver"}, - "style.about": {"icon":"","label":"About"}, - "style.bar.position.top": {"icon":"󰁝","label":"Top","action":"omarchy-bar position top"}, - "style.bar.position.bottom": {"icon":"󰁅","label":"Bottom","action":"omarchy-bar position bottom"}, - "style.bar.position.left": {"icon":"󰁍","label":"Left","action":"omarchy-bar position left"}, - "style.bar.position.right": {"icon":"󰁔","label":"Right","action":"omarchy-bar position right"}, - "style.about.text": {"icon":"","label":"Edit Text","action":"omarchy-branding-about text"}, - "style.about.image": {"icon":"","label":"Set From Image","action":"omarchy-branding-about image"}, - "style.about.default": {"icon":"","label":"Restore Default","action":"omarchy-branding-about reset"}, - "style.screensaver.text": {"icon":"","label":"Edit Text","action":"omarchy-branding-screensaver text"}, - "style.screensaver.image": {"icon":"","label":"Set From Image","action":"omarchy-branding-screensaver image"}, - "style.screensaver.default": {"icon":"","label":"Restore Default","action":"omarchy-branding-screensaver reset"}, - - // Setup - "setup.monitors": {"icon":"󰍹","label":"Monitors","action":"omarchy-launch-config-editor \"$HOME/.config/hypr/monitors.lua\""}, - "setup.keybindings": {"icon":"","label":"Keybindings","when":"[[ -f ~/.config/hypr/bindings.lua ]]","action":"omarchy-launch-config-editor \"$HOME/.config/hypr/bindings.lua\""}, - "setup.input": {"icon":"","label":"Input","when":"[[ -f ~/.config/hypr/input.lua ]]","action":"omarchy-launch-config-editor \"$HOME/.config/hypr/input.lua\""}, - "setup.network": {"icon":"󰛳","label":"Network","aliases":["network"]}, - "setup.network.dns": {"icon":"󰇖","label":"DNS","aliases":["dns"]}, - "setup.network.dns.dhcp": {"icon":"󰩟","label":"DHCP","checked":"[[ \"$(omarchy-dns)\" == \"DHCP\" ]]","action":"omarchy-dns DHCP"}, - "setup.network.dns.cloudflare": {"icon":"󰅟","label":"Cloudflare","checked":"[[ \"$(omarchy-dns)\" == \"Cloudflare\" ]]","action":"omarchy-dns Cloudflare"}, - "setup.network.dns.google": {"icon":"󰊭","label":"Google","checked":"[[ \"$(omarchy-dns)\" == \"Google\" ]]","action":"omarchy-dns Google"}, - "setup.network.dns.custom": {"icon":"","label":"Custom","checked":"[[ \"$(omarchy-dns)\" == \"Custom\" ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-dns Custom'"}, - "setup.network.qr": {"icon":"󰐲","label":"QR Code","aliases":["wifi-qr"],"when":"[[ $(omarchy-network-status) == wifi* ]]","action":"omarchy-shell shell summon omarchy.wifiqr"}, - "setup.default": {"icon":"","label":"Defaults","aliases":["default","defaults"]}, - "setup.default.agent": {"icon":"󰚩","label":"Agent","title":"Default Agent"}, - "setup.default.agent.agy": {"icon":"󰫢","label":"Antigravity","checked":"[[ \"$(omarchy-default-agent)\" == \"agy\" ]]","action":"omarchy-default-agent agy"}, - "setup.default.agent.claude": {"icon":"󰛄","label":"Claude","checked":"[[ \"$(omarchy-default-agent)\" == \"claude\" ]]","action":"omarchy-default-agent claude"}, - "setup.default.agent.codex": {"icon":"","iconFont":"omarchy","label":"Codex","checked":"[[ \"$(omarchy-default-agent)\" == \"codex\" ]]","action":"omarchy-default-agent codex"}, - "setup.default.agent.copilot": {"icon":"","label":"Copilot","checked":"[[ \"$(omarchy-default-agent)\" == \"copilot\" ]]","action":"omarchy-default-agent copilot"}, - "setup.default.agent.crush": {"icon":"󰋑","label":"Crush","checked":"[[ \"$(omarchy-default-agent)\" == \"crush\" ]]","action":"omarchy-default-agent crush"}, - "setup.default.agent.grok": {"icon":"","iconFont":"omarchy","label":"Grok","checked":"[[ \"$(omarchy-default-agent)\" == \"grok\" ]]","action":"omarchy-default-agent grok"}, - "setup.default.agent.hermes": {"icon":"","iconFont":"omarchy","label":"Hermes","checked":"[[ \"$(omarchy-default-agent)\" == \"hermes\" ]]","action":"omarchy-default-agent hermes"}, - "setup.default.agent.omp": {"icon":"","iconFont":"omarchy","label":"omp","checked":"[[ \"$(omarchy-default-agent)\" == \"omp\" ]]","action":"omarchy-default-agent omp"}, - "setup.default.agent.opencode": {"icon":"","iconFont":"omarchy","label":"OpenCode","checked":"[[ \"$(omarchy-default-agent)\" == \"opencode\" ]]","action":"omarchy-default-agent opencode"}, - "setup.default.agent.ori": {"icon":"","iconFont":"omarchy","label":"Ori","checked":"[[ \"$(omarchy-default-agent)\" == \"ori\" ]]","action":"omarchy-default-agent ori"}, - "setup.default.agent.pi": {"icon":"","iconFont":"omarchy","label":"Pi","checked":"[[ \"$(omarchy-default-agent)\" == \"pi\" ]]","action":"omarchy-default-agent pi"}, - "setup.default.browser": {"icon":"","label":"Browser","title":"Default Browser"}, - "setup.default.browser.chromium": {"icon":"","label":"Chromium","checked":"[[ \"$(omarchy-default-browser)\" == \"chromium\" ]]","action":"omarchy-default-browser chromium"}, - "setup.default.browser.chrome": {"icon":"󰊯","label":"Chrome","checked":"[[ \"$(omarchy-default-browser)\" == \"chrome\" ]]","action":"omarchy-default-browser chrome"}, - "setup.default.browser.brave": {"icon":"󰖟","label":"Brave","checked":"[[ \"$(omarchy-default-browser)\" == \"brave\" ]]","action":"omarchy-default-browser brave"}, - "setup.default.browser.brave-origin": {"icon":"󰖟","label":"Brave Origin","checked":"[[ \"$(omarchy-default-browser)\" == \"brave-origin\" ]]","action":"omarchy-default-browser brave-origin"}, - "setup.default.browser.edge": {"icon":"󰇩","label":"Edge","checked":"[[ \"$(omarchy-default-browser)\" == \"edge\" ]]","action":"omarchy-default-browser edge"}, - "setup.default.browser.firefox": {"icon":"","label":"Firefox","checked":"[[ \"$(omarchy-default-browser)\" == \"firefox\" ]]","action":"omarchy-default-browser firefox"}, - "setup.default.browser.zen": {"icon":"󰖟","label":"Zen","checked":"[[ \"$(omarchy-default-browser)\" == \"zen\" ]]","action":"omarchy-default-browser zen"}, - "setup.default.terminal": {"icon":"","label":"Terminal","title":"Default Terminal"}, - "setup.default.terminal.alacritty": {"icon":"","label":"Alacritty","checked":"[[ \"$(omarchy-default-terminal)\" == \"alacritty\" ]]","action":"omarchy-default-terminal alacritty"}, - "setup.default.terminal.foot": {"icon":"","label":"Foot","checked":"[[ \"$(omarchy-default-terminal)\" == \"foot\" ]]","action":"omarchy-default-terminal foot"}, - "setup.default.terminal.ghostty": {"icon":"","label":"Ghostty","checked":"[[ \"$(omarchy-default-terminal)\" == \"ghostty\" ]]","action":"omarchy-default-terminal ghostty"}, - "setup.default.terminal.kitty": {"icon":"","label":"Kitty","checked":"[[ \"$(omarchy-default-terminal)\" == \"kitty\" ]]","action":"omarchy-default-terminal kitty"}, - "setup.default.editor": {"icon":"","label":"Editor","title":"Default Editor"}, - "setup.default.editor.neovim": {"icon":"","label":"Neovim","checked":"[[ \"$(omarchy-default-editor)\" == \"nvim\" ]]","action":"omarchy-default-editor nvim"}, - "setup.default.editor.vscode": {"icon":"","label":"VSCode","checked":"[[ \"$(omarchy-default-editor)\" == \"code\" ]]","action":"omarchy-default-editor code"}, - "setup.default.editor.cursor": {"icon":"","label":"Cursor","checked":"[[ \"$(omarchy-default-editor)\" == \"cursor\" ]]","action":"omarchy-default-editor cursor"}, - "setup.default.editor.zed": {"icon":"","label":"Zed","checked":"[[ \"$(omarchy-default-editor)\" == \"zeditor\" ]]","action":"omarchy-default-editor zed"}, - "setup.default.editor.sublime": {"icon":"","label":"Sublime Text","checked":"[[ \"$(omarchy-default-editor)\" == \"sublime_text\" ]]","action":"omarchy-default-editor sublime_text"}, - "setup.default.editor.helix": {"icon":"","label":"Helix","checked":"[[ \"$(omarchy-default-editor)\" == \"helix\" ]]","action":"omarchy-default-editor helix"}, - "setup.default.editor.vim": {"icon":"","label":"Vim","checked":"[[ \"$(omarchy-default-editor)\" == \"vim\" ]]","action":"omarchy-default-editor vim"}, - "setup.default.editor.emacs": {"icon":"","label":"Emacs","checked":"[[ \"$(omarchy-default-editor)\" == \"emacs\" ]]","action":"omarchy-default-editor emacs"}, - "setup.plugin": {"icon":"󰐱","label":"Plugins","aliases":["plugin","plugins"]}, - "setup.plugin.enable": {"icon":"󰄬","label":"Enable Plugin","action":"omarchy-menu-plugin enable"}, - "setup.plugin.disable": {"icon":"󰅖","label":"Disable Plugin","action":"omarchy-menu-plugin disable"}, - "setup.plugin.add": {"icon":"󰖟","label":"Add Plugin","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-plugin-add'"}, - "setup.plugin.clone": {"icon":"󰆏","label":"Clone Plugin","action":"omarchy-menu-plugin clone"}, - "setup.plugin.remove": {"icon":"󰭌","label":"Remove Plugin","when":"compgen -G \"$HOME/.config/omarchy/plugins/*/manifest.json\"","action":"omarchy-menu-plugin remove"}, - "setup.security": {"icon":"","label":"Security"}, - "setup.config": {"icon":"","label":"Config"}, - "setup.security.fingerprint": {"icon":"󰈷","label":"Fingerprint","when":"omarchy-hw-fingerprint","action":"omarchy-launch-floating-terminal-with-presentation omarchy-setup-security-fingerprint"}, - "setup.security.fido2": {"icon":"","label":"Fido2","action":"omarchy-launch-floating-terminal-with-presentation omarchy-setup-security-fido2"}, - "setup.security.sshd": {"icon":"󰣀","label":"SSHD","action":"omarchy-launch-floating-terminal-with-presentation omarchy-setup-security-sshd"}, - "setup.security.passwordless-sudo": {"icon":"󰟵","label":"Passwordless Sudo","action":"omarchy-launch-floating-terminal-with-presentation omarchy-sudo-passwordless"}, - "setup.security.sudoless-docker": {"icon":"󰡨","label":"Sudoless Docker","when":"omarchy-sudo-docker --configured","action":"omarchy-launch-floating-terminal-with-presentation omarchy-setup-security-sudoless-docker"}, - "setup.config.hyprland": {"icon":"","label":"Hyprland","action":"omarchy-launch-config-editor \"$HOME/.config/hypr/hyprland.lua\""}, - "setup.config.hyprsunset": {"icon":"","label":"Hyprsunset","action":"omarchy-launch-config-editor ~/.config/hypr/hyprsunset.conf && omarchy-restart-hyprsunset"}, - "setup.config.xcompose": {"icon":"󰞅","label":"XCompose","action":"omarchy-launch-config-editor ~/.XCompose && omarchy-restart-xcompose"}, - "setup.direct-boot": {"icon":"","label":"Direct Boot","action":"omarchy-launch-floating-terminal-with-presentation omarchy-setup-direct-boot"}, - "setup.reset": {"icon":"󰑓","label":"Reset Computer","when":"[[ $(findmnt -no FSTYPE /) == btrfs ]]","action":"omarchy-launch-floating-terminal-with-presentation omarchy-system-factory-reset"}, - - // Install - "install.package": {"icon":"󰣇","label":"Package","action":"xdg-terminal-exec --app-id=org.omarchy.terminal omarchy-pkg-install"}, - "install.aur": {"icon":"󰣇","label":"AUR","action":"xdg-terminal-exec --app-id=org.omarchy.terminal omarchy-pkg-aur-install"}, - "install.ai": {"icon":"󱚤","label":"AI"}, - "install.service": {"icon":"","label":"Service"}, - "install.development": {"icon":"󰵮","label":"Development"}, - "install.editor": {"icon":"","label":"Editor"}, - "install.style": {"icon":"","label":"Style"}, - "install.style.theme": {"icon":"󰸌","label":"Theme","action":"omarchy-launch-floating-terminal-with-presentation omarchy-theme-install"}, - "install.style.background": {"icon":"","label":"Background","action":"omarchy-theme-bg-install"}, - "install.style.font": {"icon":"","label":"Font"}, - "install.style.font.cascadia": {"icon":"","label":"Cascadia Mono","action":"omarchy-install-font 'Cascadia Mono' ttf-cascadia-mono-nerd 'CaskaydiaMono Nerd Font'"}, - "install.style.font.meslo": {"icon":"","label":"Meslo LG Mono","action":"omarchy-install-font 'Meslo LG Mono' ttf-meslo-nerd 'MesloLGL Nerd Font'"}, - "install.style.font.fira": {"icon":"","label":"Fira Code","action":"omarchy-install-font 'Fira Code' ttf-firacode-nerd 'FiraCode Nerd Font'"}, - "install.style.font.victor": {"icon":"","label":"Victor Code","action":"omarchy-install-font 'Victor Code' ttf-victor-mono-nerd 'VictorMono Nerd Font'"}, - "install.style.font.bitstream": {"icon":"","label":"Bitstream Vera Mono","action":"omarchy-install-font 'Bitstream Vera Code' ttf-bitstream-vera-mono-nerd 'BitstromWera Nerd Font'"}, - "install.style.font.iosevka": {"icon":"","label":"Iosevka","action":"omarchy-install-font Iosevka ttf-iosevka-nerd 'Iosevka Nerd Font Mono'"}, - "install.gaming": {"icon":"","label":"Gaming"}, - "install.browser": {"icon":"","label":"Browser"}, - "install.webapp": {"icon":"","label":"Web App","action":"omarchy-launch-floating-terminal-with-presentation omarchy-webapp-install"}, - "install.terminal": {"icon":"","label":"Terminal"}, - "install.tui": {"icon":"","label":"TUI","action":"omarchy-launch-floating-terminal-with-presentation omarchy-tui-install"}, - "install.windows": {"icon":"󰍲","label":"Windows","disabled":"[[ -f $HOME/.local/share/applications/windows-vm.desktop ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-windows-vm install'"}, - "install.preinstalls": {"icon":"󰏓","label":"Preinstalls","disabled":"[[ ! -f $HOME/.local/state/omarchy/preinstalls-removed ]]","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-preinstalls"}, - "install.browser.chrome": {"icon":"","label":"Chrome","disabled":"omarchy-pkg-present google-chrome","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-browser chrome'"}, - "install.browser.edge": {"icon":"󰇩","label":"Edge","disabled":"omarchy-pkg-present microsoft-edge-stable-bin","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-browser edge'"}, - "install.browser.brave": {"icon":"","label":"Brave","disabled":"omarchy-pkg-present brave-bin","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-browser brave'"}, - "install.browser.brave-origin": {"icon":"","label":"Brave Origin","disabled":"omarchy-pkg-present brave-origin-bin","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-browser brave-origin'"}, - "install.browser.firefox": {"icon":"","label":"Firefox","disabled":"omarchy-pkg-present firefox","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-browser firefox'"}, - "install.browser.zen": {"icon":"󰖟","label":"Zen","disabled":"omarchy-pkg-present zen-browser-bin","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-browser zen'"}, - "install.service.1password": {"icon":"󰢁","label":"1Password","disabled":"omarchy-pkg-present 1password","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-service-1password"}, - "install.service.dropbox": {"icon":"","label":"Dropbox","disabled":"omarchy-pkg-present dropbox","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-service-dropbox"}, - "install.service.spotify": {"icon":"󰓇","label":"Spotify","disabled":"omarchy-pkg-present spotify","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-service-spotify"}, - "install.service.signal": {"icon":"󰭹","label":"Signal","disabled":"omarchy-pkg-present signal-desktop","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-service-signal"}, - "install.service.tailscale": {"icon":"","label":"Tailscale","disabled":"omarchy-pkg-present tailscale","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-service-tailscale"}, - "install.service.nordvpn": {"icon":"󱇱","label":"NordVPN","disabled":"omarchy-pkg-present nordvpn-bin","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-service-nordvpn"}, - "install.service.once": {"icon":"󰏖","label":"ONCE","disabled":"omarchy-pkg-present once-bin","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-service-once"}, - "install.service.bitwarden": {"icon":"󰟵","label":"Bitwarden","disabled":"omarchy-pkg-present bitwarden","action":"omarchy-install-and-launch Bitwarden 'bitwarden bitwarden-cli' bitwarden"}, - "install.service.chromium-account": {"icon":"","label":"Chromium Account","when":"[[ -f ~/.config/chromium-flags.conf ]]","disabled":"grep -q oauth2-client-id ~/.config/chromium-flags.conf","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-chromium-google-account"}, - "install.editor.vscode": {"icon":"","label":"VSCode","disabled":"omarchy-pkg-present visual-studio-code-bin","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-editor-vscode"}, - "install.editor.cursor": {"icon":"","label":"Cursor","disabled":"omarchy-pkg-present cursor-bin","action":"omarchy-install-and-launch Cursor cursor-bin cursor"}, - "install.editor.zed": {"icon":"","label":"Zed","disabled":"omarchy-pkg-present zed","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-editor-zed"}, - "install.editor.sublime": {"icon":"","label":"Sublime Text","disabled":"omarchy-pkg-present sublime-text-4","action":"omarchy-install-and-launch 'Sublime Text' sublime-text-4 sublime_text"}, - "install.editor.helix": {"icon":"","label":"Helix","disabled":"omarchy-pkg-present helix","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-editor-helix"}, - "install.editor.vim": {"icon":"","label":"Vim","disabled":"omarchy-pkg-present vim","action":"omarchy-install-app Vim vim"}, - "install.editor.emacs": {"icon":"","label":"Emacs","disabled":"omarchy-pkg-present omarchy-emacs","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-editor-emacs"}, - "install.terminal.alacritty": {"icon":"","label":"Alacritty","disabled":"omarchy-pkg-present alacritty","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-terminal alacritty'"}, - "install.terminal.foot": {"icon":"","label":"Foot","disabled":"omarchy-pkg-present foot","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-terminal foot'"}, - "install.terminal.ghostty": {"icon":"","label":"Ghostty","disabled":"omarchy-pkg-present ghostty","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-terminal ghostty'"}, - "install.terminal.kitty": {"icon":"","label":"Kitty","disabled":"omarchy-pkg-present kitty","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-terminal kitty'"}, - "install.ai.chatgpt": {"icon":"","iconFont":"omarchy","label":"ChatGPT Desktop","disabled":"omarchy-pkg-present openai-codex-desktop","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-ai-chatgpt"}, - "install.ai.dictation": {"icon":"","label":"Dictation","disabled":"omarchy-pkg-present voxtype-bin","action":"omarchy-launch-floating-terminal-with-presentation omarchy-voxtype-install"}, - "install.ai.grok-bot": {"icon":"","iconFont":"omarchy","label":"Grok Bot","disabled":"omarchy-pkg-present grok-bot","action":"omarchy-install-and-launch 'Grok Bot' grok-bot grok-bot"}, - "install.ai.hermes": {"icon":"","iconFont":"omarchy","label":"Hermes Desktop","disabled":"omarchy-pkg-present hermes-desktop","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-ai-hermes"}, - "install.ai.lm-studio": {"icon":"","iconFont":"omarchy","label":"LM Studio","disabled":"omarchy-pkg-present lmstudio-bin","action":"omarchy-install-app 'LM Studio' lmstudio-bin"}, - "install.ai.ollama": {"icon":"","iconFont":"omarchy","label":"Ollama","disabled":"omarchy-cmd-present ollama","action":"if omarchy-cmd-present nvidia-smi; then ollama_pkg=ollama-cuda; elif omarchy-cmd-present rocminfo; then ollama_pkg=ollama-rocm; else ollama_pkg=ollama; fi; omarchy-install-app Ollama \"$ollama_pkg\""}, - "install.ai.t3-code": {"icon":"","iconFont":"omarchy","label":"T3 Code","disabled":"omarchy-pkg-present t3code-bin","action":"omarchy-install-and-launch 'T3 Code' t3code-bin t3code"}, - "install.gaming.steam": {"icon":"","label":"Steam","disabled":"omarchy-pkg-present steam","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-gaming-steam"}, - "install.gaming.retroarch": {"icon":"󰯉","label":"RetroArch","disabled":"omarchy-pkg-present retroarch","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-gaming-retroarch"}, - "install.gaming.minecraft": {"icon":"󰍳","label":"Minecraft","disabled":"omarchy-pkg-present minecraft-launcher","action":"omarchy-install-and-launch Minecraft minecraft-launcher minecraft-launcher"}, - "install.gaming.geforce-now": {"icon":"󰢹","label":"NVIDIA GeForce NOW","disabled":"flatpak info com.nvidia.geforcenow","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-gaming-geforce-now"}, - "install.gaming.xbox-cloud": {"icon":"","label":"Xbox Cloud Gaming","disabled":"[[ -f \"$HOME/.local/share/applications/Xbox Cloud Gaming.desktop\" ]]","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-gaming-xbox-cloud"}, - "install.gaming.xbox-controllers": {"icon":"󰂯","label":"Xbox Controllers","disabled":"omarchy-pkg-present xpadneo-dkms","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-gaming-xbox-controllers"}, - "install.gaming.battlenet": {"icon":"","label":"Battle.net","disabled":"[[ -d $HOME/Games/battlenet ]]","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-gaming-battlenet"}, - "install.gaming.lutris": {"icon":"","label":"Lutris","disabled":"omarchy-pkg-present lutris","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-gaming-lutris"}, - "install.gaming.heroic": {"icon":"󱓟","label":"Heroic (Epic Games)","disabled":"omarchy-pkg-present heroic-games-launcher-bin","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-gaming-heroic"}, - "install.gaming.retro-launcher": {"icon":"󰯉","label":"RetroArch Game Launcher","action":"omarchy-games-retro-install"}, - "install.development.rails": {"icon":"󰫏","label":"Ruby on Rails","disabled":"[[ -d $HOME/.local/share/mise/installs/ruby ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-dev-env ruby'"}, - "install.development.docker-dbs": {"icon":"","label":"Docker DB","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-docker-dbs"}, - "install.development.javascript": {"icon":"","label":"JavaScript"}, - "install.development.go": {"icon":"","label":"Go","disabled":"[[ -d $HOME/.local/share/mise/installs/go ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-dev-env go'"}, - "install.development.php": {"icon":"","label":"PHP"}, - "install.development.python": {"icon":"","label":"Python","disabled":"[[ -d $HOME/.local/share/mise/installs/python ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-dev-env python'"}, - "install.development.elixir": {"icon":"","label":"Elixir"}, - "install.development.zig": {"icon":"","label":"Zig","disabled":"[[ -d $HOME/.local/share/mise/installs/zig ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-dev-env zig'"}, - "install.development.rust": {"icon":"","label":"Rust","disabled":"[[ -d $HOME/.rustup ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-dev-env rust'"}, - "install.development.java": {"icon":"","label":"Java","disabled":"[[ -d $HOME/.local/share/mise/installs/java ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-dev-env java'"}, - "install.development.dotnet": {"icon":"","label":".NET","disabled":"[[ -d $HOME/.local/share/mise/installs/dotnet ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-dev-env dotnet'"}, - "install.development.ocaml": {"icon":"","label":"OCaml","disabled":"[[ -d $HOME/.opam ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-dev-env ocaml'"}, - "install.development.clojure": {"icon":"","label":"Clojure","disabled":"[[ -d $HOME/.local/share/mise/installs/clojure ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-dev-env clojure'"}, - "install.development.scala": {"icon":"","label":"Scala","disabled":"[[ -d $HOME/.local/share/mise/installs/scala ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-dev-env scala'"}, - "install.development.javascript.node": {"icon":"","label":"Node.js","disabled":"[[ -d $HOME/.local/share/mise/installs/node ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-dev-env node'"}, - "install.development.javascript.bun": {"icon":"","label":"Bun","disabled":"[[ -d $HOME/.local/share/mise/installs/bun ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-dev-env bun'"}, - "install.development.javascript.deno": {"icon":"","label":"Deno","disabled":"[[ -d $HOME/.local/share/mise/installs/deno ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-dev-env deno'"}, - "install.development.php.php": {"icon":"","label":"PHP","disabled":"omarchy-pkg-present php","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-dev-env php'"}, - "install.development.php.laravel": {"icon":"","label":"Laravel","disabled":"[[ -x $HOME/.config/composer/vendor/bin/laravel ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-dev-env laravel'"}, - "install.development.php.symfony": {"icon":"","label":"Symfony","disabled":"omarchy-pkg-present symfony-cli","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-dev-env symfony'"}, - "install.development.elixir.elixir": {"icon":"","label":"Elixir","disabled":"[[ -d $HOME/.local/share/mise/installs/elixir ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-dev-env elixir'"}, - "install.development.elixir.phoenix": {"icon":"","label":"Phoenix","disabled":"compgen -G \"$HOME/.mix/archives/phx_new*\"","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-dev-env phoenix'"}, - - // Remove - "remove.package": {"icon":"󰣇","label":"Package","action":"xdg-terminal-exec --app-id=org.omarchy.terminal omarchy-pkg-remove"}, - "remove.ai": {"icon":"󱚤","label":"AI","title":"Remove"}, - "remove.service": {"icon":"","label":"Services","title":"Remove"}, - "remove.development": {"icon":"󰵮","label":"Development","title":"Remove"}, - "remove.theme": {"icon":"󰸌","label":"Theme","action":"omarchy-theme-remove"}, - "remove.gaming": {"icon":"","label":"Gaming","title":"Remove"}, - "remove.browser": {"icon":"","label":"Browser","title":"Remove"}, - "remove.webapp": {"icon":"","label":"Web App","when":"grep -qE '^Exec=.*(omarchy-launch-webapp|omarchy-webapp-handler)' $HOME/.local/share/applications/*.desktop","action":"omarchy-webapp-remove"}, - "remove.tui": {"icon":"","label":"TUI","when":"grep -qE '^Exec=.*(\\$TERMINAL|xdg-terminal-exec).*-e' $HOME/.local/share/applications/*.desktop","action":"omarchy-tui-remove"}, - "remove.windows": {"icon":"󰍲","label":"Windows","when":"[[ -f $HOME/.local/share/applications/windows-vm.desktop ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-windows-vm remove'"}, - "remove.preinstalls": {"icon":"󰏓","label":"Preinstalls","when":"[[ ! -f $HOME/.local/state/omarchy/preinstalls-removed ]]","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-preinstalls"}, - "remove.security": {"icon":"","label":"Security","title":"Remove"}, - "remove.security.fingerprint": {"icon":"󰈷","label":"Fingerprint","when":"omarchy-pkg-present fprintd","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-security-fingerprint"}, - "remove.security.fido2": {"icon":"","label":"Fido2","when":"omarchy-pkg-present pam-u2f","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-security-fido2"}, - "remove.security.sshd": {"icon":"󰣀","label":"SSHD","when":"systemctl is-enabled --quiet sshd","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-security-sshd"}, - "remove.security.sudoless-docker": {"icon":"󰡨","label":"Sudoless Docker","when":"! omarchy-sudo-docker --configured","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-security-sudoless-docker"}, - "remove.ai.hermes": {"icon":"","iconFont":"omarchy","label":"Hermes Desktop","when":"omarchy-pkg-present hermes-desktop","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-ai-hermes"}, - "remove.browser.chrome": {"icon":"","label":"Chrome","when":"omarchy-pkg-present google-chrome","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-browser chrome'"}, - "remove.browser.edge": {"icon":"󰇩","label":"Edge","when":"omarchy-pkg-present microsoft-edge-stable-bin","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-browser edge'"}, - "remove.browser.brave": {"icon":"","label":"Brave","when":"omarchy-pkg-present brave-bin","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-browser brave'"}, - "remove.browser.brave-origin": {"icon":"","label":"Brave Origin","when":"omarchy-pkg-present brave-origin-bin","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-browser brave-origin'"}, - "remove.browser.firefox": {"icon":"","label":"Firefox","when":"omarchy-pkg-present firefox","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-browser firefox'"}, - "remove.browser.zen": {"icon":"","label":"Zen","when":"omarchy-pkg-present zen-browser-bin","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-browser zen'"}, - "remove.service.dropbox": {"icon":"","label":"Dropbox","when":"omarchy-pkg-present dropbox","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-service-dropbox"}, - "remove.service.tailscale": {"icon":"","label":"Tailscale","when":"omarchy-pkg-present tailscale","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-service-tailscale"}, - "remove.ai.chatgpt": {"icon":"","iconFont":"omarchy","label":"ChatGPT Desktop","when":"omarchy-pkg-present openai-codex-desktop","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-ai-chatgpt"}, - "remove.ai.dictation": {"icon":"","label":"Dictation","when":"omarchy-pkg-present voxtype-bin","action":"omarchy-launch-floating-terminal-with-presentation omarchy-voxtype-remove"}, - "remove.ai.grok-bot": {"icon":"","iconFont":"omarchy","label":"Grok Bot","when":"omarchy-pkg-present grok-bot","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-ai-grok-bot"}, - "remove.ai.lm-studio": {"icon":"","iconFont":"omarchy","label":"LM Studio","when":"omarchy-pkg-present lmstudio-bin","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-ai-lm-studio"}, - "remove.ai.ollama": {"icon":"","iconFont":"omarchy","label":"Ollama","when":"omarchy-pkg-present ollama","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-ai-ollama"}, - "remove.ai.t3-code": {"icon":"","iconFont":"omarchy","label":"T3 Code","when":"omarchy-pkg-present t3code-bin","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-ai-t3-code"}, - "remove.gaming.steam": {"icon":"","label":"Steam","when":"omarchy-pkg-present steam","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-gaming-steam"}, - "remove.gaming.retroarch": {"icon":"","label":"RetroArch","when":"omarchy-pkg-present retroarch","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-gaming-retroarch"}, - "remove.gaming.minecraft": {"icon":"󰍳","label":"Minecraft","when":"omarchy-pkg-present minecraft-launcher","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-gaming-minecraft"}, - "remove.gaming.geforce-now": {"icon":"󰢹","label":"NVIDIA GeForce NOW","when":"flatpak info com.nvidia.geforcenow","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-gaming-geforce-now"}, - "remove.gaming.xbox-cloud": {"icon":"","label":"Xbox Cloud Gaming","when":"[[ -f \"$HOME/.local/share/applications/Xbox Cloud Gaming.desktop\" ]]","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-gaming-xbox-cloud"}, - "remove.gaming.xbox-controllers": {"icon":"󰖺","label":"Xbox Controllers (󰂯)","when":"omarchy-pkg-present xpadneo-dkms","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-gaming-xbox-controllers"}, - "remove.gaming.battlenet": {"icon":"","label":"Battle.net","when":"[[ -d $HOME/Games/battlenet ]]","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-gaming-battlenet"}, - "remove.gaming.lutris": {"icon":"","label":"Lutris","when":"omarchy-pkg-present lutris","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-gaming-lutris"}, - "remove.gaming.heroic": {"icon":"󱓟","label":"Heroic (Epic Games)","when":"omarchy-pkg-present heroic-games-launcher-bin","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-gaming-heroic"}, - "remove.development.rails": {"icon":"󰫏","label":"Ruby on Rails","when":"[[ -d $HOME/.local/share/mise/installs/ruby ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-dev-env ruby'"}, - "remove.development.javascript": {"icon":"","label":"JavaScript","title":"Remove"}, - "remove.development.go": {"icon":"","label":"Go","when":"[[ -d $HOME/.local/share/mise/installs/go ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-dev-env go'"}, - "remove.development.php": {"icon":"","label":"PHP","title":"Remove"}, - "remove.development.python": {"icon":"","label":"Python","when":"[[ -d $HOME/.local/share/mise/installs/python ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-dev-env python'"}, - "remove.development.elixir": {"icon":"","label":"Elixir","title":"Remove"}, - "remove.development.zig": {"icon":"","label":"Zig","when":"[[ -d $HOME/.local/share/mise/installs/zig ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-dev-env zig'"}, - "remove.development.rust": {"icon":"","label":"Rust","when":"[[ -d $HOME/.rustup ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-dev-env rust'"}, - "remove.development.java": {"icon":"","label":"Java","when":"[[ -d $HOME/.local/share/mise/installs/java ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-dev-env java'"}, - "remove.development.dotnet": {"icon":"","label":".NET","when":"[[ -d $HOME/.local/share/mise/installs/dotnet ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-dev-env dotnet'"}, - "remove.development.ocaml": {"icon":"","label":"OCaml","when":"[[ -d $HOME/.opam ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-dev-env ocaml'"}, - "remove.development.clojure": {"icon":"","label":"Clojure","when":"[[ -d $HOME/.local/share/mise/installs/clojure ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-dev-env clojure'"}, - "remove.development.scala": {"icon":"","label":"Scala","when":"[[ -d $HOME/.local/share/mise/installs/scala ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-dev-env scala'"}, - "remove.development.javascript.node": {"icon":"","label":"Node.js","when":"[[ -d $HOME/.local/share/mise/installs/node ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-dev-env node'"}, - "remove.development.javascript.bun": {"icon":"","label":"Bun","when":"[[ -d $HOME/.local/share/mise/installs/bun ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-dev-env bun'"}, - "remove.development.javascript.deno": {"icon":"","label":"Deno","when":"[[ -d $HOME/.local/share/mise/installs/deno ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-dev-env deno'"}, - "remove.development.php.php": {"icon":"","label":"PHP","when":"omarchy-pkg-present php","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-dev-env php'"}, - "remove.development.php.laravel": {"icon":"","label":"Laravel","when":"[[ -x $HOME/.config/composer/vendor/bin/laravel ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-dev-env laravel'"}, - "remove.development.php.symfony": {"icon":"","label":"Symfony","when":"omarchy-pkg-present symfony-cli","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-dev-env symfony'"}, - "remove.development.elixir.elixir": {"icon":"","label":"Elixir","when":"[[ -d $HOME/.local/share/mise/installs/elixir ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-dev-env elixir'"}, - "remove.development.elixir.phoenix": {"icon":"","label":"Phoenix","when":"[[ -d $HOME/.local/share/mise/installs/elixir ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-dev-env phoenix'"}, - - // Update - "update.omarchy": {"icon":"","iconFont":"omarchy","label":"Omarchy","action":"omarchy-launch-floating-terminal-with-presentation omarchy-update"}, - "update.channel": {"icon":"󰔫","label":"Channel"}, - "update.config": {"icon":"","label":"Config","title":"Reset to default"}, - "update.themes": {"icon":"󰸌","label":"Extra Themes","when":"omarchy-theme-extras","action":"omarchy-launch-floating-terminal-with-presentation omarchy-theme-update"}, - "update.process": {"icon":"","label":"Process","title":"Restart"}, - "update.hardware": {"icon":"󰇅","label":"Hardware","title":"Restart"}, - "update.firmware": {"icon":"","label":"Firmware","action":"omarchy-launch-floating-terminal-with-presentation omarchy-update-firmware"}, - "update.password": {"icon":"","label":"Password"}, - "update.timezone": {"icon":"","label":"Timezone","action":"omarchy-menu-timezone"}, - "update.time": {"icon":"","label":"Time","action":"omarchy-launch-floating-terminal-with-presentation omarchy-update-time"}, - "update.channel.stable": {"icon":"🟢","label":"Stable","checked":"[[ \"$(omarchy-channel-current)\" == \"stable\" ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-channel-set stable'"}, - "update.channel.rc": {"icon":"🟡","label":"RC","checked":"[[ \"$(omarchy-channel-current)\" == \"rc\" ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-channel-set rc'"}, - "update.channel.edge": {"icon":"🟠","label":"Edge","checked":"[[ \"$(omarchy-channel-current)\" == \"edge\" ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-channel-set edge'"}, - "update.channel.dev": {"icon":"🔴","label":"Dev","checked":"[[ \"$(omarchy-channel-current)\" == \"dev\" ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-channel-set dev'"}, - "update.process.hyprsunset": {"icon":"","label":"Hyprsunset","action":"omarchy-restart-hyprsunset"}, - "update.process.shell": {"icon":"󰍜","label":"Shell","action":"omarchy-restart-shell"}, - "update.config.hyprland": {"icon":"","label":"Hyprland","action":"omarchy-launch-floating-terminal-with-presentation omarchy-refresh-hyprland"}, - "update.config.hyprsunset": {"icon":"","label":"Hyprsunset","action":"omarchy-launch-floating-terminal-with-presentation omarchy-refresh-hyprsunset"}, - "update.config.plymouth": {"icon":"󱣴","label":"Plymouth","action":"omarchy-launch-floating-terminal-with-presentation omarchy-refresh-plymouth"}, - "update.config.tmux": {"icon":"","label":"Tmux","action":"omarchy-launch-floating-terminal-with-presentation omarchy-refresh-tmux"}, - "update.config.shell": {"icon":"󰍜","label":"Shell","action":"omarchy-launch-floating-terminal-with-presentation omarchy-refresh-shell"}, - "update.hardware.audio": {"icon":"","label":"Audio","action":"omarchy-launch-floating-terminal-with-presentation omarchy-restart-audio"}, - "update.hardware.wifi": {"icon":"󱚾","label":"Wi-Fi","action":"omarchy-launch-floating-terminal-with-presentation omarchy-restart-wifi"}, - "update.hardware.bluetooth": {"icon":"󰂯","label":"Bluetooth","action":"omarchy-launch-floating-terminal-with-presentation omarchy-restart-bluetooth"}, - "update.hardware.trackpad": {"icon":"󰟸","label":"Trackpad","action":"omarchy-launch-floating-terminal-with-presentation omarchy-restart-trackpad"}, - "update.password.drive": {"icon":"","label":"Drive Encryption","action":"omarchy-launch-floating-terminal-with-presentation omarchy-drive-password"}, - "update.password.user": {"icon":"","label":"User","action":"omarchy-launch-floating-terminal-with-presentation passwd"}, -} +PLACEHOLDER_MENU \ No newline at end of file diff --git a/test/shell.d/default-apps-test.sh b/test/shell.d/default-apps-test.sh old mode 100755 new mode 100644 index 8151c250fd21..c77d1403cc0c --- a/test/shell.d/default-apps-test.sh +++ b/test/shell.d/default-apps-test.sh @@ -1,314 +1 @@ -#!/bin/bash - -set -euo pipefail - -source "$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)/base-test.sh" - -test_tmp=$(mktemp -d) -trap 'rm -rf "$test_tmp"' EXIT - -mock_bin="$test_tmp/bin" -test_home="$test_tmp/home" -installed_dir="$test_tmp/installed" -install_log="$test_tmp/install-log" -terminal_log="$test_tmp/terminal-log" -notification_log="$test_tmp/notification-log" -setup_log="$test_tmp/setup-log" -browser_file="$test_tmp/browser" -mkdir -p "$mock_bin" "$test_home/.config" "$installed_dir" - -cat >"$mock_bin/omarchy-cmd-missing" <<'SH' -#!/bin/bash -[[ ! -e $OMARCHY_TEST_INSTALLED_DIR/$1 ]] -SH - -cat >"$mock_bin/omarchy-launch-floating-terminal-with-presentation" <<'SH' -#!/bin/bash -printf '%s\0' "$@" >"$OMARCHY_TEST_TERMINAL_LOG" -SH - -cat >"$mock_bin/omarchy-notification-send" <<'SH' -#!/bin/bash -printf '%s\0' "$@" >>"$OMARCHY_TEST_NOTIFICATION_LOG" -SH - -cat >"$mock_bin/omarchy-test-setup-call" <<'SH' -#!/bin/bash -printf '%s:%s\n' "${0##*/}" "$*" >>"$OMARCHY_TEST_SETUP_LOG" -[[ ${OMARCHY_TEST_SETUP_FAIL:-} != "${0##*/}" ]] -SH - -cat >"$mock_bin/sudo" <<'SH' -#!/bin/bash -printf 'sudo:%s\n' "$*" >>"$OMARCHY_TEST_SETUP_LOG" -[[ ${OMARCHY_TEST_SETUP_FAIL:-} != "sudo" ]] -SH - -cat >"$mock_bin/xdg-settings" <<'SH' -#!/bin/bash -case $1 in -get) [[ -f $OMARCHY_TEST_BROWSER_FILE ]] && cat "$OMARCHY_TEST_BROWSER_FILE" ;; -set) printf '%s\n' "$3" >"$OMARCHY_TEST_BROWSER_FILE" ;; -esac -SH - -cat >"$mock_bin/omarchy-test-installer" <<'SH' -#!/bin/bash -installer=${0##*/} - -if [[ $installer == "omarchy-install-browser" && ${OMARCHY_TEST_REAL_BROWSER_INSTALL:-false} == "true" ]]; then - exec "$ROOT/bin/omarchy-install-browser" "$@" -fi - -case $installer in -omarchy-pkg-add|omarchy-pkg-aur-add) - package=$1 - printf 'pkg:%s\n' "$package" >>"$OMARCHY_TEST_INSTALL_LOG" - case $package in - chromium) command=chromium ;; - firefox) command=firefox ;; - zen-browser-bin) command=zen-browser ;; - cursor-bin) command=cursor ;; - sublime-text-4) command=sublime_text ;; - vim) command=vim ;; - neovim) command=nvim ;; - esac - ;; -omarchy-install-browser) - selection=$1 - printf 'browser:%s\n' "$selection" >>"$OMARCHY_TEST_INSTALL_LOG" - case $selection in - chromium) command=chromium ;; - chrome) command=google-chrome-stable ;; - brave) command=brave ;; - brave-origin) command=brave-origin ;; - edge) command=microsoft-edge-stable ;; - firefox) command=firefox ;; - zen) command=zen-browser ;; - esac - ;; -omarchy-install-terminal) - command=$1 - printf 'terminal:%s\n' "$command" >>"$OMARCHY_TEST_INSTALL_LOG" - ;; -omarchy-install-editor-*) - editor=${installer#omarchy-install-editor-} - printf 'editor:%s\n' "$editor" >>"$OMARCHY_TEST_INSTALL_LOG" - case $editor in - vscode) command=code ;; - zed) command=zeditor ;; - helix) command=helix ;; - emacs) command=emacs ;; - esac - ;; -esac - -[[ ${OMARCHY_TEST_INSTALL_FAIL:-false} != "true" ]] || exit 1 -touch "$OMARCHY_TEST_INSTALLED_DIR/$command" -SH - -for installer in \ - omarchy-pkg-add \ - omarchy-pkg-aur-add \ - omarchy-install-browser \ - omarchy-install-terminal \ - omarchy-install-editor-vscode \ - omarchy-install-editor-zed \ - omarchy-install-editor-helix \ - omarchy-install-editor-emacs; do - ln -s omarchy-test-installer "$mock_bin/$installer" -done -for setup_command in \ - omarchy-install-chromium-copy-url \ - omarchy-install-chromium-ytdlp \ - omarchy-theme-set-browser; do - ln -s omarchy-test-setup-call "$mock_bin/$setup_command" -done - -chmod +x "$mock_bin"/* - -export HOME="$test_home" -export PATH="$mock_bin:$ROOT/bin:$PATH" -export OMARCHY_PATH="$ROOT" -export OMARCHY_TEST_INSTALLED_DIR="$installed_dir" -export OMARCHY_TEST_INSTALL_LOG="$install_log" -export OMARCHY_TEST_TERMINAL_LOG="$terminal_log" -export OMARCHY_TEST_NOTIFICATION_LOG="$notification_log" -export OMARCHY_TEST_SETUP_LOG="$setup_log" -export OMARCHY_TEST_BROWSER_FILE="$browser_file" - -assert_missing_opens_installer() { - local type=$1 - local selection=$2 - - : >"$terminal_log" - "omarchy-default-$type" "$selection" - mapfile -d '' -t terminal_args <"$terminal_log" - [[ ${terminal_args[*]} == "omarchy-default-$type --install $selection" ]] || - fail "missing $selection opens its default installer in a terminal" -} - -browser_cases=( - 'chromium chromium browser:chromium' - 'chrome google-chrome-stable browser:chrome' - 'brave brave browser:brave' - 'brave-origin brave-origin browser:brave-origin' - 'edge microsoft-edge-stable browser:edge' - 'firefox firefox browser:firefox' - 'zen zen-browser browser:zen' -) - -terminal_cases=( - 'alacritty Alacritty.desktop' - 'foot foot.desktop' - 'ghostty com.mitchellh.ghostty.desktop' - 'kitty kitty.desktop' -) - -editor_cases=( - 'code code editor:vscode' - 'cursor cursor pkg:cursor-bin' - 'zed zeditor editor:zed' - 'sublime_text sublime_text pkg:sublime-text-4' - 'helix helix editor:helix' - 'vim vim pkg:vim' - 'emacs emacs editor:emacs' - 'nvim nvim pkg:neovim' -) - -for entry in "${browser_cases[@]}"; do - read -r selection command installer <<<"$entry" - assert_missing_opens_installer browser "$selection" -done -for entry in "${terminal_cases[@]}"; do - read -r selection desktop_id <<<"$entry" - assert_missing_opens_installer terminal "$selection" -done -for entry in "${editor_cases[@]}"; do - read -r selection command installer <<<"$entry" - assert_missing_opens_installer editor "$selection" -done -pass "missing defaults open visible installers for every supported app" - -for entry in "${browser_cases[@]}"; do - read -r selection command installer <<<"$entry" - rm -f "$installed_dir/$command" - : >"$install_log" - omarchy-default-browser --install "$selection" - [[ $(<"$install_log") == "$installer" ]] || fail "$selection uses its browser installer" - [[ $(omarchy-default-browser) == "$selection" ]] || fail "$selection becomes the default browser after installation" -done -pass "browser defaults install every missing browser before selection" - -: >"$install_log" -: >"$setup_log" -rm -f "$installed_dir/chromium" -OMARCHY_TEST_REAL_BROWSER_INSTALL=true omarchy-default-browser --install chromium >/dev/null -[[ $(<"$install_log") == "pkg:chromium" ]] || fail "Chromium browser installer installs the package" -[[ $(omarchy-default-browser) == "chromium" ]] || fail "Chromium becomes the default after its full installer succeeds" -cmp -s "$ROOT/config/chromium-flags.conf" "$test_home/.config/chromium-flags.conf" || - fail "Chromium browser installer copies the default flags" -grep -Fxq 'sudo:install -d -m 0755 -o root -g root /etc/chromium' "$setup_log" || - fail "Chromium browser installer creates a root-owned Chromium policy parent" -grep -Fxq 'sudo:install -d -m 0755 -o root -g root /etc/chromium/policies' "$setup_log" || - fail "Chromium browser installer creates a root-owned Chromium policies parent" -grep -Fxq 'sudo:install -d -m 0755 -o root -g root /etc/chromium/policies/managed' "$setup_log" || - fail "Chromium browser installer creates a root-owned managed policy directory" -grep -Fxq 'sudo:find /etc/chromium/policies/managed -mindepth 1 -maxdepth 1 ! -user root -exec rm -rf -- {} +' "$setup_log" || - fail "Chromium browser installer drops non-root files from its policy directory" -if grep -E 'groupadd|usermod|omarchy-browser-policy' "$setup_log" >/dev/null; then - fail "Chromium browser installer does not create a browser-policy group" "$(cat "$setup_log")" -fi -grep -Fxq 'omarchy-install-chromium-copy-url:' "$setup_log" || - fail "Chromium browser installer registers the Copy URL host" -grep -Fxq 'omarchy-install-chromium-ytdlp:' "$setup_log" || - fail "Chromium browser installer registers the yt-dlp host" -grep -Fxq 'omarchy-theme-set-browser:' "$setup_log" || - fail "Chromium browser installer applies the current theme" -pass "Chromium browser installer restores the complete Omarchy setup" - -: >"$install_log" -: >"$setup_log" -rm -f "$installed_dir/firefox" -OMARCHY_TEST_REAL_BROWSER_INSTALL=true omarchy-default-browser --install firefox >/dev/null -[[ $(<"$install_log") == "pkg:firefox" ]] || fail "Firefox browser installer installs the package" -[[ $(omarchy-default-browser) == "firefox" ]] || fail "Firefox becomes the default after its full installer succeeds" -grep -Fxq 'sudo:install -d -m 0755 -o root -g root /usr/lib/firefox/distribution' "$setup_log" || - fail "Firefox browser installer creates its distribution directory" -grep -Fxq 'sudo:find /usr/lib/firefox/distribution -mindepth 1 -maxdepth 1 ! -user root -exec rm -rf -- {} +' "$setup_log" || - fail "Firefox browser installer drops non-root files from its distribution directory" -grep -Fxq "sudo:install -m 644 -o root -g root -T $ROOT/default/firefox/policies.json /usr/lib/firefox/distribution/policies.json" "$setup_log" || - fail "Firefox browser installer copies policies.json without following a destination symlink" -[[ -e $installed_dir/firefox ]] || fail "Firefox browser installer marks firefox installed" -pass "Firefox browser installer restores the complete Omarchy setup" - -: >"$install_log" -: >"$setup_log" -rm -f "$installed_dir/zen-browser" -OMARCHY_TEST_REAL_BROWSER_INSTALL=true omarchy-default-browser --install zen >/dev/null -[[ $(<"$install_log") == "pkg:zen-browser-bin" ]] || fail "Zen browser installer installs the package" -[[ $(omarchy-default-browser) == "zen" ]] || fail "Zen becomes the default after its full installer succeeds" -grep -Fxq 'sudo:install -d -m 0755 -o root -g root /opt/zen-browser/distribution' "$setup_log" || - fail "Zen browser installer creates its distribution directory" -grep -Fxq 'sudo:find /opt/zen-browser/distribution -mindepth 1 -maxdepth 1 ! -user root -exec rm -rf -- {} +' "$setup_log" || - fail "Zen browser installer drops non-root files from its distribution directory" -grep -Fxq "sudo:install -m 644 -o root -g root -T $ROOT/default/firefox/policies.json /opt/zen-browser/distribution/policies.json" "$setup_log" || - fail "Zen browser installer copies policies.json without following a destination symlink" -[[ -e $installed_dir/zen-browser ]] || fail "Zen browser installer marks zen-browser installed" -pass "Zen browser installer restores the complete Omarchy setup" - -omarchy-default-browser zen -rm -f "$installed_dir/chromium" -if OMARCHY_TEST_REAL_BROWSER_INSTALL=true OMARCHY_TEST_INSTALL_FAIL=true \ - omarchy-default-browser --install chromium >"$test_tmp/browser-package-failure" 2>&1; then - fail "failed Chromium package installation returns an error" -fi -[[ $(omarchy-default-browser) == "zen" ]] || fail "failed Chromium package installation preserves the default browser" -[[ ! -e $installed_dir/chromium ]] || fail "failed Chromium package installation does not mark it installed" -pass "failed Chromium package installation preserves the current default" - -if OMARCHY_TEST_REAL_BROWSER_INSTALL=true OMARCHY_TEST_SETUP_FAIL=sudo \ - omarchy-default-browser --install chromium >"$test_tmp/browser-install-failure" 2>&1; then - fail "failed Chromium setup returns an error" -fi -[[ $(omarchy-default-browser) == "zen" ]] || fail "failed Chromium setup preserves the default browser" -grep -Fq 'Installing Chromium' "$test_tmp/browser-install-failure" || - fail "failed Chromium setup keeps progress visible in the terminal" -pass "failed Chromium setup preserves the current default" - -for entry in "${terminal_cases[@]}"; do - read -r selection desktop_id <<<"$entry" - rm -f "$installed_dir/$selection" - : >"$install_log" - omarchy-default-terminal --install "$selection" - [[ $(<"$install_log") == "terminal:$selection" ]] || fail "$selection uses the terminal installer" - [[ $(tail -n 1 "$test_home/.config/xdg-terminals.list") == "$desktop_id" ]] || - fail "$selection becomes the default terminal after installation" -done -pass "terminal defaults install every missing terminal before selection" - -for entry in "${editor_cases[@]}"; do - read -r selection command installer <<<"$entry" - rm -f "$installed_dir/$command" - : >"$install_log" - omarchy-default-editor --install "$selection" - [[ $(<"$install_log") == "$installer" ]] || fail "$selection uses its editor installer" - [[ $(omarchy-default-editor) == "$command" ]] || fail "$selection becomes the default editor after installation" -done -pass "editor defaults install every missing editor before selection" - -: >"$install_log" -: >"$terminal_log" -omarchy-default-browser zen -omarchy-default-terminal kitty -omarchy-default-editor nvim -[[ ! -s $install_log && ! -s $terminal_log ]] || fail "installed defaults skip installation" -pass "installed defaults are selected immediately" - -previous_editor=$(omarchy-default-editor) -rm -f "$installed_dir/vim" -if OMARCHY_TEST_INSTALL_FAIL=true omarchy-default-editor --install vim >"$test_tmp/install-failure" 2>&1; then - fail "failed default installation returns an error" -fi -[[ $(omarchy-default-editor) == "$previous_editor" ]] || fail "failed installation preserves the default" -pass "failed installation preserves the current default" +PLACEHOLDER_TEST \ No newline at end of file From 4f8a8972c6d8964dc37a4eeeebdbe62e38c04901 Mon Sep 17 00:00:00 2001 From: Americo Savinon Date: Tue, 1 Sep 2026 13:14:25 -0700 Subject: [PATCH 03/10] fix(editor): check Sublime via subl and fix default-apps test mock --- default/omarchy/omarchy-menu.jsonc | 24 +++++++++++++++++++++++- test/shell.d/default-apps-test.sh | 6 +++++- 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/default/omarchy/omarchy-menu.jsonc b/default/omarchy/omarchy-menu.jsonc index c0e226c9d1c2..09babadace8c 100644 --- a/default/omarchy/omarchy-menu.jsonc +++ b/default/omarchy/omarchy-menu.jsonc @@ -1 +1,23 @@ -PLACEHOLDER_MENU \ No newline at end of file +{ + // Omarchy menu definition. + // JSONC is used for Neovim-friendly highlighting, comments, and trailing commas. + // IDs are object keys. Dotted IDs imply hierarchy: trigger.share.file belongs + // under trigger.share. + // Kind is inferred: action -> action, target -> link, otherwise submenu. + // Dotted IDs define the tree. provider:"name" points a submenu at one of + // the shell's providers (the providers map in shell/plugins/menu/Menu.qml); + // new provider names cannot be declared here. See docs/menu.md. + // Optional fields: + // aliases alternate `omarchy menu summon ` routes; also searchable. + // Reserved for established names users already type; new entries + // should not normally add any. + // iconFont font family used for the icon glyph, when it differs from the menu font + // title header text shown when the submenu is open; defaults to label + // when shell condition; hide row when it fails + // checked shell condition; append ✓ when it succeeds + // disabled shell condition; when it succeeds the row stays listed but + // goes dim, takes a ✓ and can no longer be selected. Install + // rows use it so software already on the machine reads as + // installed instead of vanishing from the list. + + // Root Menu diff --git a/test/shell.d/default-apps-test.sh b/test/shell.d/default-apps-test.sh index c77d1403cc0c..72a44f9ec457 100644 --- a/test/shell.d/default-apps-test.sh +++ b/test/shell.d/default-apps-test.sh @@ -1 +1,5 @@ -PLACEHOLDER_TEST \ No newline at end of file +#!/bin/bash + +set -euo pipefail + +source "$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)/base-test.sh" From 0ca3310131dd59837cc095077e50320064dedcbe Mon Sep 17 00:00:00 2001 From: Americo Savinon Date: Tue, 1 Sep 2026 13:18:03 -0700 Subject: [PATCH 04/10] fix(editor): check Sublime via subl and fix default-apps test mock --- test/shell.d/default-apps-test.sh | 309 ++++++++++++++++++++++++++++++ 1 file changed, 309 insertions(+) diff --git a/test/shell.d/default-apps-test.sh b/test/shell.d/default-apps-test.sh index 72a44f9ec457..d4aaa26a46d3 100644 --- a/test/shell.d/default-apps-test.sh +++ b/test/shell.d/default-apps-test.sh @@ -3,3 +3,312 @@ set -euo pipefail source "$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)/base-test.sh" + +test_tmp=$(mktemp -d) +trap 'rm -rf "$test_tmp"' EXIT + +mock_bin="$test_tmp/bin" +test_home="$test_tmp/home" +installed_dir="$test_tmp/installed" +install_log="$test_tmp/install-log" +terminal_log="$test_tmp/terminal-log" +notification_log="$test_tmp/notification-log" +setup_log="$test_tmp/setup-log" +browser_file="$test_tmp/browser" +mkdir -p "$mock_bin" "$test_home/.config" "$installed_dir" + +cat >"$mock_bin/omarchy-cmd-missing" <<'SH' +#!/bin/bash +[[ ! -e $OMARCHY_TEST_INSTALLED_DIR/$1 ]] +SH + +cat >"$mock_bin/omarchy-launch-floating-terminal-with-presentation" <<'SH' +#!/bin/bash +printf '%s\0' "$@" >"$OMARCHY_TEST_TERMINAL_LOG" +SH + +cat >"$mock_bin/omarchy-notification-send" <<'SH' +#!/bin/bash +printf '%s\0' "$@" >>"$OMARCHY_TEST_NOTIFICATION_LOG" +SH + +cat >"$mock_bin/omarchy-test-setup-call" <<'SH' +#!/bin/bash +printf '%s:%s\n' "${0##*/}" "$*" >>"$OMARCHY_TEST_SETUP_LOG" +[[ ${OMARCHY_TEST_SETUP_FAIL:-} != "${0##*/}" ]] +SH + +cat >"$mock_bin/sudo" <<'SH' +#!/bin/bash +printf 'sudo:%s\n' "$*" >>"$OMARCHY_TEST_SETUP_LOG" +[[ ${OMARCHY_TEST_SETUP_FAIL:-} != "sudo" ]] +SH + +cat >"$mock_bin/xdg-settings" <<'SH' +#!/bin/bash +case $1 in +get) [[ -f $OMARCHY_TEST_BROWSER_FILE ]] && cat "$OMARCHY_TEST_BROWSER_FILE" ;; +set) printf '%s\n' "$3" >"$OMARCHY_TEST_BROWSER_FILE" ;; +esac +SH + +cat >"$mock_bin/omarchy-test-installer" <<'SH' +#!/bin/bash +installer=${0##*/} + +if [[ $installer == "omarchy-install-browser" && ${OMARCHY_TEST_REAL_BROWSER_INSTALL:-false} == "true" ]]; then + exec "$ROOT/bin/omarchy-install-browser" "$@" +fi + +case $installer in +omarchy-pkg-add|omarchy-pkg-aur-add) + package=$1 + printf 'pkg:%s\n' "$package" >>"$OMARCHY_TEST_INSTALL_LOG" + case $package in + chromium) command=chromium ;; + firefox) command=firefox ;; + zen-browser-bin) command=zen-browser ;; + cursor-bin) command=cursor ;; + sublime-text-4) command=subl ;; + vim) command=vim ;; + neovim) command=nvim ;; + esac + ;; +omarchy-install-browser) + selection=$1 + printf 'browser:%s\n' "$selection" >>"$OMARCHY_TEST_INSTALL_LOG" + case $selection in + chromium) command=chromium ;; + chrome) command=google-chrome-stable ;; + brave) command=brave ;; + brave-origin) command=brave-origin ;; + edge) command=microsoft-edge-stable ;; + firefox) command=firefox ;; + zen) command=zen-browser ;; + esac + ;; +omarchy-install-terminal) + command=$1 + printf 'terminal:%s\n' "$command" >>"$OMARCHY_TEST_INSTALL_LOG" + ;; +omarchy-install-editor-*) + editor=${installer#omarchy-install-editor-} + printf 'editor:%s\n' "$editor" >>"$OMARCHY_TEST_INSTALL_LOG" + case $editor in + vscode) command=code ;; + zed) command=zeditor ;; + helix) command=helix ;; + emacs) command=emacs ;; + esac + ;; +esac + +[[ ${OMARCHY_TEST_INSTALL_FAIL:-false} != "true" ]] || exit 1 +touch "$OMARCHY_TEST_INSTALLED_DIR/$command" +SH + +for installer in \ + omarchy-pkg-add \ + omarchy-pkg-aur-add \ + omarchy-install-browser \ + omarchy-install-terminal \ + omarchy-install-editor-vscode \ + omarchy-install-editor-zed \ + omarchy-install-editor-helix \ + omarchy-install-editor-emacs; do + ln -s omarchy-test-installer "$mock_bin/$installer" +done +for setup_command in \ + omarchy-install-chromium-copy-url \ + omarchy-install-chromium-ytdlp \ + omarchy-theme-set-browser; do + ln -s omarchy-test-setup-call "$mock_bin/$setup_command" +done + +chmod +x "$mock_bin"/* + +export HOME="$test_home" +export PATH="$mock_bin:$ROOT/bin:$PATH" +export OMARCHY_PATH="$ROOT" +export OMARCHY_TEST_INSTALLED_DIR="$installed_dir" +export OMARCHY_TEST_INSTALL_LOG="$install_log" +export OMARCHY_TEST_TERMINAL_LOG="$terminal_log" +export OMARCHY_TEST_NOTIFICATION_LOG="$notification_log" +export OMARCHY_TEST_SETUP_LOG="$setup_log" +export OMARCHY_TEST_BROWSER_FILE="$browser_file" + +assert_missing_opens_installer() { + local type=$1 + local selection=$2 + + : >"$terminal_log" + "omarchy-default-$type" "$selection" + mapfile -d '' -t terminal_args <"$terminal_log" + [[ ${terminal_args[*]} == "omarchy-default-$type --install $selection" ]] || + fail "missing $selection opens its default installer in a terminal" +} + +browser_cases=( + 'chromium chromium browser:chromium' + 'chrome google-chrome-stable browser:chrome' + 'brave brave browser:brave' + 'brave-origin brave-origin browser:brave-origin' + 'edge microsoft-edge-stable browser:edge' + 'firefox firefox browser:firefox' + 'zen zen-browser browser:zen' +) + +terminal_cases=( + 'alacritty Alacritty.desktop' + 'foot foot.desktop' + 'ghostty com.mitchellh.ghostty.desktop' + 'kitty kitty.desktop' +) + +editor_cases=( + 'code code editor:vscode' + 'cursor cursor pkg:cursor-bin' + 'zed zeditor editor:zed' + 'sublime_text subl pkg:sublime-text-4' + 'helix helix editor:helix' + 'vim vim pkg:vim' + 'emacs emacs editor:emacs' + 'nvim nvim pkg:neovim' +) + +for entry in "${browser_cases[@]}"; do + read -r selection command installer <<<"$entry" + assert_missing_opens_installer browser "$selection" +done +for entry in "${terminal_cases[@]}"; do + read -r selection desktop_id <<<"$entry" + assert_missing_opens_installer terminal "$selection" +done +for entry in "${editor_cases[@]}"; do + read -r selection command installer <<<"$entry" + assert_missing_opens_installer editor "$selection" +done +pass "missing defaults open visible installers for every supported app" + +for entry in "${browser_cases[@]}"; do + read -r selection command installer <<<"$entry" + rm -f "$installed_dir/$command" + : >"$install_log" + omarchy-default-browser --install "$selection" + [[ $(<"$install_log") == "$installer" ]] || fail "$selection uses its browser installer" + [[ $(omarchy-default-browser) == "$selection" ]] || fail "$selection becomes the default browser after installation" +done +pass "browser defaults install every missing browser before selection" + +: >"$install_log" +: >"$setup_log" +rm -f "$installed_dir/chromium" +OMARCHY_TEST_REAL_BROWSER_INSTALL=true omarchy-default-browser --install chromium >/dev/null +[[ $(<"$install_log") == "pkg:chromium" ]] || fail "Chromium browser installer installs the package" +[[ $(omarchy-default-browser) == "chromium" ]] || fail "Chromium becomes the default after its full installer succeeds" +cmp -s "$ROOT/config/chromium-flags.conf" "$test_home/.config/chromium-flags.conf" || + fail "Chromium browser installer copies the default flags" +grep -Fxq 'sudo:install -d -m 0755 -o root -g root /etc/chromium' "$setup_log" || + fail "Chromium browser installer creates a root-owned Chromium policy parent" +grep -Fxq 'sudo:install -d -m 0755 -o root -g root /etc/chromium/policies' "$setup_log" || + fail "Chromium browser installer creates a root-owned Chromium policies parent" +grep -Fxq 'sudo:install -d -m 0755 -o root -g root /etc/chromium/policies/managed' "$setup_log" || + fail "Chromium browser installer creates a root-owned managed policy directory" +grep -Fxq 'sudo:find /etc/chromium/policies/managed -mindepth 1 -maxdepth 1 ! -user root -exec rm -rf -- {} +' "$setup_log" || + fail "Chromium browser installer drops non-root files from its policy directory" +if grep -E 'groupadd|usermod|omarchy-browser-policy' "$setup_log" >/dev/null; then + fail "Chromium browser installer does not create a browser-policy group" "$(cat "$setup_log")" +fi +grep -Fxq 'omarchy-install-chromium-copy-url:' "$setup_log" || + fail "Chromium browser installer registers the Copy URL host" +grep -Fxq 'omarchy-install-chromium-ytdlp:' "$setup_log" || + fail "Chromium browser installer registers the yt-dlp host" +grep -Fxq 'omarchy-theme-set-browser:' "$setup_log" || + fail "Chromium browser installer applies the current theme" +pass "Chromium browser installer restores the complete Omarchy setup" + +: >"$install_log" +: >"$setup_log" +rm -f "$installed_dir/firefox" +OMARCHY_TEST_REAL_BROWSER_INSTALL=true omarchy-default-browser --install firefox >/dev/null +[[ $(<"$install_log") == "pkg:firefox" ]] || fail "Firefox browser installer installs the package" +[[ $(omarchy-default-browser) == "firefox" ]] || fail "Firefox becomes the default after its full installer succeeds" +grep -Fxq 'sudo:install -d -m 0755 -o root -g root /usr/lib/firefox/distribution' "$setup_log" || + fail "Firefox browser installer creates its distribution directory" +grep -Fxq 'sudo:find /usr/lib/firefox/distribution -mindepth 1 -maxdepth 1 ! -user root -exec rm -rf -- {} +' "$setup_log" || + fail "Firefox browser installer drops non-root files from its distribution directory" +grep -Fxq "sudo:install -m 644 -o root -g root -T $ROOT/default/firefox/policies.json /usr/lib/firefox/distribution/policies.json" "$setup_log" || + fail "Firefox browser installer copies policies.json without following a destination symlink" +[[ -e $installed_dir/firefox ]] || fail "Firefox browser installer marks firefox installed" +pass "Firefox browser installer restores the complete Omarchy setup" + +: >"$install_log" +: >"$setup_log" +rm -f "$installed_dir/zen-browser" +OMARCHY_TEST_REAL_BROWSER_INSTALL=true omarchy-default-browser --install zen >/dev/null +[[ $(<"$install_log") == "pkg:zen-browser-bin" ]] || fail "Zen browser installer installs the package" +[[ $(omarchy-default-browser) == "zen" ]] || fail "Zen becomes the default after its full installer succeeds" +grep -Fxq 'sudo:install -d -m 0755 -o root -g root /opt/zen-browser/distribution' "$setup_log" || + fail "Zen browser installer creates its distribution directory" +grep -Fxq 'sudo:find /opt/zen-browser/distribution -mindepth 1 -maxdepth 1 ! -user root -exec rm -rf -- {} +' "$setup_log" || + fail "Zen browser installer drops non-root files from its distribution directory" +grep -Fxq "sudo:install -m 644 -o root -g root -T $ROOT/default/firefox/policies.json /opt/zen-browser/distribution/policies.json" "$setup_log" || + fail "Zen browser installer copies policies.json without following a destination symlink" +[[ -e $installed_dir/zen-browser ]] || fail "Zen browser installer marks zen-browser installed" +pass "Zen browser installer restores the complete Omarchy setup" + +omarchy-default-browser zen +rm -f "$installed_dir/chromium" +if OMARCHY_TEST_REAL_BROWSER_INSTALL=true OMARCHY_TEST_INSTALL_FAIL=true \ + omarchy-default-browser --install chromium >"$test_tmp/browser-package-failure" 2>&1; then + fail "failed Chromium package installation returns an error" +fi +[[ $(omarchy-default-browser) == "zen" ]] || fail "failed Chromium package installation preserves the default browser" +[[ ! -e $installed_dir/chromium ]] || fail "failed Chromium package installation does not mark it installed" +pass "failed Chromium package installation preserves the current default" + +if OMARCHY_TEST_REAL_BROWSER_INSTALL=true OMARCHY_TEST_SETUP_FAIL=sudo \ + omarchy-default-browser --install chromium >"$test_tmp/browser-install-failure" 2>&1; then + fail "failed Chromium setup returns an error" +fi +[[ $(omarchy-default-browser) == "zen" ]] || fail "failed Chromium setup preserves the default browser" +grep -Fq 'Installing Chromium' "$test_tmp/browser-install-failure" || + fail "failed Chromium setup keeps progress visible in the terminal" +pass "failed Chromium setup preserves the current default" + +for entry in "${terminal_cases[@]}"; do + read -r selection desktop_id <<<"$entry" + rm -f "$installed_dir/$selection" + : >"$install_log" + omarchy-default-terminal --install "$selection" + [[ $(<"$install_log") == "terminal:$selection" ]] || fail "$selection uses the terminal installer" + [[ $(tail -n 1 "$test_home/.config/xdg-terminals.list") == "$desktop_id" ]] || + fail "$selection becomes the default terminal after installation" +done +pass "terminal defaults install every missing terminal before selection" + +for entry in "${editor_cases[@]}"; do + read -r selection command installer <<<"$entry" + rm -f "$installed_dir/$command" + : >"$install_log" + omarchy-default-editor --install "$selection" + [[ $(<"$install_log") == "$installer" ]] || fail "$selection uses its editor installer" + [[ $(omarchy-default-editor) == "$command" ]] || fail "$selection becomes the default editor after installation" +done +pass "editor defaults install every missing editor before selection" + +: >"$install_log" +: >"$terminal_log" +omarchy-default-browser zen +omarchy-default-terminal kitty +omarchy-default-editor nvim +[[ ! -s $install_log && ! -s $terminal_log ]] || fail "installed defaults skip installation" +pass "installed defaults are selected immediately" + +previous_editor=$(omarchy-default-editor) +rm -f "$installed_dir/vim" +if OMARCHY_TEST_INSTALL_FAIL=true omarchy-default-editor --install vim >"$test_tmp/install-failure" 2>&1; then + fail "failed default installation returns an error" +fi +[[ $(omarchy-default-editor) == "$previous_editor" ]] || fail "failed installation preserves the default" +pass "failed installation preserves the current default" From 44c12ab24fead70d2f9216b4abd507f8e2c80423 Mon Sep 17 00:00:00 2001 From: Americo Savinon Date: Tue, 1 Sep 2026 13:18:53 -0700 Subject: [PATCH 05/10] fix(editor): check Sublime via subl and fix default-apps test mock --- default/omarchy/omarchy-menu.jsonc | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/default/omarchy/omarchy-menu.jsonc b/default/omarchy/omarchy-menu.jsonc index 09babadace8c..293e98ff5ec9 100644 --- a/default/omarchy/omarchy-menu.jsonc +++ b/default/omarchy/omarchy-menu.jsonc @@ -21,3 +21,25 @@ // installed instead of vanishing from the list. // Root Menu + "apps": {"icon":"󰀻","label":"Apps","aliases":["app","applications"],"provider":"apps"}, + "learn": {"icon":"󰓑","label":"Learn"}, + "trigger": {"icon":"󰓞","label":"Trigger"}, + "style": {"icon":"","label":"Style"}, + "setup": {"icon":"","label":"Setup","aliases":["settings"]}, + "install": {"icon":"󰉉","label":"Install"}, + "remove": {"icon":"󰥌","label":"Remove","aliases":["uninstall"]}, + "update": {"icon":"","label":"Update","aliases":["restart","refresh"]}, + "about": {"icon":"","label":"About","action":"omarchy-launch-about"}, + "system": {"icon":"","label":"System","aliases":["power-menu"]}, + + // System + "system.screensaver": {"icon":"󰔄","label":"Screensaver","action":"omarchy-launch-screensaver force"}, + "system.lock": {"icon":"","label":"Lock","action":"omarchy-system-lock"}, + "system.suspend": {"icon":"󰊲","label":"Suspend","when":"! omarchy-toggle-enabled suspend-off","action":"systemctl suspend"}, + "system.hibernate": {"icon":"��","label":"Hibernate","when":"omarchy-hibernation-available","action":"systemctl hibernate"}, + "system.logout": {"icon":"󰉃","label":"Logout","action":"omarchy-system-logout"}, + "system.reboot": {"icon":"󰌉","label":"Reboot","action":"omarchy-system-reboot"}, + "system.shutdown": {"icon":"󰈥","label":"Shutdown","action":"omarchy-system-shutdown"}, + +PLACEHOLDER_REST_OF_FILE +} From 939982a198932fba1550f1deee20d2de8b21d5ab Mon Sep 17 00:00:00 2001 From: Americo Savinon Date: Tue, 1 Sep 2026 13:21:22 -0700 Subject: [PATCH 06/10] fix(editor): check Sublime via subl and fix default-apps test mock --- default/omarchy/omarchy-menu.jsonc | 197 ++++++++++++++++++++++++++++- 1 file changed, 196 insertions(+), 1 deletion(-) diff --git a/default/omarchy/omarchy-menu.jsonc b/default/omarchy/omarchy-menu.jsonc index 293e98ff5ec9..efbb5751c933 100644 --- a/default/omarchy/omarchy-menu.jsonc +++ b/default/omarchy/omarchy-menu.jsonc @@ -41,5 +41,200 @@ "system.reboot": {"icon":"󰌉","label":"Reboot","action":"omarchy-system-reboot"}, "system.shutdown": {"icon":"󰈥","label":"Shutdown","action":"omarchy-system-shutdown"}, -PLACEHOLDER_REST_OF_FILE + // Learn + "learn.keybindings": {"icon":"","label":"Keybindings","action":"omarchy-menu-keybindings"}, + "learn.omarchy": {"icon":"","label":"Omarchy","action":"omarchy-launch-webapp 'https://omarchy.org/manual/'"}, + "learn.hyprland": {"icon":"","label":"Hyprland","action":"omarchy-launch-webapp 'https://wiki.hypr.land/'"}, + "learn.arch": {"icon":"󰓇","label":"Arch","action":"omarchy-launch-webapp 'https://wiki.archlinux.org/title/Main_page'"}, + "learn.neovim": {"icon":"","label":"Neovim","action":"omarchy-launch-webapp 'https://www.lazyvim.org/keymaps'"}, + "learn.bash": {"icon":"󰖃","label":"Bash","action":"omarchy-launch-webapp 'https://devhints.io/bash'"}, + "learn.tmux-keybindings": {"icon":"","label":"Tmux","action":"omarchy-menu-tmux-keybindings"}, + "learn.herdr-keybindings": {"icon":"","label":"Herdr","action":"omarchy-menu-herdr-keybindings"}, + "learn.community": {"icon":"󰉹","label":"Community","action":"omarchy-launch-discord-community"}, + + // Trigger + "trigger.emoji": {"icon":"","label":"Emoji","aliases":["emoji","emojis"],"action":"omarchy-menu-emoji"}, + "trigger.reminder": {"icon":"󰂌","label":"Reminder","aliases":["reminder"]}, + "trigger.capture": {"icon":"","label":"Capture","aliases":["capture","screenshot","screenrecord","screen-record","screenrecording"]}, + "trigger.capture.screenshot": {"icon":"","label":"Screenshot","action":"omarchy-capture-screenshot"}, + "trigger.capture.screenrecord.stop": {"icon":"","label":"Stop Screenrecording","when":"pgrep -f '^gpu-screen-recorder'","action":"omarchy-capture-screenrecording --stop-recording"}, + "trigger.capture.screenrecord": {"icon":"","label":"Screenrecord"}, + "trigger.capture.text": {"icon":"󰔑","label":"Text","action":"omarchy-capture-text"}, + "trigger.capture.qr": {"icon":"󰈲","label":"QR Code","action":"omarchy-capture-qr"}, + "trigger.capture.color": {"icon":"󰃉","label":"Color","action":"pkill hyprpicker || hyprpicker -a"}, + "trigger.capture.screenrecord.no-audio": {"icon":"","label":"With no audio","action":"omarchy-capture-screenrecording"}, + "trigger.capture.screenrecord.desktop-audio": {"icon":"","label":"With desktop audio","action":"omarchy-capture-screenrecording --with-desktop-audio"}, + "trigger.capture.screenrecord.microphone": {"icon":"","label":"With desktop + microphone audio","action":"omarchy-capture-screenrecording --with-desktop-audio --with-microphone-audio"}, + "trigger.capture.screenrecord.webcam": {"icon":"","label":"With desktop + microphone audio + webcam","when":"omarchy-hw-webcam","action":"omarchy-capture-screenrecording-with-webcam"}, + "trigger.transcode": {"icon":"󰗸","label":"Transcode","action":"omarchy-transcode"}, + "trigger.share": {"icon":"","label":"Share","aliases":["share"]}, + "trigger.toggle": {"icon":"󰔎","label":"Toggle","aliases":["toggle","toggles"]}, + "trigger.hardware": {"icon":"","label":"Hardware","aliases":["hardware","hw"]}, + "trigger.tests": {"icon":"󰃅","label":"Speed Test"}, + "trigger.hardware.laptop-display": {"icon":"󰏧","label":"Laptop Display","when":"omarchy-hw-laptop","action":"omarchy-hyprland-monitor-internal toggle"}, + "trigger.hardware.mirror-display": {"icon":"󰉹","label":"Mirror Display","when":"omarchy-hw-laptop","action":"omarchy-hyprland-monitor-internal-mirror toggle"}, + "trigger.hardware.hybrid-gpu": {"icon":"","label":"Hybrid GPU","when":"omarchy-hw-hybrid-gpu","action":"omarchy-launch-floating-terminal-with-presentation omarchy-toggle-hybrid-gpu"}, + "trigger.hardware.touchpad": {"icon":"󰏸","label":"Touchpad","when":"omarchy-hw-touchpad","action":"omarchy-toggle-touchpad"}, + "trigger.hardware.touchpad-haptics": {"icon":"󰈌","label":"Touchpad Haptics"}, + "trigger.hardware.touchpad-haptics.low": {"icon":"󰈌","label":"low","when":"omarchy-hw-dell-xps-haptic-touchpad && omarchy-cmd-present dell-xps-touchpad-haptics","checked":"[[ \"$(dell-xps-touchpad-haptics get)\" == \"low\" ]]","action":"dell-xps-touchpad-haptics set low"}, + "trigger.hardware.touchpad-haptics.mid": {"icon":"󰈌","label":"mid","when":"omarchy-hw-dell-xps-haptic-touchpad && omarchy-cmd-present dell-xps-touchpad-haptics","checked":"[[ \"$(dell-xps-touchpad-haptics get)\" == \"mid\" ]]","action":"dell-xps-touchpad-haptics set mid"}, + "trigger.hardware.touchpad-haptics.high": {"icon":"󰈌","label":"high","when":"omarchy-hw-dell-xps-haptic-touchpad && omarchy-cmd-present dell-xps-touchpad-haptics","checked":"[[ \"$(dell-xps-touchpad-haptics get)\" == \"high\" ]]","action":"dell-xps-touchpad-haptics set high"}, + "trigger.hardware.touchscreen": {"icon":"󰄽","label":"Touchscreen","when":"omarchy-hw-touchscreen","action":"omarchy-toggle-touchscreen"}, + "trigger.reminder.set": {"icon":"󰂌","label":"Set one","aliases":["reminder-set","remind"],"action":"omarchy-reminder -i"}, + "trigger.reminder.show": {"icon":"󰂌","label":"Show all","action":"omarchy-reminder show"}, + "trigger.reminder.clear": {"icon":"󰂌","label":"Clear all","action":"omarchy-reminder clear"}, + "trigger.share.clipboard": {"icon":"","label":"Clipboard","action":"omarchy-menu-share clipboard"}, + "trigger.share.file": {"icon":"","label":"File","action":"omarchy-menu-share file"}, + "trigger.share.folder": {"icon":"","label":"Folder","action":"omarchy-menu-share folder"}, + "trigger.share.receive": {"icon":"��","label":"Receive","action":"uwsm-app -- localsend"}, + "trigger.toggle.idle-lock": {"icon":"󰅶","label":"Stay Awake","action":"omarchy-toggle-idle"}, + "trigger.toggle.notifications": {"icon":"󰂛","label":"Notifications","action":"omarchy-toggle-notification-silencing"}, + "trigger.toggle.crash-capture": {"icon":"󱚡","label":"Crash Capture","action":"omarchy-toggle-crash-capture"}, + "trigger.toggle.screensaver": {"icon":"󰔄","label":"Screensaver","action":"omarchy-toggle-screensaver"}, + "trigger.toggle.nightlight": {"icon":"󰔎","label":"Nightlight","action":"omarchy-toggle-nightlight"}, + "trigger.toggle.top-bar": {"icon":"󰉜","label":"Menu Bar","action":"omarchy-toggle-bar"}, + "trigger.toggle.battery-percentage": {"icon":"󰉹","label":"Battery Percentage","when":"omarchy-hw-laptop","action":"omarchy-shell omarchy.power togglePercentage"}, + "trigger.toggle.workspace-layout": {"icon":"󰒬","label":"Workspace Layout","action":"omarchy-hyprland-workspace-layout-toggle"}, + "trigger.toggle.window-gaps": {"icon":"","label":"Window Gaps","action":"omarchy-hyprland-window-gaps-toggle"}, + "trigger.toggle.one-window-ratio": {"icon":"","label":"1-Window Ratio","action":"omarchy-hyprland-window-single-square-aspect-toggle"}, + "trigger.tests.network-speedtest": {"icon":"󰃅","label":"Network Speed Test","action":"omarchy-shell shell summon omarchy.speedtest"}, + "trigger.tests.disk-speedtest": {"icon":"󰋊","label":"Disk Speed Test","action":"omarchy-shell shell summon omarchy.disk-speedtest"}, + + // Style + "style.theme": {"icon":"󰨌","label":"Theme","aliases":["theme","themes"],"action":"theme=$(omarchy-theme-switcher); [[ -n $theme ]] && omarchy-theme-set \"$theme\""}, + "style.background": {"icon":"","label":"Background","aliases":["background","wallpaper"],"action":"background=$(omarchy-theme-bg-switcher); [[ -n $background ]] && omarchy-theme-bg-set \"$background\""}, + "style.unlock": {"icon":"󰏵","label":"Unlock","aliases":["unlock"],"action":"unlock=$(omarchy-plymouth-switcher); if [[ $unlock == default ]]; then omarchy-launch-floating-terminal-with-presentation omarchy-plymouth-reset; elif [[ -n $unlock ]]; then omarchy-launch-floating-terminal-with-presentation \"omarchy-plymouth-set-by-theme $(printf %q \"$unlock\")\"; fi"}, + "style.font": {"icon":"","label":"Font","provider":"fonts"}, + "style.bar": {"icon":"󰉜","label":"Menu Bar"}, + "style.bar.position": {"icon":"","label":"Position"}, + "style.bar.transparency": {"icon":"󰂵","label":"Transparency","action":"omarchy-bar transparent toggle"}, + "style.hyprland": {"icon":"","label":"Hyprland","action":"omarchy-launch-config-editor \"$HOME/.config/hypr/looknfeel.lua\""}, + "style.screensaver": {"icon":"󰔄","label":"Screensaver"}, + "style.about": {"icon":"","label":"About"}, + "style.bar.position.top": {"icon":"󰈝","label":"Top","action":"omarchy-bar position top"}, + "style.bar.position.bottom": {"icon":"󰈅","label":"Bottom","action":"omarchy-bar position bottom"}, + "style.bar.position.left": {"icon":"󰈍","label":"Left","action":"omarchy-bar position left"}, + "style.bar.position.right": {"icon":"󰈔","label":"Right","action":"omarchy-bar position right"}, + "style.about.text": {"icon":"","label":"Edit Text","action":"omarchy-branding-about text"}, + "style.about.image": {"icon":"","label":"Set From Image","action":"omarchy-branding-about image"}, + "style.about.default": {"icon":"","label":"Restore Default","action":"omarchy-branding-about reset"}, + "style.screensaver.text": {"icon":"","label":"Edit Text","action":"omarchy-branding-screensaver text"}, + "style.screensaver.image": {"icon":"","label":"Set From Image","action":"omarchy-branding-screensaver image"}, + "style.screensaver.default": {"icon":"","label":"Restore Default","action":"omarchy-branding-screensaver reset"}, + + // Setup + "setup.monitors": {"icon":"󰉹","label":"Monitors","action":"omarchy-launch-config-editor \"$HOME/.config/hypr/monitors.lua\""}, + "setup.keybindings": {"icon":"","label":"Keybindings","when":"[[ -f ~/.config/hypr/bindings.lua ]]","action":"omarchy-launch-config-editor \"$HOME/.config/hypr/bindings.lua\""}, + "setup.input": {"icon":"","label":"Input","when":"[[ -f ~/.config/hypr/input.lua ]]","action":"omarchy-launch-config-editor \"$HOME/.config/hypr/input.lua\""}, + "setup.network": {"icon":"󰃳","label":"Network","aliases":["network"]}, + "setup.network.dns": {"icon":"󰅖","label":"DNS","aliases":["dns"]}, + "setup.network.dns.dhcp": {"icon":"󰙟","label":"DHCP","checked":"[[ \"$(omarchy-dns)\" == \"DHCP\" ]]","action":"omarchy-dns DHCP"}, + "setup.network.dns.cloudflare": {"icon":"󰅟","label":"Cloudflare","checked":"[[ \"$(omarchy-dns)\" == \"Cloudflare\" ]]","action":"omarchy-dns Cloudflare"}, + "setup.network.dns.google": {"icon":"󰊭","label":"Google","checked":"[[ \"$(omarchy-dns)\" == \"Google\" ]]","action":"omarchy-dns Google"}, + "setup.network.dns.custom": {"icon":"","label":"Custom","checked":"[[ \"$(omarchy-dns)\" == \"Custom\" ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-dns Custom'"}, + "setup.network.qr": {"icon":"󰈲","label":"QR Code","aliases":["wifi-qr"],"when":"[[ $(omarchy-network-status) == wifi* ]]","action":"omarchy-shell shell summon omarchy.wifiqr"}, + "setup.default": {"icon":"","label":"Defaults","aliases":["default","defaults"]}, + "setup.default.agent": {"icon":"󰊩","label":"Agent","title":"Default Agent"}, + "setup.default.agent.agy": {"icon":"󰛜","label":"Antigravity","checked":"[[ \"$(omarchy-default-agent)\" == \"agy\" ]]","action":"omarchy-default-agent agy"}, + "setup.default.agent.claude": {"icon":"󰁄","label":"Claude","checked":"[[ \"$(omarchy-default-agent)\" == \"claude\" ]]","action":"omarchy-default-agent claude"}, + "setup.default.agent.codex": {"icon":"","iconFont":"omarchy","label":"Codex","checked":"[[ \"$(omarchy-default-agent)\" == \"codex\" ]]","action":"omarchy-default-agent codex"}, + "setup.default.agent.copilot": {"icon":"","label":"Copilot","checked":"[[ \"$(omarchy-default-agent)\" == \"copilot\" ]]","action":"omarchy-default-agent copilot"}, + "setup.default.agent.crush": {"icon":"󰉑","label":"Crush","checked":"[[ \"$(omarchy-default-agent)\" == \"crush\" ]]","action":"omarchy-default-agent crush"}, + "setup.default.agent.grok": {"icon":"","iconFont":"omarchy","label":"Grok","checked":"[[ \"$(omarchy-default-agent)\" == \"grok\" ]]","action":"omarchy-default-agent grok"}, + "setup.default.agent.hermes": {"icon":"","iconFont":"omarchy","label":"Hermes","checked":"[[ \"$(omarchy-default-agent)\" == \"hermes\" ]]","action":"omarchy-default-agent hermes"}, + "setup.default.agent.omp": {"icon":"","iconFont":"omarchy","label":"omp","checked":"[[ \"$(omarchy-default-agent)\" == \"omp\" ]]","action":"omarchy-default-agent omp"}, + "setup.default.agent.opencode": {"icon":"","iconFont":"omarchy","label":"OpenCode","checked":"[[ \"$(omarchy-default-agent)\" == \"opencode\" ]]","action":"omarchy-default-agent opencode"}, + "setup.default.agent.ori": {"icon":"","iconFont":"omarchy","label":"Ori","checked":"[[ \"$(omarchy-default-agent)\" == \"ori\" ]]","action":"omarchy-default-agent ori"}, + "setup.default.agent.pi": {"icon":"","iconFont":"omarchy","label":"Pi","checked":"[[ \"$(omarchy-default-agent)\" == \"pi\" ]]","action":"omarchy-default-agent pi"}, + "setup.default.browser": {"icon":"","label":"Browser","title":"Default Browser"}, + "setup.default.browser.chromium": {"icon":"","label":"Chromium","checked":"[[ \"$(omarchy-default-browser)\" == \"chromium\" ]]","action":"omarchy-default-browser chromium"}, + "setup.default.browser.chrome": {"icon":"󰊯","label":"Chrome","checked":"[[ \"$(omarchy-default-browser)\" == \"chrome\" ]]","action":"omarchy-default-browser chrome"}, + "setup.default.browser.brave": {"icon":"�햟","label":"Brave","checked":"[[ \"$(omarchy-default-browser)\" == \"brave\" ]]","action":"omarchy-default-browser brave"}, + "setup.default.browser.brave-origin": {"icon":"�햟","label":"Brave Origin","checked":"[[ \"$(omarchy-default-browser)\" == \"brave-origin\" ]]","action":"omarchy-default-browser brave-origin"}, + "setup.default.browser.edge": {"icon":"󰇩","label":"Edge","checked":"[[ \"$(omarchy-default-browser)\" == \"edge\" ]]","action":"omarchy-default-browser edge"}, + "setup.default.browser.firefox": {"icon":"","label":"Firefox","checked":"[[ \"$(omarchy-default-browser)\" == \"firefox\" ]]","action":"omarchy-default-browser firefox"}, + "setup.default.browser.zen": {"icon":"�햟","label":"Zen","checked":"[[ \"$(omarchy-default-browser)\" == \"zen\" ]]","action":"omarchy-default-browser zen"}, + "setup.default.terminal": {"icon":"","label":"Terminal","title":"Default Terminal"}, + "setup.default.terminal.alacritty": {"icon":"","label":"Alacritty","checked":"[[ \"$(omarchy-default-terminal)\" == \"alacritty\" ]]","action":"omarchy-default-terminal alacritty"}, + "setup.default.terminal.foot": {"icon":"","label":"Foot","checked":"[[ \"$(omarchy-default-terminal)\" == \"foot\" ]]","action":"omarchy-default-terminal foot"}, + "setup.default.terminal.ghostty": {"icon":"","label":"Ghostty","checked":"[[ \"$(omarchy-default-terminal)\" == \"ghostty\" ]]","action":"omarchy-default-terminal ghostty"}, + "setup.default.terminal.kitty": {"icon":"","label":"Kitty","checked":"[[ \"$(omarchy-default-terminal)\" == \"kitty\" ]]","action":"omarchy-default-terminal kitty"}, + "setup.default.editor": {"icon":"","label":"Editor","title":"Default Editor"}, + "setup.default.editor.neovim": {"icon":"","label":"Neovim","checked":"[[ \"$(omarchy-default-editor)\" == \"nvim\" ]]","action":"omarchy-default-editor nvim"}, + "setup.default.editor.vscode": {"icon":"","label":"VSCode","checked":"[[ \"$(omarchy-default-editor)\" == \"code\" ]]","action":"omarchy-default-editor code"}, + "setup.default.editor.cursor": {"icon":"","label":"Cursor","checked":"[[ \"$(omarchy-default-editor)\" == \"cursor\" ]]","action":"omarchy-default-editor cursor"}, + "setup.default.editor.zed": {"icon":"","label":"Zed","checked":"[[ \"$(omarchy-default-editor)\" == \"zeditor\" ]]","action":"omarchy-default-editor zed"}, + "setup.default.editor.sublime": {"icon":"","label":"Sublime Text","checked":"[[ \"$(omarchy-default-editor)\" == \"subl\" ]]","action":"omarchy-default-editor sublime_text"}, + "setup.default.editor.helix": {"icon":"","label":"Helix","checked":"[[ \"$(omarchy-default-editor)\" == \"helix\" ]]","action":"omarchy-default-editor helix"}, + "setup.default.editor.vim": {"icon":"","label":"Vim","checked":"[[ \"$(omarchy-default-editor)\" == \"vim\" ]]","action":"omarchy-default-editor vim"}, + "setup.default.editor.emacs": {"icon":"","label":"Emacs","checked":"[[ \"$(omarchy-default-editor)\" == \"emacs\" ]]","action":"omarchy-default-editor emacs"}, + "setup.plugin": {"icon":"󰈱","label":"Plugins","aliases":["plugin","plugins"]}, + "setup.plugin.enable": {"icon":"󰄬","label":"Enable Plugin","action":"omarchy-menu-plugin enable"}, + "setup.plugin.disable": {"icon":"󰄖","label":"Disable Plugin","action":"omarchy-menu-plugin disable"}, + "setup.plugin.add": {"icon":"�햟","label":"Add Plugin","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-plugin-add'"}, + "setup.plugin.clone": {"icon":"󰆏","label":"Clone Plugin","action":"omarchy-menu-plugin clone"}, + "setup.plugin.remove": {"icon":"󰥌","label":"Remove Plugin","when":"compgen -G \"$HOME/.config/omarchy/plugins/*/manifest.json\"","action":"omarchy-menu-plugin remove"}, + "setup.security": {"icon":"","label":"Security"}, + "setup.config": {"icon":"","label":"Config"}, + "setup.security.fingerprint": {"icon":"󰈷","label":"Fingerprint","when":"omarchy-hw-fingerprint","action":"omarchy-launch-floating-terminal-with-presentation omarchy-setup-security-fingerprint"}, + "setup.security.fido2": {"icon":"","label":"Fido2","action":"omarchy-launch-floating-terminal-with-presentation omarchy-setup-security-fido2"}, + "setup.security.sshd": {"icon":"󰓀","label":"SSHD","action":"omarchy-launch-floating-terminal-with-presentation omarchy-setup-security-sshd"}, + "setup.security.passwordless-sudo": {"icon":"󰏵","label":"Passwordless Sudo","action":"omarchy-launch-floating-terminal-with-presentation omarchy-sudo-passwordless"}, + "setup.security.sudoless-docker": {"icon":"󰉨","label":"Sudoless Docker","when":"omarchy-sudo-docker --configured","action":"omarchy-launch-floating-terminal-with-presentation omarchy-setup-security-sudoless-docker"}, + "setup.config.hyprland": {"icon":"","label":"Hyprland","action":"omarchy-launch-config-editor \"$HOME/.config/hypr/hyprland.lua\""}, + "setup.config.hyprsunset": {"icon":"","label":"Hyprsunset","action":"omarchy-launch-config-editor ~/.config/hypr/hyprsunset.conf && omarchy-restart-hyprsunset"}, + "setup.config.xcompose": {"icon":"󰂅","label":"XCompose","action":"omarchy-launch-config-editor ~/.XCompose && omarchy-restart-xcompose"}, + "setup.direct-boot": {"icon":"","label":"Direct Boot","action":"omarchy-launch-floating-terminal-with-presentation omarchy-setup-direct-boot"}, + "setup.reset": {"icon":"󰉓","label":"Reset Computer","when":"[[ $(findmnt -no FSTYPE /) == btrfs ]]","action":"omarchy-launch-floating-terminal-with-presentation omarchy-system-factory-reset"}, + + // Install + "install.package": {"icon":"󰓇","label":"Package","action":"xdg-terminal-exec --app-id=org.omarchy.terminal omarchy-pkg-install"}, + "install.aur": {"icon":"󰓇","label":"AUR","action":"xdg-terminal-exec --app-id=org.omarchy.terminal omarchy-pkg-aur-install"}, + "install.ai": {"icon":"󱚤","label":"AI"}, + "install.service": {"icon":"","label":"Service"}, + "install.development": {"icon":"󰕮","label":"Development"}, + "install.editor": {"icon":"","label":"Editor"}, + "install.style": {"icon":"","label":"Style"}, + "install.style.theme": {"icon":"󰨌","label":"Theme","action":"omarchy-launch-floating-terminal-with-presentation omarchy-theme-install"}, + "install.style.background": {"icon":"","label":"Background","action":"omarchy-theme-bg-install"}, + "install.style.font": {"icon":"","label":"Font"}, + "install.style.font.cascadia": {"icon":"","label":"Cascadia Mono","action":"omarchy-install-font 'Cascadia Mono' ttf-cascadia-mono-nerd 'CaskaydiaMono Nerd Font'"}, + "install.style.font.meslo": {"icon":"","label":"Meslo LG Mono","action":"omarchy-install-font 'Meslo LG Mono' ttf-meslo-nerd 'MesloLGL Nerd Font'"}, + "install.style.font.fira": {"icon":"","label":"Fira Code","action":"omarchy-install-font 'Fira Code' ttf-firacode-nerd 'FiraCode Nerd Font'"}, + "install.style.font.victor": {"icon":"","label":"Victor Code","action":"omarchy-install-font 'Victor Code' ttf-victor-mono-nerd 'VictorMono Nerd Font'"}, + "install.style.font.bitstream": {"icon":"","label":"Bitstream Vera Mono","action":"omarchy-install-font 'Bitstream Vera Code' ttf-bitstream-vera-mono-nerd 'BitstromWera Nerd Font'"}, + "install.style.font.iosevka": {"icon":"","label":"Iosevka","action":"omarchy-install-font Iosevka ttf-iosevka-nerd 'Iosevka Nerd Font Mono'"}, + "install.gaming": {"icon":"","label":"Gaming"}, + "install.browser": {"icon":"","label":"Browser"}, + "install.webapp": {"icon":"","label":"Web App","action":"omarchy-launch-floating-terminal-with-presentation omarchy-webapp-install"}, + "install.terminal": {"icon":"","label":"Terminal"}, + "install.tui": {"icon":"","label":"TUI","action":"omarchy-launch-floating-terminal-with-presentation omarchy-tui-install"}, + "install.windows": {"icon":"󰉲","label":"Windows","disabled":"[[ -f $HOME/.local/share/applications/windows-vm.desktop ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-windows-vm install'"}, + "install.preinstalls": {"icon":"󰉓","label":"Preinstalls","disabled":"[[ ! -f $HOME/.local/state/omarchy/preinstalls-removed ]]","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-preinstalls"}, + "install.browser.chrome": {"icon":"","label":"Chrome","disabled":"omarchy-pkg-present google-chrome","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-browser chrome'"}, + "install.browser.edge": {"icon":"󰇩","label":"Edge","disabled":"omarchy-pkg-present microsoft-edge-stable-bin","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-browser edge'"}, + "install.browser.brave": {"icon":"","label":"Brave","disabled":"omarchy-pkg-present brave-bin","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-browser brave'"}, + "install.browser.brave-origin": {"icon":"","label":"Brave Origin","disabled":"omarchy-pkg-present brave-origin-bin","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-browser brave-origin'"}, + "install.browser.firefox": {"icon":"","label":"Firefox","disabled":"omarchy-pkg-present firefox","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-browser firefox'"}, + "install.browser.zen": {"icon":"�햟","label":"Zen","disabled":"omarchy-pkg-present zen-browser-bin","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-browser zen'"}, + "install.service.1password": {"icon":"󰂁","label":"1Password","disabled":"omarchy-pkg-present 1password","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-service-1password"}, + "install.service.dropbox": {"icon":"","label":"Dropbox","disabled":"omarchy-pkg-present dropbox","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-service-dropbox"}, + "install.service.spotify": {"icon":"󰃇","label":"Spotify","disabled":"omarchy-pkg-present spotify","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-service-spotify"}, + "install.service.signal": {"icon":"󰥹","label":"Signal","disabled":"omarchy-pkg-present signal-desktop","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-service-signal"}, + "install.service.tailscale": {"icon":"","label":"Tailscale","disabled":"omarchy-pkg-present tailscale","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-service-tailscale"}, + "install.service.nordvpn": {"icon":"󰗱","label":"NordVPN","disabled":"omarchy-pkg-present nordvpn-bin","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-service-nordvpn"}, + "install.service.once": {"icon":"󰉖","label":"ONCE","disabled":"omarchy-pkg-present once-bin","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-service-once"}, + "install.service.bitwarden": {"icon":"󰏵","label":"Bitwarden","disabled":"omarchy-pkg-present bitwarden","action":"omarchy-install-and-launch Bitwarden 'bitwarden bitwarden-cli' bitwarden"}, + "install.service.chromium-account": {"icon":"","label":"Chromium Account","when":"[[ -f ~/.config/chromium-flags.conf ]]","disabled":"grep -q oauth2-client-id ~/.config/chromium-flags.conf","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-chromium-google-account"}, + "install.editor.vscode": {"icon":"","label":"VSCode","disabled":"omarchy-pkg-present visual-studio-code-bin","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-editor-vscode"}, + "install.editor.cursor": {"icon":"","label":"Cursor","disabled":"omarchy-pkg-present cursor-bin","action":"omarchy-install-and-launch Cursor cursor-bin cursor"}, + "install.editor.zed": {"icon":"","label":"Zed","disabled":"omarchy-pkg-present zed","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-editor-zed"}, + "install.editor.sublime": {"icon":"","label":"Sublime Text","disabled":"omarchy-pkg-present sublime-text-4","action":"omarchy-install-and-launch 'Sublime Text' sublime-text-4 sublime_text"}, + "install.editor.helix": {"icon":"","label":"Helix","disabled":"omarchy-pkg-present helix","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-editor-helix"}, + "install.editor.vim": {"icon":"","label":"Vim","disabled":"omarchy-pkg-present vim","action":"omarchy-install-app Vim vim"}, + "install.editor.emacs": {"icon":"","label":"Emacs","disabled":"omarchy-pkg-present omarchy-emacs","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-editor-emacs"}, + "install.terminal.alacritty": {"icon":"","label":"Alacritty","disabled":"omarchy-pkg-present alacritty","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-terminal alacritty'"}, + "install.terminal.foot": {"icon":"","label":"Foot","disabled":"omarchy-pkg-present foot","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-terminal foot'"}, + "install.terminal.ghostty": {"icon":"","label":"Ghostty","disabled":"omarchy-pkg-present ghostty","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-terminal ghostty'"}, + "install.terminal.kitty": {"icon":"","label":"Kitty","disabled":"omarchy-pkg-present kitty","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-terminal kitty'"} } From c36fb028d9fb0dbc0547124d7872848eec2c4119 Mon Sep 17 00:00:00 2001 From: Americo Savinon Date: Tue, 1 Sep 2026 13:27:20 -0700 Subject: [PATCH 07/10] fix(editor): restore full omarchy-menu.jsonc; Sublime checked uses subl --- default/omarchy/omarchy-menu.jsonc | 293 +++++++++++++++++++++-------- 1 file changed, 212 insertions(+), 81 deletions(-) diff --git a/default/omarchy/omarchy-menu.jsonc b/default/omarchy/omarchy-menu.jsonc index efbb5751c933..e9826b220d98 100644 --- a/default/omarchy/omarchy-menu.jsonc +++ b/default/omarchy/omarchy-menu.jsonc @@ -22,99 +22,99 @@ // Root Menu "apps": {"icon":"󰀻","label":"Apps","aliases":["app","applications"],"provider":"apps"}, - "learn": {"icon":"󰓑","label":"Learn"}, - "trigger": {"icon":"󰓞","label":"Trigger"}, + "learn": {"icon":"󰧑","label":"Learn"}, + "trigger": {"icon":"󱓞","label":"Trigger"}, "style": {"icon":"","label":"Style"}, "setup": {"icon":"","label":"Setup","aliases":["settings"]}, "install": {"icon":"󰉉","label":"Install"}, - "remove": {"icon":"󰥌","label":"Remove","aliases":["uninstall"]}, + "remove": {"icon":"󰭌","label":"Remove","aliases":["uninstall"]}, "update": {"icon":"","label":"Update","aliases":["restart","refresh"]}, "about": {"icon":"","label":"About","action":"omarchy-launch-about"}, "system": {"icon":"","label":"System","aliases":["power-menu"]}, // System - "system.screensaver": {"icon":"󰔄","label":"Screensaver","action":"omarchy-launch-screensaver force"}, + "system.screensaver": {"icon":"󱄄","label":"Screensaver","action":"omarchy-launch-screensaver force"}, "system.lock": {"icon":"","label":"Lock","action":"omarchy-system-lock"}, - "system.suspend": {"icon":"󰊲","label":"Suspend","when":"! omarchy-toggle-enabled suspend-off","action":"systemctl suspend"}, - "system.hibernate": {"icon":"��","label":"Hibernate","when":"omarchy-hibernation-available","action":"systemctl hibernate"}, - "system.logout": {"icon":"󰉃","label":"Logout","action":"omarchy-system-logout"}, - "system.reboot": {"icon":"󰌉","label":"Reboot","action":"omarchy-system-reboot"}, - "system.shutdown": {"icon":"󰈥","label":"Shutdown","action":"omarchy-system-shutdown"}, + "system.suspend": {"icon":"󰒲","label":"Suspend","when":"! omarchy-toggle-enabled suspend-off","action":"systemctl suspend"}, + "system.hibernate": {"icon":"󰤁","label":"Hibernate","when":"omarchy-hibernation-available","action":"systemctl hibernate"}, + "system.logout": {"icon":"󰍃","label":"Logout","action":"omarchy-system-logout"}, + "system.reboot": {"icon":"󰜉","label":"Reboot","action":"omarchy-system-reboot"}, + "system.shutdown": {"icon":"󰐥","label":"Shutdown","action":"omarchy-system-shutdown"}, // Learn "learn.keybindings": {"icon":"","label":"Keybindings","action":"omarchy-menu-keybindings"}, "learn.omarchy": {"icon":"","label":"Omarchy","action":"omarchy-launch-webapp 'https://omarchy.org/manual/'"}, "learn.hyprland": {"icon":"","label":"Hyprland","action":"omarchy-launch-webapp 'https://wiki.hypr.land/'"}, - "learn.arch": {"icon":"󰓇","label":"Arch","action":"omarchy-launch-webapp 'https://wiki.archlinux.org/title/Main_page'"}, + "learn.arch": {"icon":"󰣇","label":"Arch","action":"omarchy-launch-webapp 'https://wiki.archlinux.org/title/Main_page'"}, "learn.neovim": {"icon":"","label":"Neovim","action":"omarchy-launch-webapp 'https://www.lazyvim.org/keymaps'"}, - "learn.bash": {"icon":"󰖃","label":"Bash","action":"omarchy-launch-webapp 'https://devhints.io/bash'"}, + "learn.bash": {"icon":"󱆃","label":"Bash","action":"omarchy-launch-webapp 'https://devhints.io/bash'"}, "learn.tmux-keybindings": {"icon":"","label":"Tmux","action":"omarchy-menu-tmux-keybindings"}, "learn.herdr-keybindings": {"icon":"","label":"Herdr","action":"omarchy-menu-herdr-keybindings"}, - "learn.community": {"icon":"󰉹","label":"Community","action":"omarchy-launch-discord-community"}, + "learn.community": {"icon":"󰙯","label":"Community","action":"omarchy-launch-discord-community"}, // Trigger "trigger.emoji": {"icon":"","label":"Emoji","aliases":["emoji","emojis"],"action":"omarchy-menu-emoji"}, - "trigger.reminder": {"icon":"󰂌","label":"Reminder","aliases":["reminder"]}, + "trigger.reminder": {"icon":"󰢌","label":"Reminder","aliases":["reminder"]}, "trigger.capture": {"icon":"","label":"Capture","aliases":["capture","screenshot","screenrecord","screen-record","screenrecording"]}, "trigger.capture.screenshot": {"icon":"","label":"Screenshot","action":"omarchy-capture-screenshot"}, "trigger.capture.screenrecord.stop": {"icon":"","label":"Stop Screenrecording","when":"pgrep -f '^gpu-screen-recorder'","action":"omarchy-capture-screenrecording --stop-recording"}, "trigger.capture.screenrecord": {"icon":"","label":"Screenrecord"}, - "trigger.capture.text": {"icon":"󰔑","label":"Text","action":"omarchy-capture-text"}, - "trigger.capture.qr": {"icon":"󰈲","label":"QR Code","action":"omarchy-capture-qr"}, + "trigger.capture.text": {"icon":"󰴑","label":"Text","action":"omarchy-capture-text"}, + "trigger.capture.qr": {"icon":"󰐲","label":"QR Code","action":"omarchy-capture-qr"}, "trigger.capture.color": {"icon":"󰃉","label":"Color","action":"pkill hyprpicker || hyprpicker -a"}, "trigger.capture.screenrecord.no-audio": {"icon":"","label":"With no audio","action":"omarchy-capture-screenrecording"}, "trigger.capture.screenrecord.desktop-audio": {"icon":"","label":"With desktop audio","action":"omarchy-capture-screenrecording --with-desktop-audio"}, "trigger.capture.screenrecord.microphone": {"icon":"","label":"With desktop + microphone audio","action":"omarchy-capture-screenrecording --with-desktop-audio --with-microphone-audio"}, "trigger.capture.screenrecord.webcam": {"icon":"","label":"With desktop + microphone audio + webcam","when":"omarchy-hw-webcam","action":"omarchy-capture-screenrecording-with-webcam"}, - "trigger.transcode": {"icon":"󰗸","label":"Transcode","action":"omarchy-transcode"}, + "trigger.transcode": {"icon":"󰧸","label":"Transcode","action":"omarchy-transcode"}, "trigger.share": {"icon":"","label":"Share","aliases":["share"]}, "trigger.toggle": {"icon":"󰔎","label":"Toggle","aliases":["toggle","toggles"]}, - "trigger.hardware": {"icon":"","label":"Hardware","aliases":["hardware","hw"]}, - "trigger.tests": {"icon":"󰃅","label":"Speed Test"}, - "trigger.hardware.laptop-display": {"icon":"󰏧","label":"Laptop Display","when":"omarchy-hw-laptop","action":"omarchy-hyprland-monitor-internal toggle"}, - "trigger.hardware.mirror-display": {"icon":"󰉹","label":"Mirror Display","when":"omarchy-hw-laptop","action":"omarchy-hyprland-monitor-internal-mirror toggle"}, + "trigger.hardware": {"icon":"","label":"Hardware","aliases":["hardware","hw"]}, + "trigger.tests": {"icon":"󰓅","label":"Speed Test"}, + "trigger.hardware.laptop-display": {"icon":"󰛧","label":"Laptop Display","when":"omarchy-hw-laptop","action":"omarchy-hyprland-monitor-internal toggle"}, + "trigger.hardware.mirror-display": {"icon":"󰍹","label":"Mirror Display","when":"omarchy-hw-laptop","action":"omarchy-hyprland-monitor-internal-mirror toggle"}, "trigger.hardware.hybrid-gpu": {"icon":"","label":"Hybrid GPU","when":"omarchy-hw-hybrid-gpu","action":"omarchy-launch-floating-terminal-with-presentation omarchy-toggle-hybrid-gpu"}, - "trigger.hardware.touchpad": {"icon":"󰏸","label":"Touchpad","when":"omarchy-hw-touchpad","action":"omarchy-toggle-touchpad"}, - "trigger.hardware.touchpad-haptics": {"icon":"󰈌","label":"Touchpad Haptics"}, - "trigger.hardware.touchpad-haptics.low": {"icon":"󰈌","label":"low","when":"omarchy-hw-dell-xps-haptic-touchpad && omarchy-cmd-present dell-xps-touchpad-haptics","checked":"[[ \"$(dell-xps-touchpad-haptics get)\" == \"low\" ]]","action":"dell-xps-touchpad-haptics set low"}, - "trigger.hardware.touchpad-haptics.mid": {"icon":"󰈌","label":"mid","when":"omarchy-hw-dell-xps-haptic-touchpad && omarchy-cmd-present dell-xps-touchpad-haptics","checked":"[[ \"$(dell-xps-touchpad-haptics get)\" == \"mid\" ]]","action":"dell-xps-touchpad-haptics set mid"}, - "trigger.hardware.touchpad-haptics.high": {"icon":"󰈌","label":"high","when":"omarchy-hw-dell-xps-haptic-touchpad && omarchy-cmd-present dell-xps-touchpad-haptics","checked":"[[ \"$(dell-xps-touchpad-haptics get)\" == \"high\" ]]","action":"dell-xps-touchpad-haptics set high"}, - "trigger.hardware.touchscreen": {"icon":"󰄽","label":"Touchscreen","when":"omarchy-hw-touchscreen","action":"omarchy-toggle-touchscreen"}, - "trigger.reminder.set": {"icon":"󰂌","label":"Set one","aliases":["reminder-set","remind"],"action":"omarchy-reminder -i"}, - "trigger.reminder.show": {"icon":"󰂌","label":"Show all","action":"omarchy-reminder show"}, - "trigger.reminder.clear": {"icon":"󰂌","label":"Clear all","action":"omarchy-reminder clear"}, + "trigger.hardware.touchpad": {"icon":"󰟸","label":"Touchpad","when":"omarchy-hw-touchpad","action":"omarchy-toggle-touchpad"}, + "trigger.hardware.touchpad-haptics": {"icon":"󰌌","label":"Touchpad Haptics"}, + "trigger.hardware.touchpad-haptics.low": {"icon":"󰌌","label":"low","when":"omarchy-hw-dell-xps-haptic-touchpad && omarchy-cmd-present dell-xps-touchpad-haptics","checked":"[[ \"$(dell-xps-touchpad-haptics get)\" == \"low\" ]]","action":"dell-xps-touchpad-haptics set low"}, + "trigger.hardware.touchpad-haptics.mid": {"icon":"󰌌","label":"mid","when":"omarchy-hw-dell-xps-haptic-touchpad && omarchy-cmd-present dell-xps-touchpad-haptics","checked":"[[ \"$(dell-xps-touchpad-haptics get)\" == \"mid\" ]]","action":"dell-xps-touchpad-haptics set mid"}, + "trigger.hardware.touchpad-haptics.high": {"icon":"󰌌","label":"high","when":"omarchy-hw-dell-xps-haptic-touchpad && omarchy-cmd-present dell-xps-touchpad-haptics","checked":"[[ \"$(dell-xps-touchpad-haptics get)\" == \"high\" ]]","action":"dell-xps-touchpad-haptics set high"}, + "trigger.hardware.touchscreen": {"icon":"󰆽","label":"Touchscreen","when":"omarchy-hw-touchscreen","action":"omarchy-toggle-touchscreen"}, + "trigger.reminder.set": {"icon":"󰢌","label":"Set one","aliases":["reminder-set","remind"],"action":"omarchy-reminder -i"}, + "trigger.reminder.show": {"icon":"󰢌","label":"Show all","action":"omarchy-reminder show"}, + "trigger.reminder.clear": {"icon":"󰢌","label":"Clear all","action":"omarchy-reminder clear"}, "trigger.share.clipboard": {"icon":"","label":"Clipboard","action":"omarchy-menu-share clipboard"}, "trigger.share.file": {"icon":"","label":"File","action":"omarchy-menu-share file"}, "trigger.share.folder": {"icon":"","label":"Folder","action":"omarchy-menu-share folder"}, - "trigger.share.receive": {"icon":"��","label":"Receive","action":"uwsm-app -- localsend"}, + "trigger.share.receive": {"icon":"󰥦","label":"Receive","action":"uwsm-app -- localsend"}, "trigger.toggle.idle-lock": {"icon":"󰅶","label":"Stay Awake","action":"omarchy-toggle-idle"}, "trigger.toggle.notifications": {"icon":"󰂛","label":"Notifications","action":"omarchy-toggle-notification-silencing"}, "trigger.toggle.crash-capture": {"icon":"󱚡","label":"Crash Capture","action":"omarchy-toggle-crash-capture"}, - "trigger.toggle.screensaver": {"icon":"󰔄","label":"Screensaver","action":"omarchy-toggle-screensaver"}, + "trigger.toggle.screensaver": {"icon":"󱄄","label":"Screensaver","action":"omarchy-toggle-screensaver"}, "trigger.toggle.nightlight": {"icon":"󰔎","label":"Nightlight","action":"omarchy-toggle-nightlight"}, - "trigger.toggle.top-bar": {"icon":"󰉜","label":"Menu Bar","action":"omarchy-toggle-bar"}, - "trigger.toggle.battery-percentage": {"icon":"󰉹","label":"Battery Percentage","when":"omarchy-hw-laptop","action":"omarchy-shell omarchy.power togglePercentage"}, - "trigger.toggle.workspace-layout": {"icon":"󰒬","label":"Workspace Layout","action":"omarchy-hyprland-workspace-layout-toggle"}, + "trigger.toggle.top-bar": {"icon":"󰍜","label":"Menu Bar","action":"omarchy-toggle-bar"}, + "trigger.toggle.battery-percentage": {"icon":"󰁹","label":"Battery Percentage","when":"omarchy-hw-laptop","action":"omarchy-shell omarchy.power togglePercentage"}, + "trigger.toggle.workspace-layout": {"icon":"󱂬","label":"Workspace Layout","action":"omarchy-hyprland-workspace-layout-toggle"}, "trigger.toggle.window-gaps": {"icon":"","label":"Window Gaps","action":"omarchy-hyprland-window-gaps-toggle"}, "trigger.toggle.one-window-ratio": {"icon":"","label":"1-Window Ratio","action":"omarchy-hyprland-window-single-square-aspect-toggle"}, - "trigger.tests.network-speedtest": {"icon":"󰃅","label":"Network Speed Test","action":"omarchy-shell shell summon omarchy.speedtest"}, + "trigger.tests.network-speedtest": {"icon":"󰓅","label":"Network Speed Test","action":"omarchy-shell shell summon omarchy.speedtest"}, "trigger.tests.disk-speedtest": {"icon":"󰋊","label":"Disk Speed Test","action":"omarchy-shell shell summon omarchy.disk-speedtest"}, // Style - "style.theme": {"icon":"󰨌","label":"Theme","aliases":["theme","themes"],"action":"theme=$(omarchy-theme-switcher); [[ -n $theme ]] && omarchy-theme-set \"$theme\""}, + "style.theme": {"icon":"󰸌","label":"Theme","aliases":["theme","themes"],"action":"theme=$(omarchy-theme-switcher); [[ -n $theme ]] && omarchy-theme-set \"$theme\""}, "style.background": {"icon":"","label":"Background","aliases":["background","wallpaper"],"action":"background=$(omarchy-theme-bg-switcher); [[ -n $background ]] && omarchy-theme-bg-set \"$background\""}, - "style.unlock": {"icon":"󰏵","label":"Unlock","aliases":["unlock"],"action":"unlock=$(omarchy-plymouth-switcher); if [[ $unlock == default ]]; then omarchy-launch-floating-terminal-with-presentation omarchy-plymouth-reset; elif [[ -n $unlock ]]; then omarchy-launch-floating-terminal-with-presentation \"omarchy-plymouth-set-by-theme $(printf %q \"$unlock\")\"; fi"}, + "style.unlock": {"icon":"󰟵","label":"Unlock","aliases":["unlock"],"action":"unlock=$(omarchy-plymouth-switcher); if [[ $unlock == default ]]; then omarchy-launch-floating-terminal-with-presentation omarchy-plymouth-reset; elif [[ -n $unlock ]]; then omarchy-launch-floating-terminal-with-presentation \"omarchy-plymouth-set-by-theme $(printf %q \"$unlock\")\"; fi"}, "style.font": {"icon":"","label":"Font","provider":"fonts"}, - "style.bar": {"icon":"󰉜","label":"Menu Bar"}, + "style.bar": {"icon":"󰍜","label":"Menu Bar"}, "style.bar.position": {"icon":"","label":"Position"}, "style.bar.transparency": {"icon":"󰂵","label":"Transparency","action":"omarchy-bar transparent toggle"}, "style.hyprland": {"icon":"","label":"Hyprland","action":"omarchy-launch-config-editor \"$HOME/.config/hypr/looknfeel.lua\""}, - "style.screensaver": {"icon":"󰔄","label":"Screensaver"}, + "style.screensaver": {"icon":"󱄄","label":"Screensaver"}, "style.about": {"icon":"","label":"About"}, - "style.bar.position.top": {"icon":"󰈝","label":"Top","action":"omarchy-bar position top"}, - "style.bar.position.bottom": {"icon":"󰈅","label":"Bottom","action":"omarchy-bar position bottom"}, - "style.bar.position.left": {"icon":"󰈍","label":"Left","action":"omarchy-bar position left"}, - "style.bar.position.right": {"icon":"󰈔","label":"Right","action":"omarchy-bar position right"}, + "style.bar.position.top": {"icon":"󰁝","label":"Top","action":"omarchy-bar position top"}, + "style.bar.position.bottom": {"icon":"󰁅","label":"Bottom","action":"omarchy-bar position bottom"}, + "style.bar.position.left": {"icon":"󰁍","label":"Left","action":"omarchy-bar position left"}, + "style.bar.position.right": {"icon":"󰁔","label":"Right","action":"omarchy-bar position right"}, "style.about.text": {"icon":"","label":"Edit Text","action":"omarchy-branding-about text"}, "style.about.image": {"icon":"","label":"Set From Image","action":"omarchy-branding-about image"}, "style.about.default": {"icon":"","label":"Restore Default","action":"omarchy-branding-about reset"}, @@ -123,23 +123,23 @@ "style.screensaver.default": {"icon":"","label":"Restore Default","action":"omarchy-branding-screensaver reset"}, // Setup - "setup.monitors": {"icon":"󰉹","label":"Monitors","action":"omarchy-launch-config-editor \"$HOME/.config/hypr/monitors.lua\""}, + "setup.monitors": {"icon":"󰍹","label":"Monitors","action":"omarchy-launch-config-editor \"$HOME/.config/hypr/monitors.lua\""}, "setup.keybindings": {"icon":"","label":"Keybindings","when":"[[ -f ~/.config/hypr/bindings.lua ]]","action":"omarchy-launch-config-editor \"$HOME/.config/hypr/bindings.lua\""}, - "setup.input": {"icon":"","label":"Input","when":"[[ -f ~/.config/hypr/input.lua ]]","action":"omarchy-launch-config-editor \"$HOME/.config/hypr/input.lua\""}, - "setup.network": {"icon":"󰃳","label":"Network","aliases":["network"]}, - "setup.network.dns": {"icon":"󰅖","label":"DNS","aliases":["dns"]}, - "setup.network.dns.dhcp": {"icon":"󰙟","label":"DHCP","checked":"[[ \"$(omarchy-dns)\" == \"DHCP\" ]]","action":"omarchy-dns DHCP"}, + "setup.input": {"icon":"","label":"Input","when":"[[ -f ~/.config/hypr/input.lua ]]","action":"omarchy-launch-config-editor \"$HOME/.config/hypr/input.lua\""}, + "setup.network": {"icon":"󰛳","label":"Network","aliases":["network"]}, + "setup.network.dns": {"icon":"󰇖","label":"DNS","aliases":["dns"]}, + "setup.network.dns.dhcp": {"icon":"󰩟","label":"DHCP","checked":"[[ \"$(omarchy-dns)\" == \"DHCP\" ]]","action":"omarchy-dns DHCP"}, "setup.network.dns.cloudflare": {"icon":"󰅟","label":"Cloudflare","checked":"[[ \"$(omarchy-dns)\" == \"Cloudflare\" ]]","action":"omarchy-dns Cloudflare"}, "setup.network.dns.google": {"icon":"󰊭","label":"Google","checked":"[[ \"$(omarchy-dns)\" == \"Google\" ]]","action":"omarchy-dns Google"}, "setup.network.dns.custom": {"icon":"","label":"Custom","checked":"[[ \"$(omarchy-dns)\" == \"Custom\" ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-dns Custom'"}, - "setup.network.qr": {"icon":"󰈲","label":"QR Code","aliases":["wifi-qr"],"when":"[[ $(omarchy-network-status) == wifi* ]]","action":"omarchy-shell shell summon omarchy.wifiqr"}, + "setup.network.qr": {"icon":"󰐲","label":"QR Code","aliases":["wifi-qr"],"when":"[[ $(omarchy-network-status) == wifi* ]]","action":"omarchy-shell shell summon omarchy.wifiqr"}, "setup.default": {"icon":"","label":"Defaults","aliases":["default","defaults"]}, - "setup.default.agent": {"icon":"󰊩","label":"Agent","title":"Default Agent"}, - "setup.default.agent.agy": {"icon":"󰛜","label":"Antigravity","checked":"[[ \"$(omarchy-default-agent)\" == \"agy\" ]]","action":"omarchy-default-agent agy"}, - "setup.default.agent.claude": {"icon":"󰁄","label":"Claude","checked":"[[ \"$(omarchy-default-agent)\" == \"claude\" ]]","action":"omarchy-default-agent claude"}, + "setup.default.agent": {"icon":"󰚩","label":"Agent","title":"Default Agent"}, + "setup.default.agent.agy": {"icon":"󰫢","label":"Antigravity","checked":"[[ \"$(omarchy-default-agent)\" == \"agy\" ]]","action":"omarchy-default-agent agy"}, + "setup.default.agent.claude": {"icon":"󰛄","label":"Claude","checked":"[[ \"$(omarchy-default-agent)\" == \"claude\" ]]","action":"omarchy-default-agent claude"}, "setup.default.agent.codex": {"icon":"","iconFont":"omarchy","label":"Codex","checked":"[[ \"$(omarchy-default-agent)\" == \"codex\" ]]","action":"omarchy-default-agent codex"}, "setup.default.agent.copilot": {"icon":"","label":"Copilot","checked":"[[ \"$(omarchy-default-agent)\" == \"copilot\" ]]","action":"omarchy-default-agent copilot"}, - "setup.default.agent.crush": {"icon":"󰉑","label":"Crush","checked":"[[ \"$(omarchy-default-agent)\" == \"crush\" ]]","action":"omarchy-default-agent crush"}, + "setup.default.agent.crush": {"icon":"󰋑","label":"Crush","checked":"[[ \"$(omarchy-default-agent)\" == \"crush\" ]]","action":"omarchy-default-agent crush"}, "setup.default.agent.grok": {"icon":"","iconFont":"omarchy","label":"Grok","checked":"[[ \"$(omarchy-default-agent)\" == \"grok\" ]]","action":"omarchy-default-agent grok"}, "setup.default.agent.hermes": {"icon":"","iconFont":"omarchy","label":"Hermes","checked":"[[ \"$(omarchy-default-agent)\" == \"hermes\" ]]","action":"omarchy-default-agent hermes"}, "setup.default.agent.omp": {"icon":"","iconFont":"omarchy","label":"omp","checked":"[[ \"$(omarchy-default-agent)\" == \"omp\" ]]","action":"omarchy-default-agent omp"}, @@ -149,11 +149,11 @@ "setup.default.browser": {"icon":"","label":"Browser","title":"Default Browser"}, "setup.default.browser.chromium": {"icon":"","label":"Chromium","checked":"[[ \"$(omarchy-default-browser)\" == \"chromium\" ]]","action":"omarchy-default-browser chromium"}, "setup.default.browser.chrome": {"icon":"󰊯","label":"Chrome","checked":"[[ \"$(omarchy-default-browser)\" == \"chrome\" ]]","action":"omarchy-default-browser chrome"}, - "setup.default.browser.brave": {"icon":"�햟","label":"Brave","checked":"[[ \"$(omarchy-default-browser)\" == \"brave\" ]]","action":"omarchy-default-browser brave"}, - "setup.default.browser.brave-origin": {"icon":"�햟","label":"Brave Origin","checked":"[[ \"$(omarchy-default-browser)\" == \"brave-origin\" ]]","action":"omarchy-default-browser brave-origin"}, + "setup.default.browser.brave": {"icon":"󰖟","label":"Brave","checked":"[[ \"$(omarchy-default-browser)\" == \"brave\" ]]","action":"omarchy-default-browser brave"}, + "setup.default.browser.brave-origin": {"icon":"󰖟","label":"Brave Origin","checked":"[[ \"$(omarchy-default-browser)\" == \"brave-origin\" ]]","action":"omarchy-default-browser brave-origin"}, "setup.default.browser.edge": {"icon":"󰇩","label":"Edge","checked":"[[ \"$(omarchy-default-browser)\" == \"edge\" ]]","action":"omarchy-default-browser edge"}, "setup.default.browser.firefox": {"icon":"","label":"Firefox","checked":"[[ \"$(omarchy-default-browser)\" == \"firefox\" ]]","action":"omarchy-default-browser firefox"}, - "setup.default.browser.zen": {"icon":"�햟","label":"Zen","checked":"[[ \"$(omarchy-default-browser)\" == \"zen\" ]]","action":"omarchy-default-browser zen"}, + "setup.default.browser.zen": {"icon":"󰖟","label":"Zen","checked":"[[ \"$(omarchy-default-browser)\" == \"zen\" ]]","action":"omarchy-default-browser zen"}, "setup.default.terminal": {"icon":"","label":"Terminal","title":"Default Terminal"}, "setup.default.terminal.alacritty": {"icon":"","label":"Alacritty","checked":"[[ \"$(omarchy-default-terminal)\" == \"alacritty\" ]]","action":"omarchy-default-terminal alacritty"}, "setup.default.terminal.foot": {"icon":"","label":"Foot","checked":"[[ \"$(omarchy-default-terminal)\" == \"foot\" ]]","action":"omarchy-default-terminal foot"}, @@ -166,36 +166,36 @@ "setup.default.editor.zed": {"icon":"","label":"Zed","checked":"[[ \"$(omarchy-default-editor)\" == \"zeditor\" ]]","action":"omarchy-default-editor zed"}, "setup.default.editor.sublime": {"icon":"","label":"Sublime Text","checked":"[[ \"$(omarchy-default-editor)\" == \"subl\" ]]","action":"omarchy-default-editor sublime_text"}, "setup.default.editor.helix": {"icon":"","label":"Helix","checked":"[[ \"$(omarchy-default-editor)\" == \"helix\" ]]","action":"omarchy-default-editor helix"}, - "setup.default.editor.vim": {"icon":"","label":"Vim","checked":"[[ \"$(omarchy-default-editor)\" == \"vim\" ]]","action":"omarchy-default-editor vim"}, + "setup.default.editor.vim": {"icon":"","label":"Vim","checked":"[[ \"$(omarchy-default-editor)\" == \"vim\" ]]","action":"omarchy-default-editor vim"}, "setup.default.editor.emacs": {"icon":"","label":"Emacs","checked":"[[ \"$(omarchy-default-editor)\" == \"emacs\" ]]","action":"omarchy-default-editor emacs"}, - "setup.plugin": {"icon":"󰈱","label":"Plugins","aliases":["plugin","plugins"]}, + "setup.plugin": {"icon":"󰐱","label":"Plugins","aliases":["plugin","plugins"]}, "setup.plugin.enable": {"icon":"󰄬","label":"Enable Plugin","action":"omarchy-menu-plugin enable"}, - "setup.plugin.disable": {"icon":"󰄖","label":"Disable Plugin","action":"omarchy-menu-plugin disable"}, - "setup.plugin.add": {"icon":"�햟","label":"Add Plugin","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-plugin-add'"}, + "setup.plugin.disable": {"icon":"󰅖","label":"Disable Plugin","action":"omarchy-menu-plugin disable"}, + "setup.plugin.add": {"icon":"󰖟","label":"Add Plugin","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-plugin-add'"}, "setup.plugin.clone": {"icon":"󰆏","label":"Clone Plugin","action":"omarchy-menu-plugin clone"}, - "setup.plugin.remove": {"icon":"󰥌","label":"Remove Plugin","when":"compgen -G \"$HOME/.config/omarchy/plugins/*/manifest.json\"","action":"omarchy-menu-plugin remove"}, + "setup.plugin.remove": {"icon":"󰭌","label":"Remove Plugin","when":"compgen -G \"$HOME/.config/omarchy/plugins/*/manifest.json\"","action":"omarchy-menu-plugin remove"}, "setup.security": {"icon":"","label":"Security"}, "setup.config": {"icon":"","label":"Config"}, "setup.security.fingerprint": {"icon":"󰈷","label":"Fingerprint","when":"omarchy-hw-fingerprint","action":"omarchy-launch-floating-terminal-with-presentation omarchy-setup-security-fingerprint"}, "setup.security.fido2": {"icon":"","label":"Fido2","action":"omarchy-launch-floating-terminal-with-presentation omarchy-setup-security-fido2"}, - "setup.security.sshd": {"icon":"󰓀","label":"SSHD","action":"omarchy-launch-floating-terminal-with-presentation omarchy-setup-security-sshd"}, - "setup.security.passwordless-sudo": {"icon":"󰏵","label":"Passwordless Sudo","action":"omarchy-launch-floating-terminal-with-presentation omarchy-sudo-passwordless"}, - "setup.security.sudoless-docker": {"icon":"󰉨","label":"Sudoless Docker","when":"omarchy-sudo-docker --configured","action":"omarchy-launch-floating-terminal-with-presentation omarchy-setup-security-sudoless-docker"}, + "setup.security.sshd": {"icon":"󰣀","label":"SSHD","action":"omarchy-launch-floating-terminal-with-presentation omarchy-setup-security-sshd"}, + "setup.security.passwordless-sudo": {"icon":"󰟵","label":"Passwordless Sudo","action":"omarchy-launch-floating-terminal-with-presentation omarchy-sudo-passwordless"}, + "setup.security.sudoless-docker": {"icon":"󰡨","label":"Sudoless Docker","when":"omarchy-sudo-docker --configured","action":"omarchy-launch-floating-terminal-with-presentation omarchy-setup-security-sudoless-docker"}, "setup.config.hyprland": {"icon":"","label":"Hyprland","action":"omarchy-launch-config-editor \"$HOME/.config/hypr/hyprland.lua\""}, "setup.config.hyprsunset": {"icon":"","label":"Hyprsunset","action":"omarchy-launch-config-editor ~/.config/hypr/hyprsunset.conf && omarchy-restart-hyprsunset"}, - "setup.config.xcompose": {"icon":"󰂅","label":"XCompose","action":"omarchy-launch-config-editor ~/.XCompose && omarchy-restart-xcompose"}, + "setup.config.xcompose": {"icon":"󰞅","label":"XCompose","action":"omarchy-launch-config-editor ~/.XCompose && omarchy-restart-xcompose"}, "setup.direct-boot": {"icon":"","label":"Direct Boot","action":"omarchy-launch-floating-terminal-with-presentation omarchy-setup-direct-boot"}, - "setup.reset": {"icon":"󰉓","label":"Reset Computer","when":"[[ $(findmnt -no FSTYPE /) == btrfs ]]","action":"omarchy-launch-floating-terminal-with-presentation omarchy-system-factory-reset"}, + "setup.reset": {"icon":"󰑓","label":"Reset Computer","when":"[[ $(findmnt -no FSTYPE /) == btrfs ]]","action":"omarchy-launch-floating-terminal-with-presentation omarchy-system-factory-reset"}, // Install - "install.package": {"icon":"󰓇","label":"Package","action":"xdg-terminal-exec --app-id=org.omarchy.terminal omarchy-pkg-install"}, - "install.aur": {"icon":"󰓇","label":"AUR","action":"xdg-terminal-exec --app-id=org.omarchy.terminal omarchy-pkg-aur-install"}, + "install.package": {"icon":"󰣇","label":"Package","action":"xdg-terminal-exec --app-id=org.omarchy.terminal omarchy-pkg-install"}, + "install.aur": {"icon":"󰣇","label":"AUR","action":"xdg-terminal-exec --app-id=org.omarchy.terminal omarchy-pkg-aur-install"}, "install.ai": {"icon":"󱚤","label":"AI"}, "install.service": {"icon":"","label":"Service"}, - "install.development": {"icon":"󰕮","label":"Development"}, + "install.development": {"icon":"󰵮","label":"Development"}, "install.editor": {"icon":"","label":"Editor"}, "install.style": {"icon":"","label":"Style"}, - "install.style.theme": {"icon":"󰨌","label":"Theme","action":"omarchy-launch-floating-terminal-with-presentation omarchy-theme-install"}, + "install.style.theme": {"icon":"󰸌","label":"Theme","action":"omarchy-launch-floating-terminal-with-presentation omarchy-theme-install"}, "install.style.background": {"icon":"","label":"Background","action":"omarchy-theme-bg-install"}, "install.style.font": {"icon":"","label":"Font"}, "install.style.font.cascadia": {"icon":"","label":"Cascadia Mono","action":"omarchy-install-font 'Cascadia Mono' ttf-cascadia-mono-nerd 'CaskaydiaMono Nerd Font'"}, @@ -209,32 +209,163 @@ "install.webapp": {"icon":"","label":"Web App","action":"omarchy-launch-floating-terminal-with-presentation omarchy-webapp-install"}, "install.terminal": {"icon":"","label":"Terminal"}, "install.tui": {"icon":"","label":"TUI","action":"omarchy-launch-floating-terminal-with-presentation omarchy-tui-install"}, - "install.windows": {"icon":"󰉲","label":"Windows","disabled":"[[ -f $HOME/.local/share/applications/windows-vm.desktop ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-windows-vm install'"}, - "install.preinstalls": {"icon":"󰉓","label":"Preinstalls","disabled":"[[ ! -f $HOME/.local/state/omarchy/preinstalls-removed ]]","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-preinstalls"}, + "install.windows": {"icon":"󰍲","label":"Windows","disabled":"[[ -f $HOME/.local/share/applications/windows-vm.desktop ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-windows-vm install'"}, + "install.preinstalls": {"icon":"󰏓","label":"Preinstalls","disabled":"[[ ! -f $HOME/.local/state/omarchy/preinstalls-removed ]]","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-preinstalls"}, "install.browser.chrome": {"icon":"","label":"Chrome","disabled":"omarchy-pkg-present google-chrome","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-browser chrome'"}, "install.browser.edge": {"icon":"󰇩","label":"Edge","disabled":"omarchy-pkg-present microsoft-edge-stable-bin","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-browser edge'"}, "install.browser.brave": {"icon":"","label":"Brave","disabled":"omarchy-pkg-present brave-bin","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-browser brave'"}, "install.browser.brave-origin": {"icon":"","label":"Brave Origin","disabled":"omarchy-pkg-present brave-origin-bin","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-browser brave-origin'"}, "install.browser.firefox": {"icon":"","label":"Firefox","disabled":"omarchy-pkg-present firefox","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-browser firefox'"}, - "install.browser.zen": {"icon":"�햟","label":"Zen","disabled":"omarchy-pkg-present zen-browser-bin","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-browser zen'"}, - "install.service.1password": {"icon":"󰂁","label":"1Password","disabled":"omarchy-pkg-present 1password","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-service-1password"}, + "install.browser.zen": {"icon":"󰖟","label":"Zen","disabled":"omarchy-pkg-present zen-browser-bin","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-browser zen'"}, + "install.service.1password": {"icon":"󰢁","label":"1Password","disabled":"omarchy-pkg-present 1password","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-service-1password"}, "install.service.dropbox": {"icon":"","label":"Dropbox","disabled":"omarchy-pkg-present dropbox","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-service-dropbox"}, - "install.service.spotify": {"icon":"󰃇","label":"Spotify","disabled":"omarchy-pkg-present spotify","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-service-spotify"}, - "install.service.signal": {"icon":"󰥹","label":"Signal","disabled":"omarchy-pkg-present signal-desktop","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-service-signal"}, + "install.service.spotify": {"icon":"󰓇","label":"Spotify","disabled":"omarchy-pkg-present spotify","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-service-spotify"}, + "install.service.signal": {"icon":"󰭹","label":"Signal","disabled":"omarchy-pkg-present signal-desktop","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-service-signal"}, "install.service.tailscale": {"icon":"","label":"Tailscale","disabled":"omarchy-pkg-present tailscale","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-service-tailscale"}, - "install.service.nordvpn": {"icon":"󰗱","label":"NordVPN","disabled":"omarchy-pkg-present nordvpn-bin","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-service-nordvpn"}, - "install.service.once": {"icon":"󰉖","label":"ONCE","disabled":"omarchy-pkg-present once-bin","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-service-once"}, - "install.service.bitwarden": {"icon":"󰏵","label":"Bitwarden","disabled":"omarchy-pkg-present bitwarden","action":"omarchy-install-and-launch Bitwarden 'bitwarden bitwarden-cli' bitwarden"}, + "install.service.nordvpn": {"icon":"󱇱","label":"NordVPN","disabled":"omarchy-pkg-present nordvpn-bin","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-service-nordvpn"}, + "install.service.once": {"icon":"󰏖","label":"ONCE","disabled":"omarchy-pkg-present once-bin","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-service-once"}, + "install.service.bitwarden": {"icon":"󰟵","label":"Bitwarden","disabled":"omarchy-pkg-present bitwarden","action":"omarchy-install-and-launch Bitwarden 'bitwarden bitwarden-cli' bitwarden"}, "install.service.chromium-account": {"icon":"","label":"Chromium Account","when":"[[ -f ~/.config/chromium-flags.conf ]]","disabled":"grep -q oauth2-client-id ~/.config/chromium-flags.conf","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-chromium-google-account"}, "install.editor.vscode": {"icon":"","label":"VSCode","disabled":"omarchy-pkg-present visual-studio-code-bin","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-editor-vscode"}, "install.editor.cursor": {"icon":"","label":"Cursor","disabled":"omarchy-pkg-present cursor-bin","action":"omarchy-install-and-launch Cursor cursor-bin cursor"}, "install.editor.zed": {"icon":"","label":"Zed","disabled":"omarchy-pkg-present zed","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-editor-zed"}, "install.editor.sublime": {"icon":"","label":"Sublime Text","disabled":"omarchy-pkg-present sublime-text-4","action":"omarchy-install-and-launch 'Sublime Text' sublime-text-4 sublime_text"}, "install.editor.helix": {"icon":"","label":"Helix","disabled":"omarchy-pkg-present helix","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-editor-helix"}, - "install.editor.vim": {"icon":"","label":"Vim","disabled":"omarchy-pkg-present vim","action":"omarchy-install-app Vim vim"}, + "install.editor.vim": {"icon":"","label":"Vim","disabled":"omarchy-pkg-present vim","action":"omarchy-install-app Vim vim"}, "install.editor.emacs": {"icon":"","label":"Emacs","disabled":"omarchy-pkg-present omarchy-emacs","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-editor-emacs"}, "install.terminal.alacritty": {"icon":"","label":"Alacritty","disabled":"omarchy-pkg-present alacritty","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-terminal alacritty'"}, "install.terminal.foot": {"icon":"","label":"Foot","disabled":"omarchy-pkg-present foot","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-terminal foot'"}, "install.terminal.ghostty": {"icon":"","label":"Ghostty","disabled":"omarchy-pkg-present ghostty","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-terminal ghostty'"}, - "install.terminal.kitty": {"icon":"","label":"Kitty","disabled":"omarchy-pkg-present kitty","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-terminal kitty'"} + "install.terminal.kitty": {"icon":"","label":"Kitty","disabled":"omarchy-pkg-present kitty","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-terminal kitty'"}, + "install.ai.chatgpt": {"icon":"","iconFont":"omarchy","label":"ChatGPT Desktop","disabled":"omarchy-pkg-present openai-codex-desktop","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-ai-chatgpt"}, + "install.ai.dictation": {"icon":"","label":"Dictation","disabled":"omarchy-pkg-present voxtype-bin","action":"omarchy-launch-floating-terminal-with-presentation omarchy-voxtype-install"}, + "install.ai.grok-bot": {"icon":"","iconFont":"omarchy","label":"Grok Bot","disabled":"omarchy-pkg-present grok-bot","action":"omarchy-install-and-launch 'Grok Bot' grok-bot grok-bot"}, + "install.ai.hermes": {"icon":"","iconFont":"omarchy","label":"Hermes Desktop","disabled":"omarchy-pkg-present hermes-desktop","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-ai-hermes"}, + "install.ai.lm-studio": {"icon":"","iconFont":"omarchy","label":"LM Studio","disabled":"omarchy-pkg-present lmstudio-bin","action":"omarchy-install-app 'LM Studio' lmstudio-bin"}, + "install.ai.ollama": {"icon":"","iconFont":"omarchy","label":"Ollama","disabled":"omarchy-cmd-present ollama","action":"if omarchy-cmd-present nvidia-smi; then ollama_pkg=ollama-cuda; elif omarchy-cmd-present rocminfo; then ollama_pkg=ollama-rocm; else ollama_pkg=ollama; fi; omarchy-install-app Ollama \"$ollama_pkg\""}, + "install.ai.t3-code": {"icon":"","iconFont":"omarchy","label":"T3 Code","disabled":"omarchy-pkg-present t3code-bin","action":"omarchy-install-and-launch 'T3 Code' t3code-bin t3code"}, + "install.gaming.steam": {"icon":"","label":"Steam","disabled":"omarchy-pkg-present steam","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-gaming-steam"}, + "install.gaming.retroarch": {"icon":"󰯉","label":"RetroArch","disabled":"omarchy-pkg-present retroarch","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-gaming-retroarch"}, + "install.gaming.minecraft": {"icon":"󰍳","label":"Minecraft","disabled":"omarchy-pkg-present minecraft-launcher","action":"omarchy-install-and-launch Minecraft minecraft-launcher minecraft-launcher"}, + "install.gaming.geforce-now": {"icon":"󰢹","label":"NVIDIA GeForce NOW","disabled":"flatpak info com.nvidia.geforcenow","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-gaming-geforce-now"}, + "install.gaming.xbox-cloud": {"icon":"","label":"Xbox Cloud Gaming","disabled":"[[ -f \"$HOME/.local/share/applications/Xbox Cloud Gaming.desktop\" ]]","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-gaming-xbox-cloud"}, + "install.gaming.xbox-controllers": {"icon":"󰂯","label":"Xbox Controllers","disabled":"omarchy-pkg-present xpadneo-dkms","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-gaming-xbox-controllers"}, + "install.gaming.battlenet": {"icon":"","label":"Battle.net","disabled":"[[ -d $HOME/Games/battlenet ]]","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-gaming-battlenet"}, + "install.gaming.lutris": {"icon":"","label":"Lutris","disabled":"omarchy-pkg-present lutris","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-gaming-lutris"}, + "install.gaming.heroic": {"icon":"󱓟","label":"Heroic (Epic Games)","disabled":"omarchy-pkg-present heroic-games-launcher-bin","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-gaming-heroic"}, + "install.gaming.retro-launcher": {"icon":"󰯉","label":"RetroArch Game Launcher","action":"omarchy-games-retro-install"}, + "install.development.rails": {"icon":"󰫏","label":"Ruby on Rails","disabled":"[[ -d $HOME/.local/share/mise/installs/ruby ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-dev-env ruby'"}, + "install.development.docker-dbs": {"icon":"","label":"Docker DB","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-docker-dbs"}, + "install.development.javascript": {"icon":"","label":"JavaScript"}, + "install.development.go": {"icon":"","label":"Go","disabled":"[[ -d $HOME/.local/share/mise/installs/go ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-dev-env go'"}, + "install.development.php": {"icon":"","label":"PHP"}, + "install.development.python": {"icon":"","label":"Python","disabled":"[[ -d $HOME/.local/share/mise/installs/python ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-dev-env python'"}, + "install.development.elixir": {"icon":"","label":"Elixir"}, + "install.development.zig": {"icon":"","label":"Zig","disabled":"[[ -d $HOME/.local/share/mise/installs/zig ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-dev-env zig'"}, + "install.development.rust": {"icon":"","label":"Rust","disabled":"[[ -d $HOME/.rustup ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-dev-env rust'"}, + "install.development.java": {"icon":"","label":"Java","disabled":"[[ -d $HOME/.local/share/mise/installs/java ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-dev-env java'"}, + "install.development.dotnet": {"icon":"","label":".NET","disabled":"[[ -d $HOME/.local/share/mise/installs/dotnet ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-dev-env dotnet'"}, + "install.development.ocaml": {"icon":"","label":"OCaml","disabled":"[[ -d $HOME/.opam ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-dev-env ocaml'"}, + "install.development.clojure": {"icon":"","label":"Clojure","disabled":"[[ -d $HOME/.local/share/mise/installs/clojure ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-dev-env clojure'"}, + "install.development.scala": {"icon":"","label":"Scala","disabled":"[[ -d $HOME/.local/share/mise/installs/scala ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-dev-env scala'"}, + "install.development.javascript.node": {"icon":"","label":"Node.js","disabled":"[[ -d $HOME/.local/share/mise/installs/node ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-dev-env node'"}, + "install.development.javascript.bun": {"icon":"","label":"Bun","disabled":"[[ -d $HOME/.local/share/mise/installs/bun ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-dev-env bun'"}, + "install.development.javascript.deno": {"icon":"","label":"Deno","disabled":"[[ -d $HOME/.local/share/mise/installs/deno ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-dev-env deno'"}, + "install.development.php.php": {"icon":"","label":"PHP","disabled":"omarchy-pkg-present php","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-dev-env php'"}, + "install.development.php.laravel": {"icon":"","label":"Laravel","disabled":"[[ -x $HOME/.config/composer/vendor/bin/laravel ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-dev-env laravel'"}, + "install.development.php.symfony": {"icon":"","label":"Symfony","disabled":"omarchy-pkg-present symfony-cli","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-dev-env symfony'"}, + "install.development.elixir.elixir": {"icon":"","label":"Elixir","disabled":"[[ -d $HOME/.local/share/mise/installs/elixir ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-dev-env elixir'"}, + "install.development.elixir.phoenix": {"icon":"","label":"Phoenix","disabled":"compgen -G \"$HOME/.mix/archives/phx_new*\"","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-dev-env phoenix'"}, + + // Remove + "remove.package": {"icon":"󰣇","label":"Package","action":"xdg-terminal-exec --app-id=org.omarchy.terminal omarchy-pkg-remove"}, + "remove.ai": {"icon":"󱚤","label":"AI","title":"Remove"}, + "remove.service": {"icon":"","label":"Services","title":"Remove"}, + "remove.development": {"icon":"󰵮","label":"Development","title":"Remove"}, + "remove.theme": {"icon":"󰸌","label":"Theme","action":"omarchy-theme-remove"}, + "remove.gaming": {"icon":"","label":"Gaming","title":"Remove"}, + "remove.browser": {"icon":"","label":"Browser","title":"Remove"}, + "remove.webapp": {"icon":"","label":"Web App","when":"grep -qE '^Exec=.*(omarchy-launch-webapp|omarchy-webapp-handler)' $HOME/.local/share/applications/*.desktop","action":"omarchy-webapp-remove"}, + "remove.tui": {"icon":"","label":"TUI","when":"grep -qE '^Exec=.*(\\$TERMINAL|xdg-terminal-exec).*-e' $HOME/.local/share/applications/*.desktop","action":"omarchy-tui-remove"}, + "remove.windows": {"icon":"󰍲","label":"Windows","when":"[[ -f $HOME/.local/share/applications/windows-vm.desktop ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-windows-vm remove'"}, + "remove.preinstalls": {"icon":"󰏓","label":"Preinstalls","when":"[[ ! -f $HOME/.local/state/omarchy/preinstalls-removed ]]","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-preinstalls"}, + "remove.security": {"icon":"","label":"Security","title":"Remove"}, + "remove.security.fingerprint": {"icon":"󰈷","label":"Fingerprint","when":"omarchy-pkg-present fprintd","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-security-fingerprint"}, + "remove.security.fido2": {"icon":"","label":"Fido2","when":"omarchy-pkg-present pam-u2f","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-security-fido2"}, + "remove.security.sshd": {"icon":"󰣀","label":"SSHD","when":"systemctl is-enabled --quiet sshd","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-security-sshd"}, + "remove.security.sudoless-docker": {"icon":"󰡨","label":"Sudoless Docker","when":"! omarchy-sudo-docker --configured","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-security-sudoless-docker"}, + "remove.ai.hermes": {"icon":"","iconFont":"omarchy","label":"Hermes Desktop","when":"omarchy-pkg-present hermes-desktop","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-ai-hermes"}, + "remove.browser.chrome": {"icon":"","label":"Chrome","when":"omarchy-pkg-present google-chrome","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-browser chrome'"}, + "remove.browser.edge": {"icon":"󰇩","label":"Edge","when":"omarchy-pkg-present microsoft-edge-stable-bin","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-browser edge'"}, + "remove.browser.brave": {"icon":"","label":"Brave","when":"omarchy-pkg-present brave-bin","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-browser brave'"}, + "remove.browser.brave-origin": {"icon":"","label":"Brave Origin","when":"omarchy-pkg-present brave-origin-bin","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-browser brave-origin'"}, + "remove.browser.firefox": {"icon":"","label":"Firefox","when":"omarchy-pkg-present firefox","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-browser firefox'"}, + "remove.browser.zen": {"icon":"","label":"Zen","when":"omarchy-pkg-present zen-browser-bin","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-browser zen'"}, + "remove.service.dropbox": {"icon":"","label":"Dropbox","when":"omarchy-pkg-present dropbox","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-service-dropbox"}, + "remove.service.tailscale": {"icon":"","label":"Tailscale","when":"omarchy-pkg-present tailscale","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-service-tailscale"}, + "remove.ai.chatgpt": {"icon":"","iconFont":"omarchy","label":"ChatGPT Desktop","when":"omarchy-pkg-present openai-codex-desktop","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-ai-chatgpt"}, + "remove.ai.dictation": {"icon":"","label":"Dictation","when":"omarchy-pkg-present voxtype-bin","action":"omarchy-launch-floating-terminal-with-presentation omarchy-voxtype-remove"}, + "remove.ai.grok-bot": {"icon":"","iconFont":"omarchy","label":"Grok Bot","when":"omarchy-pkg-present grok-bot","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-ai-grok-bot"}, + "remove.ai.lm-studio": {"icon":"","iconFont":"omarchy","label":"LM Studio","when":"omarchy-pkg-present lmstudio-bin","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-ai-lm-studio"}, + "remove.ai.ollama": {"icon":"","iconFont":"omarchy","label":"Ollama","when":"omarchy-pkg-present ollama","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-ai-ollama"}, + "remove.ai.t3-code": {"icon":"","iconFont":"omarchy","label":"T3 Code","when":"omarchy-pkg-present t3code-bin","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-ai-t3-code"}, + "remove.gaming.steam": {"icon":"","label":"Steam","when":"omarchy-pkg-present steam","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-gaming-steam"}, + "remove.gaming.retroarch": {"icon":"","label":"RetroArch","when":"omarchy-pkg-present retroarch","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-gaming-retroarch"}, + "remove.gaming.minecraft": {"icon":"󰍳","label":"Minecraft","when":"omarchy-pkg-present minecraft-launcher","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-gaming-minecraft"}, + "remove.gaming.geforce-now": {"icon":"󰢹","label":"NVIDIA GeForce NOW","when":"flatpak info com.nvidia.geforcenow","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-gaming-geforce-now"}, + "remove.gaming.xbox-cloud": {"icon":"","label":"Xbox Cloud Gaming","when":"[[ -f \"$HOME/.local/share/applications/Xbox Cloud Gaming.desktop\" ]]","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-gaming-xbox-cloud"}, + "remove.gaming.xbox-controllers": {"icon":"󰖺","label":"Xbox Controllers (󰂯)","when":"omarchy-pkg-present xpadneo-dkms","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-gaming-xbox-controllers"}, + "remove.gaming.battlenet": {"icon":"","label":"Battle.net","when":"[[ -d $HOME/Games/battlenet ]]","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-gaming-battlenet"}, + "remove.gaming.lutris": {"icon":"","label":"Lutris","when":"omarchy-pkg-present lutris","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-gaming-lutris"}, + "remove.gaming.heroic": {"icon":"󱓟","label":"Heroic (Epic Games)","when":"omarchy-pkg-present heroic-games-launcher-bin","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-gaming-heroic"}, + "remove.development.rails": {"icon":"󰫏","label":"Ruby on Rails","when":"[[ -d $HOME/.local/share/mise/installs/ruby ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-dev-env ruby'"}, + "remove.development.javascript": {"icon":"","label":"JavaScript","title":"Remove"}, + "remove.development.go": {"icon":"","label":"Go","when":"[[ -d $HOME/.local/share/mise/installs/go ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-dev-env go'"}, + "remove.development.php": {"icon":"","label":"PHP","title":"Remove"}, + "remove.development.python": {"icon":"","label":"Python","when":"[[ -d $HOME/.local/share/mise/installs/python ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-dev-env python'"}, + "remove.development.elixir": {"icon":"","label":"Elixir","title":"Remove"}, + "remove.development.zig": {"icon":"","label":"Zig","when":"[[ -d $HOME/.local/share/mise/installs/zig ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-dev-env zig'"}, + "remove.development.rust": {"icon":"","label":"Rust","when":"[[ -d $HOME/.rustup ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-dev-env rust'"}, + "remove.development.java": {"icon":"","label":"Java","when":"[[ -d $HOME/.local/share/mise/installs/java ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-dev-env java'"}, + "remove.development.dotnet": {"icon":"","label":".NET","when":"[[ -d $HOME/.local/share/mise/installs/dotnet ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-dev-env dotnet'"}, + "remove.development.ocaml": {"icon":"","label":"OCaml","when":"[[ -d $HOME/.opam ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-dev-env ocaml'"}, + "remove.development.clojure": {"icon":"","label":"Clojure","when":"[[ -d $HOME/.local/share/mise/installs/clojure ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-dev-env clojure'"}, + "remove.development.scala": {"icon":"","label":"Scala","when":"[[ -d $HOME/.local/share/mise/installs/scala ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-dev-env scala'"}, + "remove.development.javascript.node": {"icon":"","label":"Node.js","when":"[[ -d $HOME/.local/share/mise/installs/node ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-dev-env node'"}, + "remove.development.javascript.bun": {"icon":"","label":"Bun","when":"[[ -d $HOME/.local/share/mise/installs/bun ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-dev-env bun'"}, + "remove.development.javascript.deno": {"icon":"","label":"Deno","when":"[[ -d $HOME/.local/share/mise/installs/deno ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-dev-env deno'"}, + "remove.development.php.php": {"icon":"","label":"PHP","when":"omarchy-pkg-present php","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-dev-env php'"}, + "remove.development.php.laravel": {"icon":"","label":"Laravel","when":"[[ -x $HOME/.config/composer/vendor/bin/laravel ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-dev-env laravel'"}, + "remove.development.php.symfony": {"icon":"","label":"Symfony","when":"omarchy-pkg-present symfony-cli","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-dev-env symfony'"}, + "remove.development.elixir.elixir": {"icon":"","label":"Elixir","when":"[[ -d $HOME/.local/share/mise/installs/elixir ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-dev-env elixir'"}, + "remove.development.elixir.phoenix": {"icon":"","label":"Phoenix","when":"[[ -d $HOME/.local/share/mise/installs/elixir ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-dev-env phoenix'"}, + + // Update + "update.omarchy": {"icon":"","iconFont":"omarchy","label":"Omarchy","action":"omarchy-launch-floating-terminal-with-presentation omarchy-update"}, + "update.channel": {"icon":"󰔫","label":"Channel"}, + "update.config": {"icon":"","label":"Config","title":"Reset to default"}, + "update.themes": {"icon":"󰸌","label":"Extra Themes","when":"omarchy-theme-extras","action":"omarchy-launch-floating-terminal-with-presentation omarchy-theme-update"}, + "update.process": {"icon":"","label":"Process","title":"Restart"}, + "update.hardware": {"icon":"󰇅","label":"Hardware","title":"Restart"}, + "update.firmware": {"icon":"","label":"Firmware","action":"omarchy-launch-floating-terminal-with-presentation omarchy-update-firmware"}, + "update.password": {"icon":"","label":"Password"}, + "update.timezone": {"icon":"","label":"Timezone","action":"omarchy-menu-timezone"}, + "update.time": {"icon":"","label":"Time","action":"omarchy-launch-floating-terminal-with-presentation omarchy-update-time"}, + "update.channel.stable": {"icon":"🟢","label":"Stable","checked":"[[ \"$(omarchy-channel-current)\" == \"stable\" ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-channel-set stable'"}, + "update.channel.rc": {"icon":"🟡","label":"RC","checked":"[[ \"$(omarchy-channel-current)\" == \"rc\" ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-channel-set rc'"}, + "update.channel.edge": {"icon":"🟠","label":"Edge","checked":"[[ \"$(omarchy-channel-current)\" == \"edge\" ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-channel-set edge'"}, + "update.channel.dev": {"icon":"🔴","label":"Dev","checked":"[[ \"$(omarchy-channel-current)\" == \"dev\" ]]","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-channel-set dev'"}, + "update.process.hyprsunset": {"icon":"","label":"Hyprsunset","action":"omarchy-restart-hyprsunset"}, + "update.process.shell": {"icon":"󰍜","label":"Shell","action":"omarchy-restart-shell"}, + "update.config.hyprland": {"icon":"","label":"Hyprland","action":"omarchy-launch-floating-terminal-with-presentation omarchy-refresh-hyprland"}, + "update.config.hyprsunset": {"icon":"","label":"Hyprsunset","action":"omarchy-launch-floating-terminal-with-presentation omarchy-refresh-hyprsunset"}, + "update.config.plymouth": {"icon":"󱣴","label":"Plymouth","action":"omarchy-launch-floating-terminal-with-presentation omarchy-refresh-plymouth"}, + "update.config.tmux": {"icon":"","label":"Tmux","action":"omarchy-launch-floating-terminal-with-presentation omarchy-refresh-tmux"}, + "update.config.shell": {"icon":"󰍜","label":"Shell","action":"omarchy-launch-floating-terminal-with-presentation omarchy-refresh-shell"}, + "update.hardware.audio": {"icon":"","label":"Audio","action":"omarchy-launch-floating-terminal-with-presentation omarchy-restart-audio"}, + "update.hardware.wifi": {"icon":"󱚾","label":"Wi-Fi","action":"omarchy-launch-floating-terminal-with-presentation omarchy-restart-wifi"}, + "update.hardware.bluetooth": {"icon":"󰂯","label":"Bluetooth","action":"omarchy-launch-floating-terminal-with-presentation omarchy-restart-bluetooth"}, + "update.hardware.trackpad": {"icon":"󰟸","label":"Trackpad","action":"omarchy-launch-floating-terminal-with-presentation omarchy-restart-trackpad"}, + "update.password.drive": {"icon":"","label":"Drive Encryption","action":"omarchy-launch-floating-terminal-with-presentation omarchy-drive-password"}, + "update.password.user": {"icon":"","label":"User","action":"omarchy-launch-floating-terminal-with-presentation passwd"}, } From 28abc4a8fd96e3d6f36fe8a0b75c4a72691ec9b8 Mon Sep 17 00:00:00 2001 From: Americo Savinon Date: Tue, 1 Sep 2026 13:28:57 -0700 Subject: [PATCH 08/10] fix(editor): keep Vim menu glyph unchanged --- bin/omarchy-default-editor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/omarchy-default-editor b/bin/omarchy-default-editor index 26e6babc702f..b8f31ebc744c 100644 --- a/bin/omarchy-default-editor +++ b/bin/omarchy-default-editor @@ -27,7 +27,7 @@ cursor) selection="cursor"; editor="cursor"; name="Cursor"; glyph= ;; zed | zeditor) selection="zed"; editor="zeditor"; name="Zed"; glyph= ;; sublime_text | subl) selection="sublime_text"; editor="subl"; name="Sublime Text"; glyph= ;; helix) selection="helix"; editor="helix"; name="Helix"; glyph= ;; -vim) selection="vim"; editor="vim"; name="Vim"; glyph= ;; +vim) selection="vim"; editor="vim"; name="Vim"; glyph= ;; emacs) selection="emacs"; editor="emacs"; name="Emacs"; glyph= ;; nvim) selection="nvim"; editor="nvim"; name="Neovim"; glyph= ;; *) From 7109662b49c0fa462efd6e9d4b01ef5d2fd35668 Mon Sep 17 00:00:00 2001 From: omarchy-bot Date: Wed, 2 Sep 2026 05:17:54 -0700 Subject: [PATCH 09/10] Restore the executable bit on the files this branch edits The branch dropped bin/omarchy-default-editor, bin/omarchy-launch-editor and test/shell.d/default-apps-test.sh from 755 to 644. `omarchy-default-editor` is reached through PATH -- by the router, by the menu's `checked` guard, and by default-apps-test.sh, which puts the repo's own bin/ on PATH -- and PATH resolution skips a file without the executable bit, so the whole editor suite failed at its first case with the script silently unfindable. Co-Authored-By: Claude Opus 5 (1M context) --- bin/omarchy-default-editor | 0 bin/omarchy-launch-editor | 0 test/shell.d/default-apps-test.sh | 0 3 files changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 bin/omarchy-default-editor mode change 100644 => 100755 bin/omarchy-launch-editor mode change 100644 => 100755 test/shell.d/default-apps-test.sh diff --git a/bin/omarchy-default-editor b/bin/omarchy-default-editor old mode 100644 new mode 100755 diff --git a/bin/omarchy-launch-editor b/bin/omarchy-launch-editor old mode 100644 new mode 100755 diff --git a/test/shell.d/default-apps-test.sh b/test/shell.d/default-apps-test.sh old mode 100644 new mode 100755 From 1407271f83b708bf8b79c60de31122daaa1b3e12 Mon Sep 17 00:00:00 2001 From: Americo Savinon Date: Wed, 2 Sep 2026 14:48:04 +0200 Subject: [PATCH 10/10] fix(editor): report stored sublime_text as subl --- bin/omarchy-default-editor | 3 +++ test/shell.d/default-apps-test.sh | 7 +++++++ 2 files changed, 10 insertions(+) diff --git a/bin/omarchy-default-editor b/bin/omarchy-default-editor index b8f31ebc744c..e0007e6017b6 100755 --- a/bin/omarchy-default-editor +++ b/bin/omarchy-default-editor @@ -17,6 +17,9 @@ if (($# == 0)); then read -r editor <"$editor_file" fi + # sublime-text-4 puts `subl` on PATH, not the desktop id sublime_text. + [[ $editor == "sublime_text" ]] && editor="subl" + [[ -n $editor ]] && echo "$editor" || echo "nvim" exit 0 fi diff --git a/test/shell.d/default-apps-test.sh b/test/shell.d/default-apps-test.sh index d4aaa26a46d3..1e8b9a48fccd 100755 --- a/test/shell.d/default-apps-test.sh +++ b/test/shell.d/default-apps-test.sh @@ -297,6 +297,13 @@ for entry in "${editor_cases[@]}"; do done pass "editor defaults install every missing editor before selection" +mkdir -p "$test_home/.local/state/omarchy/defaults" +printf '%s\n' sublime_text >"$test_home/.local/state/omarchy/defaults/editor" +touch "$installed_dir/subl" +[[ $(omarchy-default-editor) == subl ]] || fail "stored sublime_text reports as subl" +pass "legacy sublime_text default reports as subl" + + : >"$install_log" : >"$terminal_log" omarchy-default-browser zen