mirror of
https://github.com/LukeHagar/omarchy.git
synced 2025-12-09 20:47:48 +00:00
We can no longer just relaunch hyprland
So restart it is
This commit is contained in:
@@ -14,6 +14,6 @@ omarchy-pkg-add $package
|
|||||||
echo "Setting $package as new default terminal..."
|
echo "Setting $package as new default terminal..."
|
||||||
sed -i "/export TERMINAL=/ c\export TERMINAL=$package" ~/.config/uwsm/default
|
sed -i "/export TERMINAL=/ c\export TERMINAL=$package" ~/.config/uwsm/default
|
||||||
|
|
||||||
# Relaunch is needed for new default to take effect
|
# Restart is needed for new default to take effect
|
||||||
echo
|
echo
|
||||||
gum confirm "Relaunch Hyprland to use new terminal?" && uwsm stop
|
gum confirm "Restart to use new terminal?" && systemctl reboot --no-wall
|
||||||
|
|||||||
@@ -5,9 +5,6 @@ if [ "$(uname -r | sed 's/-arch/\.arch/')" != "$(pacman -Q linux | awk '{print $
|
|||||||
|
|
||||||
elif [ -f "$HOME/.local/state/omarchy/reboot-required" ]; then
|
elif [ -f "$HOME/.local/state/omarchy/reboot-required" ]; then
|
||||||
gum confirm "Updates require reboot. Ready?" && omarchy-state clear re*-required && sudo reboot now
|
gum confirm "Updates require reboot. Ready?" && omarchy-state clear re*-required && sudo reboot now
|
||||||
|
|
||||||
elif [ -f "$HOME/.local/state/omarchy/relaunch-required" ]; then
|
|
||||||
gum confirm "Updates require Hyprland relaunch. Ready?" && omarchy-state clear re*-required && uwsm stop
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for file in "$HOME"/.local/state/omarchy/restart-*-required; do
|
for file in "$HOME"/.local/state/omarchy/restart-*-required; do
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Changes require a relaunch of Hyprland to take effect.
|
# Changes require a restart to take effect.
|
||||||
|
|
||||||
export TERMINAL=alacritty
|
export TERMINAL=alacritty
|
||||||
export EDITOR=nvim
|
export EDITOR=nvim
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Changes require a relaunch of Hyprland to take effect.
|
# Changes require a restart to take effect.
|
||||||
|
|
||||||
# Ensure Omarchy bins are in the path
|
# Ensure Omarchy bins are in the path
|
||||||
export OMARCHY_PATH=$HOME/.local/share/omarchy
|
export OMARCHY_PATH=$HOME/.local/share/omarchy
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ echo "Set \$TERMINAL and \$EDITOR in ~/.config/uwsm/default so entire system can
|
|||||||
# Set terminal and editor default in uwsm
|
# Set terminal and editor default in uwsm
|
||||||
omarchy-refresh-config uwsm/default
|
omarchy-refresh-config uwsm/default
|
||||||
omarchy-refresh-config uwsm/env
|
omarchy-refresh-config uwsm/env
|
||||||
omarchy-state set relaunch-required
|
omarchy-state set reboot-required
|
||||||
|
|
||||||
# Ensure scrolltouchpad setting applies to all terminals
|
# Ensure scrolltouchpad setting applies to all terminals
|
||||||
if grep -q "scrolltouchpad 1.5, class:Alacritty" ~/.config/hypr/input.conf; then
|
if grep -q "scrolltouchpad 1.5, class:Alacritty" ~/.config/hypr/input.conf; then
|
||||||
|
|||||||
Reference in New Issue
Block a user