mirror of
https://github.com/LukeHagar/omarchy.git
synced 2025-12-09 12:37:46 +00:00
Use uwsm-app instead of uwsm app consistently
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Ensure elephant is running before launching walker
|
# Ensure elephant is running before launching walker
|
||||||
if ! pgrep -x elephant > /dev/null; then
|
if ! pgrep -x elephant > /dev/null; then
|
||||||
setsid uwsm app -- elephant &
|
setsid uwsm-app -- elephant &
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exec walker "$@"
|
exec walker "$@"
|
||||||
|
|||||||
@@ -12,10 +12,10 @@ if [[ $EUID -eq 0 ]]; then
|
|||||||
# Restart services as the script owner
|
# Restart services as the script owner
|
||||||
systemd-run --uid="$SCRIPT_OWNER" --setenv=XDG_RUNTIME_DIR="/run/user/$USER_UID" \
|
systemd-run --uid="$SCRIPT_OWNER" --setenv=XDG_RUNTIME_DIR="/run/user/$USER_UID" \
|
||||||
bash -c "
|
bash -c "
|
||||||
setsid uwsm app -- elephant &
|
setsid uwsm-app -- elephant &
|
||||||
setsid uwsm app -- walker --gapplication-service &
|
setsid uwsm-app -- walker --gapplication-service &
|
||||||
"
|
"
|
||||||
else
|
else
|
||||||
setsid uwsm app -- elephant &
|
setsid uwsm-app -- elephant &
|
||||||
setsid uwsm app -- walker --gapplication-service &
|
setsid uwsm-app -- walker --gapplication-service &
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -3,16 +3,16 @@ $terminal = uwsm-app -- $TERMINAL
|
|||||||
$browser = omarchy-launch-browser
|
$browser = omarchy-launch-browser
|
||||||
|
|
||||||
bindd = SUPER, RETURN, Terminal, exec, $terminal --working-directory="$(omarchy-cmd-terminal-cwd)"
|
bindd = SUPER, RETURN, Terminal, exec, $terminal --working-directory="$(omarchy-cmd-terminal-cwd)"
|
||||||
bindd = SUPER SHIFT, F, File manager, exec, uwsm app -- nautilus --new-window
|
bindd = SUPER SHIFT, F, File manager, exec, uwsm-app -- nautilus --new-window
|
||||||
bindd = SUPER SHIFT, B, Browser, exec, $browser
|
bindd = SUPER SHIFT, B, Browser, exec, $browser
|
||||||
bindd = SUPER SHIFT ALT, B, Browser (private), exec, $browser --private
|
bindd = SUPER SHIFT ALT, B, Browser (private), exec, $browser --private
|
||||||
bindd = SUPER SHIFT, M, Music, exec, omarchy-launch-or-focus spotify
|
bindd = SUPER SHIFT, M, Music, exec, omarchy-launch-or-focus spotify
|
||||||
bindd = SUPER SHIFT, N, Editor, exec, omarchy-launch-editor
|
bindd = SUPER SHIFT, N, Editor, exec, omarchy-launch-editor
|
||||||
bindd = SUPER SHIFT, T, Activity, exec, $terminal -e btop
|
bindd = SUPER SHIFT, T, Activity, exec, $terminal -e btop
|
||||||
bindd = SUPER SHIFT, D, Docker, exec, $terminal -e lazydocker
|
bindd = SUPER SHIFT, D, Docker, exec, $terminal -e lazydocker
|
||||||
bindd = SUPER SHIFT, G, Signal, exec, omarchy-launch-or-focus signal "uwsm app -- signal-desktop"
|
bindd = SUPER SHIFT, G, Signal, exec, omarchy-launch-or-focus signal "uwsm-app -- signal-desktop"
|
||||||
bindd = SUPER SHIFT, O, Obsidian, exec, omarchy-launch-or-focus "^obsidian$" "uwsm-app -- obsidian -disable-gpu --enable-wayland-ime"
|
bindd = SUPER SHIFT, O, Obsidian, exec, omarchy-launch-or-focus "^obsidian$" "uwsm-app -- obsidian -disable-gpu --enable-wayland-ime"
|
||||||
bindd = SUPER SHIFT, SLASH, Passwords, exec, uwsm app -- 1password
|
bindd = SUPER SHIFT, SLASH, Passwords, exec, uwsm-app -- 1password
|
||||||
|
|
||||||
# If your web app url contains #, type it as ## to prevent hyperland treat it as comments
|
# If your web app url contains #, type it as ## to prevent hyperland treat it as comments
|
||||||
bindd = SUPER SHIFT, A, ChatGPT, exec, omarchy-launch-webapp "https://chatgpt.com"
|
bindd = SUPER SHIFT, A, ChatGPT, exec, omarchy-launch-webapp "https://chatgpt.com"
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
exec-once = uwsm app -- hypridle
|
exec-once = uwsm-app -- hypridle
|
||||||
exec-once = uwsm app -- mako
|
exec-once = uwsm-app -- mako
|
||||||
exec-once = uwsm app -- waybar
|
exec-once = uwsm-app -- waybar
|
||||||
exec-once = uwsm app -- fcitx5
|
exec-once = uwsm-app -- fcitx5
|
||||||
exec-once = uwsm app -- swaybg -i ~/.config/omarchy/current/background -m fill
|
exec-once = uwsm-app -- swaybg -i ~/.config/omarchy/current/background -m fill
|
||||||
exec-once = uwsm app -- swayosd-server
|
exec-once = uwsm-app -- swayosd-server
|
||||||
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||||
exec-once = omarchy-cmd-first-run
|
exec-once = omarchy-cmd-first-run
|
||||||
exec-once = uwsm app -- elephant
|
exec-once = uwsm-app -- elephant
|
||||||
exec-once = uwsm app -- walker --gapplication-service
|
exec-once = uwsm-app -- walker --gapplication-service
|
||||||
|
|||||||
@@ -2,5 +2,5 @@ echo "Install swayOSD to show volume status"
|
|||||||
|
|
||||||
if omarchy-cmd-missing swayosd-server; then
|
if omarchy-cmd-missing swayosd-server; then
|
||||||
omarchy-pkg-add swayosd
|
omarchy-pkg-add swayosd
|
||||||
setsid uwsm app -- swayosd-server &>/dev/null &
|
setsid uwsm-app -- swayosd-server &>/dev/null &
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -5,5 +5,5 @@ if [[ ! -d ~/.config/swayosd ]]; then
|
|||||||
cp -r ~/.local/share/omarchy/config/swayosd/* ~/.config/swayosd/
|
cp -r ~/.local/share/omarchy/config/swayosd/* ~/.config/swayosd/
|
||||||
|
|
||||||
pkill swayosd-server
|
pkill swayosd-server
|
||||||
setsid uwsm app -- swayosd-server &>/dev/null &
|
setsid uwsm-app -- swayosd-server &>/dev/null &
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -2,9 +2,9 @@ echo "Switch select bindings to launch or focus mode"
|
|||||||
|
|
||||||
if [[ -f ~/.config/hypr/bindings.conf ]]; then
|
if [[ -f ~/.config/hypr/bindings.conf ]]; then
|
||||||
sed -i '/SUPER, M, Music, exec/ c\bindd = SUPER, M, Music, exec, omarchy-launch-or-focus spotify' ~/.config/hypr/bindings.conf
|
sed -i '/SUPER, M, Music, exec/ c\bindd = SUPER, M, Music, exec, omarchy-launch-or-focus spotify' ~/.config/hypr/bindings.conf
|
||||||
sed -i '/SUPER, O, Obsidian, exec/ c\bindd = SUPER, O, Obsidian, exec, omarchy-launch-or-focus obsidian "uwsm app -- obsidian -disable-gpu --enable-wayland-ime"' ~/.config/hypr/bindings.conf
|
sed -i '/SUPER, O, Obsidian, exec/ c\bindd = SUPER, O, Obsidian, exec, omarchy-launch-or-focus obsidian "uwsm-app -- obsidian -disable-gpu --enable-wayland-ime"' ~/.config/hypr/bindings.conf
|
||||||
|
|
||||||
sed -i '/SUPER, G, Signal, exec/ c\bindd = SUPER, G, Signal, exec, omarchy-launch-or-focus signal "uwsm app -- signal-desktop"' ~/.config/hypr/bindings.conf
|
sed -i '/SUPER, G, Signal, exec/ c\bindd = SUPER, G, Signal, exec, omarchy-launch-or-focus signal "uwsm-app -- signal-desktop"' ~/.config/hypr/bindings.conf
|
||||||
sed -i '/SUPER SHIFT, G, WhatsApp, exec/ c\bindd = SUPER SHIFT, G, WhatsApp, exec, omarchy-launch-or-focus-webapp WhatsApp "https://web.whatsapp.com/"' ~/.config/hypr/bindings.conf
|
sed -i '/SUPER SHIFT, G, WhatsApp, exec/ c\bindd = SUPER SHIFT, G, WhatsApp, exec, omarchy-launch-or-focus-webapp WhatsApp "https://web.whatsapp.com/"' ~/.config/hypr/bindings.conf
|
||||||
sed -i '/SUPER ALT, G, Google Messages, exec/ c\bindd = SUPER ALT, G, Google Messages, exec, omarchy-launch-or-focus-webapp "Google Messages" "https://messages.google.com/web/conversations"' ~/.config/hypr/bindings.conf
|
sed -i '/SUPER ALT, G, Google Messages, exec/ c\bindd = SUPER ALT, G, Google Messages, exec, omarchy-launch-or-focus-webapp "Google Messages" "https://messages.google.com/web/conversations"' ~/.config/hypr/bindings.conf
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -17,5 +17,5 @@ fi
|
|||||||
|
|
||||||
# Use default terminal for keybinding
|
# Use default terminal for keybinding
|
||||||
if grep -q "terminal = uwsm app" ~/.config/hypr/bindings.conf; then
|
if grep -q "terminal = uwsm app" ~/.config/hypr/bindings.conf; then
|
||||||
sed -i '/terminal = uwsm app -- alacritty/ c\$terminal = uwsm app -- $TERMINAL' ~/.config/hypr/bindings.conf
|
sed -i '/terminal = uwsm-app -- alacritty/ c\$terminal = uwsm-app -- $TERMINAL' ~/.config/hypr/bindings.conf
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user