mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
feat: add sway, hyperland and wayfire env to debug
This commit is contained in:
parent
220354727e
commit
3a1d4b79db
1 changed files with 7 additions and 3 deletions
|
|
@ -27,9 +27,13 @@ impl Actions {
|
|||
writeln!(s, " Adapter.matches: {:?}", yazi_adapter::Adapter::matches())?;
|
||||
|
||||
writeln!(s, "\nDesktop")?;
|
||||
writeln!(s, " XDG_SESSION_TYPE: {:?}", env::var_os("XDG_SESSION_TYPE"))?;
|
||||
writeln!(s, " WAYLAND_DISPLAY : {:?}", env::var_os("WAYLAND_DISPLAY"))?;
|
||||
writeln!(s, " DISPLAY : {:?}", env::var_os("DISPLAY"))?;
|
||||
writeln!(s, " XDG_SESSION_TYPE : {:?}", env::var_os("XDG_SESSION_TYPE"))?;
|
||||
writeln!(s, " WAYLAND_DISPLAY : {:?}", env::var_os("WAYLAND_DISPLAY"))?;
|
||||
writeln!(s, " DISPLAY : {:?}", env::var_os("DISPLAY"))?;
|
||||
writeln!(s, " SWAYSOCK : {:?}", env::var_os("SWAYSOCK"))?;
|
||||
#[rustfmt::skip]
|
||||
writeln!(s, " HYPRLAND_INSTANCE_SIGNATURE: {:?}", env::var_os("HYPRLAND_INSTANCE_SIGNATURE"))?;
|
||||
writeln!(s, " WAYFIRE_SOCKET : {:?}", env::var_os("WAYFIRE_SOCKET"))?;
|
||||
|
||||
writeln!(s, "\nSSH")?;
|
||||
writeln!(s, " shared.in_ssh_connection: {:?}", yazi_shared::in_ssh_connection())?;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue