diff --git a/sway/.config/sway/config b/sway/.config/sway/config index 79278ef..8c44644 100644 --- a/sway/.config/sway/config +++ b/sway/.config/sway/config @@ -91,6 +91,8 @@ exec flameshot # Simulate master layout exec autotiling --limit 2 +exec dbus-update-activation-environment DISPLAY XAUTHORITY WAYLAND_DISPLAY + #----------------# # set gtk+ theme # #----------------# diff --git a/zsh/.profile.d/ssh-agent.sh b/zsh/.profile.d/ssh-agent.sh index e6a02c0..789fbe3 100755 --- a/zsh/.profile.d/ssh-agent.sh +++ b/zsh/.profile.d/ssh-agent.sh @@ -22,4 +22,4 @@ start_keychain() { fi } -start_keychain "$HOME/.ssh/id_ed25519_nymph" +# start_keychain "$HOME/.ssh/id_ed25519_nymph" diff --git a/zsh/.profile.d/sway-startup.sh b/zsh/.profile.d/sway-startup.sh index 10d1244..659dd45 100755 --- a/zsh/.profile.d/sway-startup.sh +++ b/zsh/.profile.d/sway-startup.sh @@ -47,6 +47,9 @@ if [ -z "$DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then # Session Type for later screensharing export XDG_SESSION_TYPE=wayland + # SSH socket + export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/gcr/ssh" + exec dbus-launch --exit-with-session sway else echo "Cannot found dbus session: Sway don't work"