add xdg-desktop-portol for sway
This commit is contained in:
parent
5edc815cd1
commit
d79a93b645
2 changed files with 7 additions and 2 deletions
|
@ -60,8 +60,11 @@ if [[ -z $DISPLAY && $(tty) == /dev/tty1 && $XDG_SESSION_TYPE == tty ]]; then
|
|||
export QT_QPA_PLATFORM=wayland
|
||||
export QT_WAYLAND_DISABLE_WINDOWDECORATION="1"
|
||||
export GDK_BACKEND=wayland
|
||||
export XDG_SESSION_TYPE=wayland
|
||||
export XDG_CURRENT_DESKTOP=sway
|
||||
|
||||
export XDG_CURRENT_DESKTOP=sway # xdg-desktop-portal
|
||||
export XDG_SESSION_DESKTOP=sway # systemd
|
||||
export XDG_SESSION_TYPE=wayland # xdg/systemd
|
||||
|
||||
export WLR_NO_HARDWARE_CURSORS=1
|
||||
export CLUTTER_BACKEND=wayland
|
||||
export SDL_VIDEODRIVER=wayland
|
||||
|
|
2
dot_config/xdg-desktop-portal/sway-portals.conf
Normal file
2
dot_config/xdg-desktop-portal/sway-portals.conf
Normal file
|
@ -0,0 +1,2 @@
|
|||
[preferred]
|
||||
default=wlr;gtk
|
Loading…
Reference in a new issue