Add some wayland related env variables
This commit is contained in:
@ -60,6 +60,7 @@ starship init fish | source
|
|||||||
if status is-login
|
if status is-login
|
||||||
and set -q XDG_SESSION_TYPE XDG_VTNR
|
and set -q XDG_SESSION_TYPE XDG_VTNR
|
||||||
and test $XDG_SESSION_TYPE = "tty" -a $XDG_VTNR = "1"
|
and test $XDG_SESSION_TYPE = "tty" -a $XDG_VTNR = "1"
|
||||||
|
set -x XDG_SESSION_TYPE sway
|
||||||
exec sway
|
exec sway
|
||||||
end
|
end
|
||||||
{% end %}
|
{% end %}
|
||||||
|
|||||||
@ -313,3 +313,6 @@ for_window [app_id="zoom"] floating enable
|
|||||||
for_window [app_id="com.nextcloud.desktopclient.nextcloud"] floating enable
|
for_window [app_id="com.nextcloud.desktopclient.nextcloud"] floating enable
|
||||||
|
|
||||||
include /etc/sway/config.d/*
|
include /etc/sway/config.d/*
|
||||||
|
|
||||||
|
exec systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user