Repository navigation
omarchy-restart-shell: restart the shell in the Labwc session - #296
Open
johnbeatty wants to merge 2 commits into
Open
johnbeatty wants to merge 2 commits into
johnbeatty wants to merge 2 commits into
Conversation
Upstream's command asks Hyprland (hyprctl) whether the shell is ready and whether the session is locked; the tablet runs Labwc, so it could not restart the shell at all, also not after the shell died and left the screen locked with nothing that takes a tap. The tablet's own version gives the new shell Labwc's environment and its display, so omarchy-shell and Settings find it, and runs it under the user's systemd (omarchy-shell.service), which polkit counts as the graphical session: NetworkManager refused a shell started from ssh. It starts locked, like the session's first shell, which brings the PIN back after a shell that died while locked. Tried on an iPhone 7 Plus over ssh: twice in a row, the second replacing the first; Settings opened and Wi-Fi switched off and on.
johnbeatty
force-pushed
the
restart-shell-labwc
branch
from
December 4, 2026 20:07
6c08218 to
94bb5c3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
omarchy-restart-shellcouldn't restart the shell on the tablet at all. Upstream's command asks Hyprland (hyprctl) whether the shell is ready and whether the session is locked, but the tablet runs Labwc. That mattered most after a shell died and left the screen locked with nothing that takes a tap.The tablet's own
desktop/shell/bin/omarchy-restart-shell:omarchy-shelland Settings find it;omarchy-shell.service), which polkit counts as the graphical session (NetworkManager refused a shell started from ssh);Tested by
tests/test_restart_shell_labwc.py, and on an iPhone 7 Plus over ssh: twice in a row, the second replacing the first. Settings opened, and Wi-Fi switched off and on.Goes well with the lock reload fix (
lock-defers-shell-reload), but neither needs the other.