sway: expose needed env vars to user dbus services (xdg-desktop-portal)
This commit is contained in:
parent
186c09594d
commit
57f272c9ba
|
@ -170,4 +170,13 @@ in ''
|
|||
pos 1920,0
|
||||
res 1920x1080
|
||||
}
|
||||
|
||||
# XXX: needed for xdg-desktop-portal-* to work.
|
||||
# this is how we expose these env vars to user dbus services:
|
||||
# - DISPLAY
|
||||
# - WAYLAND_DISPLAY
|
||||
# - SWAYSOCK
|
||||
# - XDG_CURRENT_DESKTOP
|
||||
# for more, see: <repo:nixos/nixpkgs:nixos/modules/programs/wayland/sway.nix>
|
||||
include /etc/sway/config.d/*
|
||||
''
|
||||
|
|
Loading…
Reference in New Issue
Block a user