x11 session type
This commit is contained in:
parent
b887e133d3
commit
1360eb40dd
6
env.nu
6
env.nu
@ -269,3 +269,9 @@ $env.PATH = ($env.PATH
|
||||
| prepend ($env.HOME + '/.npmbin/bin')
|
||||
| prepend ($env.HOME + '/.venv/bin')
|
||||
)
|
||||
|
||||
$env.XDG_SESSION_TYPE = if (tty | str starts-with "/dev/pts") {
|
||||
"x11"
|
||||
} else {
|
||||
"tty"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user