mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
update to use $TERMINAL instead of alacitty (#1648)
* update to use $TERMINAL instead of alacitty * revert * move env to hyprconfig * Only set if we have alacritty * Add launcher for wifi settings so it can be used in mako config * Set system terminal in config/uwsm/env to ensure its available everywhere * Ensure that $TERMINAL is available after update * Didn't work to have the TERMINAL env in Hyprland * Configure terminal settings against a full set of options * Make About usable with any terminal * One more alacritty-specific setting * Use the new wifi launcher bin * Only require the update/relaunch if TERMINAL isn't already set in config/uwsm/env * More alacritty usage converted to $TERMINAL * Use new launcher * Change scrolltouchpad input rule to apply to all terminals * Its a singular match * Take current font from waybar, in case we don't have alacritty * Only set font for alacritty if its being used * Get ready to be terminal agnostic on the refresh of config too * Use new launcher * Note the last reliance we have on alacritty * Make theme setting for terminals generic and include kitty * Set font_family for kitty as well * Quiet grep --------- Co-authored-by: David Heinemeier Hansson <david@hey.com>
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
echo "Remove opacity from alacritty.toml so Hyprland can control fully"
|
||||
|
||||
sed -i '/opacity = 0.98/d' ~/.config/alacritty/alacritty.toml
|
||||
if [[ -f ~/.config/alacritty/alacritty.toml ]]; then
|
||||
sed -i '/opacity = 0.98/d' ~/.config/alacritty/alacritty.toml
|
||||
fi
|
||||
|
||||
10
migrations/1758019332.sh
Normal file
10
migrations/1758019332.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
echo "Ensure $TERMINAL is set in uwsm env so entire system can rely on it"
|
||||
|
||||
if ! grep -q "export TERMINAL" ~/.config/uwsm/env; then
|
||||
omarchy-refresh-config uwsm/env
|
||||
omarchy-state set relaunch-required
|
||||
fi
|
||||
|
||||
if grep -q "scrolltouchpad 1.5, class:Alacritty" ~/.config/hypr/input.conf; then
|
||||
sed -i 's/windowrule = scrolltouchpad 1\.5, class:Alacritty/windowrule = scrolltouchpad 1.5, tag:terminal/' ~/.config/hypr/input.conf
|
||||
fi
|
||||
Reference in New Issue
Block a user