mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
improve: uniquely identify terminal apps for window rules and focus. Unify waybar behaviour to use launch-or-focus (#3389)
* improve: uniquely identify btop when launched from waybar. * align btop app id * add migration to uniquely identify btop * also add unique app ids to lazydocker and terminal editor * introduce new omarchy-launch-tui that sets class. * align all the tuis and behaviour in waybar * update migration accordingly * fixes * separate terminal from tui * fix: double setsid uswm-app -- * Standardize namespace on org.omarchy and lowercase --------- Co-authored-by: David Heinemeier Hansson <david@hey.com>
This commit is contained in:
8
migrations/1763386443.sh
Normal file
8
migrations/1763386443.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
echo "Uniquely identify terminal apps with custom app-ids using omarchy-launch-tui"
|
||||
|
||||
# Replace terminal -e calls with omarchy-launch-tui in bindings
|
||||
sed -i 's/\$terminal -e \([^ ]*\)/omarchy-launch-tui \1/g' ~/.config/hypr/bindings.conf
|
||||
|
||||
# Update waybar to use omarchy-launch-or-focus with omarchy-launch-tui for TUI apps
|
||||
sed -i 's/xdg-terminal-exec btop/omarchy-launch-or-focus org.omarchy.btop "omarchy-launch-tui btop"/' ~/.config/waybar/config.jsonc
|
||||
sed -i 's/xdg-terminal-exec --app-id=com\.omarchy\.Wiremix -e wiremix/omarchy-launch-or-focus org.omarchy.wiremix "omarchy-launch-tui wiremix"/' ~/.config/waybar/config.jsonc
|
||||
Reference in New Issue
Block a user