Switch to xdg-terminal-exec

Solves the issue from ae10133b5e the right
way using the actual xdg-terminal-exec package and provides resillient
fallbacks no matter what the user might do.

This also removes the need to restart after changing terminals at all.

fixes #2198
fixes #2329
fixes #2673
fixes #1754
This commit is contained in:
Ryan Hughes
2025-11-03 01:09:26 -05:00
parent 66b5f7eab8
commit 4c97a31c98
16 changed files with 128 additions and 26 deletions

View File

@@ -1,5 +1,5 @@
# Application bindings
$terminal = uwsm-app -- $TERMINAL
$terminal = uwsm-app -- xdg-terminal-exec
$browser = omarchy-launch-browser
bindd = SUPER, RETURN, Terminal, exec, $terminal --working-directory="$(omarchy-cmd-terminal-cwd)"

View File

@@ -1,7 +1,7 @@
# Changes require a restart to take effect.
# Install other terminals via Install > Terminal
export TERMINAL=alacritty
export TERMINAL=xdg-terminal-exec
# Use code for VSCode
export EDITOR=nvim

View File

@@ -41,7 +41,7 @@
"custom/omarchy": {
"format": "<span font='omarchy'>\ue900</span>",
"on-click": "omarchy-menu",
"on-click-right": "omarchy-launch-terminal",
"on-click-right": "xdg-terminal-exec",
"tooltip-format": "Omarchy Menu\n\nSuper + Alt + Space"
},
"custom/update": {
@@ -56,7 +56,7 @@
"cpu": {
"interval": 5,
"format": "󰍛",
"on-click": "$TERMINAL -e btop"
"on-click": "xdg-terminal-exec btop"
},
"clock": {
"format": "{:L%A %H:%M}",
@@ -105,7 +105,7 @@
},
"pulseaudio": {
"format": "{icon}",
"on-click": "$TERMINAL --class=Wiremix -e wiremix",
"on-click": "xdg-terminal-exec --app-id=com.omarchy.Wiremix -e wiremix",
"on-click-right": "pamixer -t",
"tooltip-format": "Playing at {volume}%",
"scroll-step": 5,