We can no longer just relaunch hyprland
So restart it is
This commit is contained in:
1 parent
3bf7c15906
commit
fc4cf86487
5 files changed
+5
-8
No files matched your search
@@ -14,6 +14,6 @@ omarchy-pkg-add $package
|
||||
echo "Setting $package as new default terminal..."
|
||||
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
|
||||
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
|
||||
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
|
||||
|
||||
for file in "$HOME"/.local/state/omarchy/restart-*-required; do
|
||||
|
||||
Reference in new issue
Block a user