From 47d0d37673126e0d795a58b131acae7db6da6c2b Mon Sep 17 00:00:00 2001 From: Lalle <29478339+LalleSX@users.noreply.github.com> Date: Wed, 21 Jun 2023 17:54:42 +0200 Subject: [PATCH 1/4] Launch dwm in a dbus session --- .config/x11/xinitrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/x11/xinitrc b/.config/x11/xinitrc index 2debc017..93352d88 100755 --- a/.config/x11/xinitrc +++ b/.config/x11/xinitrc @@ -14,4 +14,4 @@ else . "$HOME/.xprofile" fi -ssh-agent dwm +exec dbus-launch --exit-with-session dwm From b90c31bb54a05a1307b12f45540380477dcf78da Mon Sep 17 00:00:00 2001 From: Lalle <29478339+LalleSX@users.noreply.github.com> Date: Wed, 21 Jun 2023 18:09:52 +0200 Subject: [PATCH 2/4] Add ssh-agent --- .config/x11/xprofile | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/x11/xprofile b/.config/x11/xprofile index d6b88c5e..b8ea4032 100755 --- a/.config/x11/xprofile +++ b/.config/x11/xprofile @@ -8,6 +8,7 @@ setbg & # set the background with the `setbg` script #xrdb ${XDG_CONFIG_HOME:-$HOME/.config}/x11/xresources & xrdbpid=$! # Uncomment to use Xresources colors/settings on startup autostart="mpd xcompmgr dunst unclutter pipewire remapd" +eval $(ssh-agent) for program in $autostart; do pidof -sx "$program" || "$program" & From c178eda1bedaf09c463fd089b75e60adb7c654db Mon Sep 17 00:00:00 2001 From: Lalle <29478339+LalleSX@users.noreply.github.com> Date: Sun, 15 Oct 2023 00:19:44 +0200 Subject: [PATCH 3/4] Update dbus env --- .config/x11/xinitrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.config/x11/xinitrc b/.config/x11/xinitrc index 93352d88..e99da8cc 100755 --- a/.config/x11/xinitrc +++ b/.config/x11/xinitrc @@ -13,5 +13,6 @@ if [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/x11/xprofile" ]; then else . "$HOME/.xprofile" fi - -exec dbus-launch --exit-with-session dwm +# Activate dbus variables +dbus-update-activation-environment --all +ssh-agent dwm From 7779e7c7577b34269cc69c126c3ac2681bb9aac1 Mon Sep 17 00:00:00 2001 From: Lalle <29478339+LalleSX@users.noreply.github.com> Date: Sun, 15 Oct 2023 00:20:20 +0200 Subject: [PATCH 4/4] Update xprofile --- .config/x11/xprofile | 1 - 1 file changed, 1 deletion(-) diff --git a/.config/x11/xprofile b/.config/x11/xprofile index b8ea4032..d6b88c5e 100755 --- a/.config/x11/xprofile +++ b/.config/x11/xprofile @@ -8,7 +8,6 @@ setbg & # set the background with the `setbg` script #xrdb ${XDG_CONFIG_HOME:-$HOME/.config}/x11/xresources & xrdbpid=$! # Uncomment to use Xresources colors/settings on startup autostart="mpd xcompmgr dunst unclutter pipewire remapd" -eval $(ssh-agent) for program in $autostart; do pidof -sx "$program" || "$program" &