Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
89 commits
Select commit Hold shift + click to select a range
5a29cdc
hypr: add Helium to chromium-based browser tagging (follow-up to #194…
odnmalau Sep 29, 2025
4d48b30
feat: clear states when relaunching or rebooting from the system menu…
alexperreault Sep 29, 2025
8d1f789
add suport fingerprint from FPC - Thinkpad E14 Gen 6 (#2023)
aislandener Sep 29, 2025
4818d43
Increase the delay before the "window is not responding" notice is shown
dhh Sep 30, 2025
2d38452
fix removal of webapps that use additional handler (#2096)
kyedavey Sep 30, 2025
f8f2aa0
Alter input.conf kb_options to take non-us keyboards into account (#2…
Woosah Sep 30, 2025
3ea0f3a
Go back to using -set-theme-color until the policy coloring is fixed
dhh Oct 2, 2025
bcbeba0
Reduce timeout for hung applications to more like 5-6s
dhh Oct 4, 2025
357b620
Made keybindings menu a little more human readable (#1824)
ludagoo Oct 4, 2025
4533852
Speedup keybindings show by using caching
dhh Oct 4, 2025
e5efcdd
Only give one line to avoid the jitter
dhh Oct 5, 2025
6cd3fe4
Add auto-changing colors for Neovim (#1712)
ryanrhughes Oct 5, 2025
a7737ec
Change default shutdown timeout to 5sec (#1886)
ryanrhughes Oct 5, 2025
44faf5c
Make HEY the default mailto handler (#1822)
ryanrhughes Oct 5, 2025
4fe2653
Update version reporting (#1724)
ryanrhughes Oct 5, 2025
d6cf74f
Login and UKI updates (#1860)
ryanrhughes Oct 5, 2025
e4bfee2
Correct the path for asdcontrol on new installations
dhh Oct 5, 2025
89d05e3
Revert "Login and UKI updates (#1860)"
dhh Oct 5, 2025
1a948c6
Correct bad path for sudoless Apple Display controls
dhh Oct 5, 2025
4be09b4
Interesting idea, but then we should do it across everything
dhh Oct 5, 2025
b5c7860
Remove background process from walker service in autostart configurat…
sgruendel Oct 5, 2025
b06760b
Fix Neovim .desktop file to open files from GUI file manager (#2233)
AlwaysRead Oct 5, 2025
409aacb
added gnome-disk-utility to base-packages (#2230)
andrepadez Oct 5, 2025
db8d296
fix(eza): added correct light theme for rosé pine (#2214)
gustavedenis Oct 5, 2025
df7b186
Hide electron36 and electron37 from walker menu (#2183)
sgruendel Oct 5, 2025
abbdf02
Fix typo in comments in input.conf (#2180)
IngridMorstrad Oct 5, 2025
101209c
Hide OpenJDK apps from app launcher
dhh Oct 5, 2025
7647b62
Adjust database installation message to only one (#2192)
morgoth Oct 5, 2025
515a2a3
Simple check to prevent secure boot issues (#2145)
killeik Oct 5, 2025
72685ed
Fix comment typos in bindings.conf (#2261)
jeffmancilla Oct 6, 2025
85ef3a2
fix(presentation-terminal): Ensure consistent ASCII logo alignment (#…
vaqMAD Oct 6, 2025
00b630c
Theme support for Cursor (#2015)
ludagoo Oct 6, 2025
228fa04
Fix lock screen killing ghostty screensaver instance instead of alacr…
vladkhard Oct 6, 2025
206110f
Fix: Allow passing flags/arguments to omarchy-launch-webapp in launch…
meirdick Oct 6, 2025
5a69277
fix: change uwsm app to uwsm-app for performance (#1960)
woopstar Oct 6, 2025
66203e5
Add window theme to Ghostty config (#1956)
scossar Oct 6, 2025
4b70eb0
Add even cleaner ghostty tabs as default
dhh Oct 6, 2025
6723ab6
fix: update legibility with bright green color (#1895)
Justikun Oct 6, 2025
212338b
Revert "Fix Neovim .desktop file to open files from GUI file manager …
dhh Oct 6, 2025
7080922
Fixes the nvim desktop entry exec command (#1892)
dharmavagabond Oct 6, 2025
5579f9d
Add migration for new nvim.desktop
dhh Oct 6, 2025
0a54669
Add SSH session integration for Ghostty (#1950)
mirzap Oct 7, 2025
fad2a95
Invert the logic to only fail when we know for sure secure boot is on
dhh Oct 7, 2025
8d18ac4
Expand all the guard conditionals to be as readable as possible
dhh Oct 7, 2025
1353108
Group mako settings and adjust notification styles (#2273)
nqst Oct 7, 2025
9fe051d
Fix browser launching for flatpak (#2187)
w3ntry Oct 7, 2025
9bb16d1
Use systemd-resolved's stub resolver (#2150)
samuelpecher Oct 7, 2025
0e5a56e
fix current working directory if readlink doesn't return a valid dire…
matt-h Oct 7, 2025
86ff834
Cleanup the code a bit
dhh Oct 7, 2025
68a802d
Configure grouping functionality (#656)
reshadman Oct 7, 2025
91f5390
Add `.editorconfig` (#946)
dylanbr Oct 7, 2025
182dca2
Float org.gnome.Calculator (#1747)
gkurts Oct 7, 2025
d74356c
fix(bindings): anchor Obsidian class to avoid false matches (#1838)
ctarx Oct 7, 2025
c9ac1c8
add helix in omarchy-launch-editor (#1740)
Cammisuli Oct 7, 2025
69fb18d
Add alacritty save_to_clipboard config for not copying to the PRIMARY…
bvdwalt Aug 22, 2025
7b41450
Update alacritty.toml to remove clipboard setting, bind shift+insert …
bvdwalt Aug 31, 2025
58e046c
Fix syntax error in alacritty.toml bindings
bvdwalt Aug 31, 2025
90b78d6
Make shift + insert paste from clipboard in ghostty
ryanrhughes Oct 8, 2025
391d9e0
Rollback flatpak fix
dhh Oct 8, 2025
39b7811
Added Cursor CLI in Install > AI (#2153)
rajofearth Oct 8, 2025
3bb9d49
Login and UKI updates (#2242)
ryanrhughes Oct 8, 2025
9db12fb
Add SUPER + C / V
ryanrhughes Oct 8, 2025
30a3983
Fix package name
ryanrhughes Oct 8, 2025
50b6436
Make keyring dir
ryanrhughes Oct 8, 2025
fdb1bc1
Prevent polkit error on reboot (fixes #2175)
ryanrhughes Oct 9, 2025
8cd1811
Remove settings that made it awkward for single line notifications
dhh Oct 9, 2025
6c373f2
chore: better contrast for ristretto kitty conf (#2297)
shelldandy Oct 9, 2025
57e862f
Add Ctrl + Super + Ins as Copy
dhh Oct 9, 2025
c6af90d
Control icon size still
dhh Oct 9, 2025
2cad5e2
Disable wall messages on shutdown/reboot (#2341)
mlombardi96 Oct 10, 2025
55f4606
fix comment: wrong path for base packages script (#2325)
sa-dd Oct 10, 2025
4c203f1
Walker: migrate to 2.0.0 (#1005)
abenz1267 Oct 10, 2025
dd59e27
Add background for matte black theme (#2288)
vaqMAD Oct 10, 2025
c6ddd43
Create migration to symlink systemd-resolved (#2313)
samuelpecher Oct 10, 2025
f3368b9
Add Walker clipboard manager on Super + Ctrl + V
dhh Oct 10, 2025
967b046
Change screenrecorder to gpu-screen-recorder
ryanrhughes Oct 11, 2025
d225134
Update packages
ryanrhughes Oct 11, 2025
e7d0cda
Migrate to gpu-screen-recorder
ryanrhughes Oct 11, 2025
22bf0e1
Fix scaling for non 16:9
ryanrhughes Oct 11, 2025
cce8b49
Fix webcam to select 16:9 on FW13 and others
ryanrhughes Oct 11, 2025
9bd746d
Add error explanation if we have to kill
ryanrhughes Oct 11, 2025
1b7e249
Remove wl-screenrec
ryanrhughes Oct 11, 2025
72a6951
Cleanup
ryanrhughes Oct 11, 2025
cc92ac3
Fix for '(null)' display on AirPod source selection
shawnyeager Sep 21, 2025
f4dbee6
Add theme Ethereal
bjarneo Nov 10, 2025
61f95d7
Update to follow the Omarchy hot reload
bjarneo Nov 11, 2025
91d5b2f
Add aether to all themes
bjarneo Nov 11, 2025
a57232d
Add a vscode theme
bjarneo Nov 19, 2025
e01e4c9
Revert "Add aether to all themes"
bjarneo Nov 19, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
root = true

[*]
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true
end_of_line = lf
charset = utf-8
2 changes: 2 additions & 0 deletions applications/hidden/electron36.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[Desktop Entry]
Hidden=true
2 changes: 2 additions & 0 deletions applications/hidden/electron37.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[Desktop Entry]
Hidden=true
2 changes: 2 additions & 0 deletions applications/hidden/java-java-openjdk.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[Desktop Entry]
Hidden=true
2 changes: 2 additions & 0 deletions applications/hidden/jconsole-java-openjdk.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[Desktop Entry]
Hidden=true
2 changes: 2 additions & 0 deletions applications/hidden/jshell-java-openjdk.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[Desktop Entry]
Hidden=true
2 changes: 1 addition & 1 deletion applications/nvim.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Name=Neovim
GenericName=Text Editor
Comment=Edit text files
Exec=$TERMINAL --class=nvim --title=nvim -e nvim -- %F
Exec=omarchy-launch-editor %F
Terminal=false
Type=Application
Keywords=Text;editor;
Expand Down
6 changes: 6 additions & 0 deletions bin/omarchy-cmd-audio-switch
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,13 @@ fi

next_sink=$(echo "$sinks" | jq -r ".[$next_sink_index]")
next_sink_name=$(echo "$next_sink" | jq -r '.name')

next_sink_description=$(echo "$next_sink" | jq -r '.description')
if [ "$next_sink_description" = "(null)" ] || [ "$next_sink_description" = "null" ] || [ -z "$next_sink_description" ]; then
sink_id=$(echo "$next_sink" | jq -r '.properties."object.id"')
next_sink_description=$(wpctl status | grep -E "\s+\*?\s+${sink_id}\." | sed -E 's/^.*[0-9]+\.\s+//' | sed -E 's/\s+\[.*$//')
fi

next_sink_volume=$(echo "$next_sink" | jq -r \
'.volume | to_entries[0].value.value_percent | sub("%"; "")')
next_sink_is_muted=$(echo "$next_sink" | jq -r '.mute')
Expand Down
2 changes: 2 additions & 0 deletions bin/omarchy-cmd-first-run
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ if [[ -f "$FIRST_RUN_MODE" ]]; then
rm -f "$FIRST_RUN_MODE"

bash "$OMARCHY_PATH/install/first-run/battery-monitor.sh"
bash "$OMARCHY_PATH/install/first-run/cleanup-reboot-sudoers.sh"
bash "$OMARCHY_PATH/install/first-run/firewall.sh"
bash "$OMARCHY_PATH/install/first-run/dns-resolver.sh"
bash "$OMARCHY_PATH/install/first-run/gnome-theme.sh"
sudo rm -f /etc/sudoers.d/first-run

Expand Down
125 changes: 106 additions & 19 deletions bin/omarchy-cmd-screenrecord
Original file line number Diff line number Diff line change
Expand Up @@ -8,31 +8,82 @@ if [[ ! -d "$OUTPUT_DIR" ]]; then
exit 1
fi

# Selects region or output
SCOPE="$1"
SCOPE=""
AUDIO="false"
WEBCAM="false"

# Selects audio inclusion or not
AUDIO=$([[ $2 == "audio" ]] && echo "--audio")
for arg in "$@"; do
case "$arg" in
--with-audio) AUDIO="true" ;;
--with-webcam) WEBCAM="true" ;;
output|region) SCOPE="$arg" ;;
esac
done

cleanup_webcam() {
pkill -f "WebcamOverlay" 2>/dev/null
}

start_webcam_overlay() {
cleanup_webcam

# Get monitor scale
local scale=$(hyprctl monitors -j | jq -r '.[] | select(.focused == true) | .scale')

# Target width (base 360px, scaled to monitor)
local target_width=$(awk "BEGIN {printf \"%.0f\", 360 * $scale}")

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

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

ffplay -f v4l2 $video_size_arg -framerate 30 /dev/video0 \
-vf "scale=${target_width}:-1" \
-window_title "WebcamOverlay" \
-noborder \
-fflags nobuffer -flags low_delay \
-probesize 32 -analyzeduration 0 \
-loglevel quiet &
sleep 1
}

start_screenrecording() {
local filename="$OUTPUT_DIR/screenrecording-$(date +'%Y-%m-%d_%H-%M-%S').mp4"
local audio_args=""

if lspci | grep -qi 'nvidia'; then
wf-recorder $AUDIO -f "$filename" -c libx264 -p crf=23 -p preset=medium -p movflags=+faststart "$@" &
else
wl-screenrec $AUDIO -f "$filename" --ffmpeg-encoder-options="-c:v libx264 -crf 23 -preset medium -movflags +faststart" "$@" &
fi
# Merge audio tracks into one - separate tracks only play one at a time in most players
[[ "$AUDIO" == "true" ]] && audio_args="-a default_output|default_input"

gpu-screen-recorder -w "$@" -f 60 -c mp4 -o "$filename" $audio_args &
toggle_screenrecording_indicator
}

stop_screenrecording() {
pkill -x wl-screenrec
pkill -x wf-recorder
pkill -SIGINT -f "gpu-screen-recorder" # SIGINT required to save video properly

notify-send "Screen recording saved to $OUTPUT_DIR" -t 2000
# Wait a maximum of 5 seconds to finish before hard killing
local count=0
while pgrep -f "gpu-screen-recorder" >/dev/null && [ $count -lt 50 ]; do
sleep 0.1
count=$((count + 1))
done

sleep 0.2 # ensures the process is actually dead before we check
if pgrep -f "gpu-screen-recorder" >/dev/null; then
pkill -9 -f "gpu-screen-recorder"
cleanup_webcam
notify-send "Screen recording error" "Recording process had to be force-killed. Video may be corrupted." -u critical -t 5000
else
cleanup_webcam
notify-send "Screen recording saved to $OUTPUT_DIR" -t 2000
fi
toggle_screenrecording_indicator
}

Expand All @@ -41,15 +92,51 @@ toggle_screenrecording_indicator() {
}

screenrecording_active() {
pgrep -x wl-screenrec >/dev/null || pgrep -x wf-recorder >/dev/null
pgrep -f "gpu-screen-recorder" >/dev/null || pgrep -x slurp >/dev/null || pgrep -f "WebcamOverlay" >/dev/null
}

if screenrecording_active; then
stop_screenrecording
if pgrep -x slurp >/dev/null; then
pkill -x slurp 2>/dev/null
elif pgrep -f "WebcamOverlay" >/dev/null && ! pgrep -f "gpu-screen-recorder" >/dev/null; then
cleanup_webcam
else
stop_screenrecording
fi
elif [[ "$SCOPE" == "output" ]]; then
output=$(slurp -o) || exit 1
start_screenrecording -g "$output"
[[ "$WEBCAM" == "true" ]] && start_webcam_overlay

if ! output=$(slurp -o -f "%o"); then
[[ "$WEBCAM" == "true" ]] && cleanup_webcam
exit 1
fi

if [[ -z "$output" ]]; then
notify-send "Error" "Could not detect monitor" -u critical
[[ "$WEBCAM" == "true" ]] && cleanup_webcam
exit 1
fi

start_screenrecording "$output"
else
region=$(slurp) || exit 1
start_screenrecording -g "$region"
[[ "$WEBCAM" == "true" ]] && start_webcam_overlay

scale=$(hyprctl monitors -j | jq -r '.[] | select(.focused == true) | .scale')

if ! region=$(slurp -f "%wx%h+%x+%y"); then
[[ "$WEBCAM" == "true" ]] && cleanup_webcam
exit 1
fi

if [[ "$region" =~ ^([0-9]+)x([0-9]+)\+([0-9]+)\+([0-9]+)$ ]]; then
w=$(awk "BEGIN {printf \"%.0f\", ${BASH_REMATCH[1]} * $scale}")
h=$(awk "BEGIN {printf \"%.0f\", ${BASH_REMATCH[2]} * $scale}")
x=$(awk "BEGIN {printf \"%.0f\", ${BASH_REMATCH[3]} * $scale}")
y=$(awk "BEGIN {printf \"%.0f\", ${BASH_REMATCH[4]} * $scale}")
scaled_region="${w}x${h}+${x}+${y}"
else
scaled_region="$region"
fi

start_screenrecording region -region "$scaled_region"
fi
2 changes: 1 addition & 1 deletion bin/omarchy-cmd-screensaver
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ hyprctl keyword cursor:invisible true
while true; do
effect=$(tte 2>&1 | grep -oP '{\K[^}]+' | tr ',' ' ' | tr ' ' '\n' | sed -n '/^beams$/,$p' | sort -u | shuf -n1)
tte -i ~/.config/omarchy/branding/screensaver.txt \
--frame-rate 240 --canvas-width 0 --canvas-height $(($(tput lines) - 2)) --anchor-canvas c --anchor-text c \
--frame-rate 240 --canvas-width 0 --canvas-height $(($(tput lines) - 1)) --anchor-canvas c --anchor-text c \
"$effect" &

while pgrep -x tte >/dev/null; do
Expand Down
8 changes: 7 additions & 1 deletion bin/omarchy-cmd-terminal-cwd
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ terminal_pid=$(hyprctl activewindow | awk '/pid:/ {print $2}')
shell_pid=$(pgrep -P "$terminal_pid" | head -n1)

if [[ -n $shell_pid ]]; then
readlink -f "/proc/$shell_pid/cwd" 2>/dev/null || echo "$HOME"
cwd=$(readlink -f "/proc/$shell_pid/cwd" 2>/dev/null)

if [[ -d $cwd ]]; then
echo "$cwd"
else
echo "$HOME"
fi
else
echo "$HOME"
fi
2 changes: 1 addition & 1 deletion bin/omarchy-install-docker-dbs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
options=("MySQL" "PostgreSQL" "Redis" "MongoDB" "MariaDB")

if [[ "$#" -eq 0 ]]; then
choices=$(printf "%s\n" "${options[@]}" | gum choose --header "Select databases (space to select, return to install, esc to cancel)") || main_menu
choices=$(printf "%s\n" "${options[@]}" | gum choose --header "Select database (return to install, esc to cancel)") || main_menu
else
choices="$@"
fi
Expand Down
2 changes: 1 addition & 1 deletion bin/omarchy-install-dropbox
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ echo "Installing all dependencies..."
omarchy-pkg-add dropbox dropbox-cli libappindicator-gtk3 python-gpgme nautilus-dropbox

echo "Starting Dropbox..."
uwsm app -- dropbox-cli start &>/dev/null &
uwsm-app -- dropbox-cli start &>/dev/null &
echo "See Dropbox icon behind  hover tray in top right and right-click for setup."
21 changes: 21 additions & 0 deletions bin/omarchy-install-vscode
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/bin/bash

echo "Installing VSCode..."
omarchy-pkg-add visual-studio-code-bin

mkdir -p ~/.vscode

cat > ~/.vscode/argv.json << 'EOF'
// This configuration file allows you to pass permanent command line arguments to VS Code.
// Only a subset of arguments is currently supported to reduce the likelihood of breaking
// the installation.
//
// PLEASE DO NOT CHANGE WITHOUT UNDERSTANDING THE IMPACT
//
// NOTE: Changing this file requires a restart of VS Code.
{
"password-store":"gnome-libsecret"
}
EOF

setsid gtk-launch code
2 changes: 1 addition & 1 deletion bin/omarchy-launch-about
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash

exec setsid uwsm app -- alacritty --class=Omarchy -o font.size=9 -e bash -c 'fastfetch; read -n 1 -s'
exec setsid uwsm-app -- alacritty --class=Omarchy -o font.size=9 -e bash -c 'fastfetch; read -n 1 -s'
2 changes: 1 addition & 1 deletion bin/omarchy-launch-browser
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ else
private_flag="--incognito"
fi

exec setsid uwsm app -- "$browser_exec" "${@/--private/$private_flag}"
exec setsid uwsm-app -- "$browser_exec" "${@/--private/$private_flag}"
6 changes: 3 additions & 3 deletions bin/omarchy-launch-editor
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/bin/bash

case "${EDITOR:-nvim}" in
nvim | vim | nano | micro | hx)
exec setsid uwsm app -- "$TERMINAL" -e "$EDITOR" "$@"
nvim | vim | nano | micro | hx | helix)
exec setsid uwsm-app -- "$TERMINAL" -e "$EDITOR" "$@"
;;
*)
exec setsid uwsm app -- "$EDITOR" "$@"
exec setsid uwsm-app -- "$EDITOR" "$@"
;;
esac
2 changes: 1 addition & 1 deletion bin/omarchy-launch-floating-terminal-with-presentation
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash

cmd="$*"
exec setsid uwsm app -- alacritty --class=Omarchy --title=Omarchy -e bash -c "omarchy-show-logo; $cmd; omarchy-show-done"
exec setsid uwsm-app -- alacritty -o font.size=9 --class=Omarchy --title=Omarchy -e bash -c "omarchy-show-logo; $cmd; omarchy-show-done"
2 changes: 1 addition & 1 deletion bin/omarchy-launch-or-focus
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if (($# == 0)); then
fi

WINDOW_PATTERN="$1"
LAUNCH_COMMAND="${2:-"uwsm app -- $WINDOW_PATTERN"}"
LAUNCH_COMMAND="${2:-"uwsm-app -- $WINDOW_PATTERN"}"
WINDOW_ADDRESS=$(hyprctl clients -j | jq -r --arg p "$WINDOW_PATTERN" '.[]|select((.class|test("\\b" + $p + "\\b";"i")) or (.title|test("\\b" + $p + "\\b";"i")))|.address' | head -n1)

if [[ -n $WINDOW_ADDRESS ]]; then
Expand Down
8 changes: 6 additions & 2 deletions bin/omarchy-launch-or-focus-webapp
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
#!/bin/bash

if (($# == 0)); then
echo "Usage: omarchy-launch-or-focus-webapp [window-pattern] [url]"
echo "Usage: omarchy-launch-or-focus-webapp [window-pattern] [url-and-flags...]"
exit 1
fi

exec omarchy-launch-or-focus "$1" "omarchy-launch-webapp '$2'"
WINDOW_PATTERN="$1"
shift
LAUNCH_COMMAND="omarchy-launch-webapp $@"

exec omarchy-launch-or-focus "$WINDOW_PATTERN" "$LAUNCH_COMMAND"
8 changes: 8 additions & 0 deletions bin/omarchy-launch-walker
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

# Ensure elephant is running before launching walker
if ! pgrep -x elephant > /dev/null; then
setsid uwsm app -- elephant &
fi

exec walker "$@"
2 changes: 1 addition & 1 deletion bin/omarchy-launch-webapp
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ google-chrome* | brave-browser* | microsoft-edge* | opera* | vivaldi* | helium-b
*) browser="chromium.desktop" ;;
esac

exec setsid uwsm app -- $(sed -n 's/^Exec=\([^ ]*\).*/\1/p' {~/.local,~/.nix-profile,/usr}/share/applications/$browser 2>/dev/null | head -1) --app="$1" "${@:2}"
exec setsid uwsm-app -- $(sed -n 's/^Exec=\([^ ]*\).*/\1/p' {~/.local,~/.nix-profile,/usr}/share/applications/$browser 2>/dev/null | head -1) --app="$1" "${@:2}"
2 changes: 1 addition & 1 deletion bin/omarchy-launch-wifi
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash

exec setsid uwsm app -- "$TERMINAL" --class=Impala -e impala "$@"
exec setsid uwsm-app -- "$TERMINAL" --class=Impala -e impala "$@"
2 changes: 1 addition & 1 deletion bin/omarchy-lock-screen
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ if pgrep -x "1password" >/dev/null; then
fi

# Avoid running screensaver when locked
pkill -f "$TERMINAL --class Screensaver"
pkill -f "alacritty --class Screensaver"
Loading