mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
8 lines
342 B
Bash
8 lines
342 B
Bash
echo "Add right-click terminal action to waybar omarchy menu icon"
|
|
|
|
WAYBAR_CONFIG="$HOME/.config/waybar/config.jsonc"
|
|
|
|
if [[ -f $WAYBAR_CONFIG ]] && ! grep -A5 '"custom/omarchy"' "$WAYBAR_CONFIG" | grep -q '"on-click-right"'; then
|
|
sed -i '/"on-click": "omarchy-menu",/a\ "on-click-right": "omarchy-launch-terminal",' "$WAYBAR_CONFIG"
|
|
fi
|