diff --git a/programs/hyprland/default.nix b/programs/hyprland/default.nix index 912acd4..5ccf267 100644 --- a/programs/hyprland/default.nix +++ b/programs/hyprland/default.nix @@ -82,6 +82,7 @@ # Execute your favorite apps at launch exec-once = ~/.local/share/scripts/hyprland/start_services.sh + exec = ~/.local/share/scripts/hyprland/start_apps.sh # Set cursor size. env = HYPRCURSOR_SIZE, 36 diff --git a/scripts/hyprland/start_apps.sh b/scripts/hyprland/start_apps.sh new file mode 100755 index 0000000..36ddb2f --- /dev/null +++ b/scripts/hyprland/start_apps.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +# +# Start waybar. +# +waybar & + +# +# Start xwaylandvideobridge +# +xwaylandvideobridge & diff --git a/scripts/hyprland/start_services.sh b/scripts/hyprland/start_services.sh index c47ea64..36a40b4 100755 --- a/scripts/hyprland/start_services.sh +++ b/scripts/hyprland/start_services.sh @@ -10,16 +10,6 @@ dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # /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 wallpaper daemon and set one. #