From f756d742dad2e02ce3dc730812e7c630f8ddd1e7 Mon Sep 17 00:00:00 2001 From: Andrej Benz Date: Tue, 15 Jul 2025 13:44:24 +0200 Subject: [PATCH] use uwsm to properly wrap applications --- config/hypr/hyprland.conf | 14 +++++++------- default/hypr/bindings/utilities.conf | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/config/hypr/hyprland.conf b/config/hypr/hyprland.conf index df35a76..0191512 100644 --- a/config/hypr/hyprland.conf +++ b/config/hypr/hyprland.conf @@ -19,20 +19,20 @@ source = ~/.local/share/omarchy/default/hypr/windows.conf source = ~/.config/omarchy/current/theme/hyprland.conf # Application bindings -$terminal = alacritty -$browser = chromium --new-window --ozone-platform=wayland +$terminal = uwsm app -- alacritty +$browser = uwsm app -- chromium --new-window --ozone-platform=wayland $webapp = $browser --app bind = SUPER, return, exec, $terminal -bind = SUPER, F, exec, nautilus --new-window +bind = SUPER, F, exec, uwsm app -- nautilus --new-window bind = SUPER, B, exec, $browser -bind = SUPER, M, exec, spotify +bind = SUPER, M, exec, uwsm app -- spotify bind = SUPER, N, exec, $terminal -e nvim bind = SUPER, T, exec, $terminal -e btop bind = SUPER, D, exec, $terminal -e lazydocker -bind = SUPER, G, exec, signal-desktop -bind = SUPER, O, exec, obsidian -disable-gpu -bind = SUPER, slash, exec, 1password +bind = SUPER, G, exec, uwsm app -- signal-desktop +bind = SUPER, O, exec, uwsm app -- obsidian -disable-gpu +bind = SUPER, slash, exec, uwsm app -- 1password bind = SUPER, A, exec, $webapp="https://chatgpt.com" bind = SUPER SHIFT, A, exec, $webapp="https://grok.com" diff --git a/default/hypr/bindings/utilities.conf b/default/hypr/bindings/utilities.conf index e4c5f3a..08973e0 100644 --- a/default/hypr/bindings/utilities.conf +++ b/default/hypr/bindings/utilities.conf @@ -1,5 +1,5 @@ # Launching -bind = SUPER, space, exec, pkill wofi || wofi --show drun -O alphabetical +bind = SUPER, space, exec, pkill wofi || uwsm app -- "$(wofi --show drun --sort-order=alphabetical --style="$HOME/.local/share/omarchy/default/wofi/search.css" --define=drun-print_desktop_file=true | sed -E "s/(\.desktop) /\1:/")" bind = SUPER, K, exec, pkill wofi || ~/.local/share/omarchy/bin/omarchy-show-keybindings # Aesthetics