diff --git a/scripts/hyprland/start_services.sh b/scripts/hyprland/start_services.sh index b688669..d044e5e 100755 --- a/scripts/hyprland/start_services.sh +++ b/scripts/hyprland/start_services.sh @@ -1,10 +1,30 @@ #!/bin/sh +# +# Make sure xdg-desktop-portal-hyprland has access to what it needs +# +dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP & + +# +# Start authentication polkit. +# +/nix/store/$(ls -la /nix/store | rg '^d.*polkit-kde-agent.*\d$' | awk '{print $9}')/libexec/polkit-kde-authentication-agent-1 & + # # Start waybar. # waybar & +# +# Start xwaylandvideobridge +# +xwaylandvideobridge & + +# +# Start fcitx5 +# +fcitx5 & + # ## Start wallpaper daemon and set one. # @@ -30,11 +50,6 @@ load_wallpapers & # mako & -# -# Start authentication polkit. -# -/nix/store/$(ls -la /nix/store | rg '^d.*polkit-kde-agent.*\d$' | awk '{print $9}')/libexec/polkit-kde-authentication-agent-1 & - # # Refresh kdeconnect connections # @@ -47,13 +62,3 @@ wl-paste -w cliphist store & # Need this to be able to paste in xwayland applications. wl-paste -t text -w sh -c 'xclip -selection clipboard -o > /dev/null 2> /dev/null || xclip -selection clipboard' - -# -# Start xwaylandvideobridge -# -xwaylandvideobridge & - -# -# Make sure xdg-desktop-portal-hyprland has access to what it needs -# -dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP &