sway: fix dbus setup
This commit is contained in:
parent
66369b78f5
commit
c34c0e50d2
|
@ -246,9 +246,8 @@ actions:
|
|||
|
||||
start_services: >
|
||||
_runit_config "{{@@ _dotfile_abs_dst @@}}"
|
||||
dbus-daemon xsettingsd
|
||||
fusuma gpg-agent
|
||||
gammastep mako
|
||||
gammastep mako xsettingsd
|
||||
mpd mpDris2 telegram
|
||||
pipewire pipewire-media-session xdpw
|
||||
pulseaudio kdeconnectd kdeconnect-indicator
|
||||
|
|
|
@ -9,7 +9,6 @@ set -x QT_QPA_PLATFORMTHEME gtk2
|
|||
# set -x QT_QPA_PLATFOR wayland
|
||||
set -x DESKTOP_APP_I_KNOW_ABOUT_GTK_INCOMPATIBILITY 1
|
||||
set -x SDL_GAMECONTROLLERCONFIG '050000004c0500006802000000800000,Sony PLAYSTATION(R)3 Controller,a:b0,b:b1,x:b3,y:b2,back:b8,guide:b10,start:b9,leftstick:b11,rightstick:b12,leftshoulder:b4,rightshoulder:b5,dpup:b13,dpdown:b14,dpleft:b15,dpright:b16,leftx:a0,lefty:a1,rightx:a3,righty:a4,lefttrigger:a2,righttrigger:a5,platform:Linux,'
|
||||
set -x DBUS_SESSION_BUS_ADDRESS "unix:path=$XDG_RUNTIME_DIR/bus"
|
||||
|
||||
for i in ~/.local/bin ~/.cargo/bin ~/.factorio/bin/*
|
||||
test -d "$i";and fish_add_path "$i"
|
||||
|
|
|
@ -38,8 +38,8 @@ function esway
|
|||
set -x XDG_CURRENT_DESKTOP sway
|
||||
|
||||
# this should not be necessary, but whatever
|
||||
pidof sway &> /dev/null || exec sway
|
||||
|
||||
pidof sway &> /dev/null ||
|
||||
exec dbus-launch --exit-with-session sway
|
||||
end
|
||||
|
||||
if test "$XDG_VTNR" = 1
|
||||
|
|
Reference in New Issue