fix(hyprland): add tty check to not launch hyprland on ssh
This commit is contained in:
parent
9355a9c12f
commit
7b615ff2d6
1 changed files with 4 additions and 2 deletions
|
@ -2,9 +2,11 @@
|
|||
{
|
||||
environment.loginShellInit = # sh
|
||||
''
|
||||
if [[ -z "$SSH_CLIENT" && -z "$SSH_CONNECTION" ]]; then
|
||||
if uwsm check may-start; then
|
||||
exec uwsm start hyprland-uwsm.desktop
|
||||
fi
|
||||
fi
|
||||
'';
|
||||
|
||||
programs.hyprland = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue