Update Hyprland launch command
- Refer to the packages we mean specifically, rather than just anything
in path
- Start a dbus session to allow clicking on URLs etc., this will be
followed-up by a patch adding xdg-open which will also be required for
this functionality
Change-Id: If393f61065df55b397ed55ac576bb0d3285db40c
Reviewed-on: https://git.clicks.codes/c/Chimera/NixFiles/+/531
Reviewed-by: Samuel Shuert <coded@clicks.codes>
Tested-by: Skyler Grey <minion@clicks.codes>
diff --git a/modules/home/hyprland/default.nix b/modules/home/hyprland/default.nix
index fce3e84..a511ddf 100644
--- a/modules/home/hyprland/default.nix
+++ b/modules/home/hyprland/default.nix
@@ -45,13 +45,13 @@
config = lib.mkIf config.chimera.hyprland.enable {
programs.bash.profileExtra = lib.mkIf config.chimera.shell.bash.enable (lib.mkBefore ''
if [ -z $WAYLAND_DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then
- exec systemd-cat -t hyprland Hyprland
+ exec ${pkgs.systemd}/bin/systemd-cat -t hyprland ${pkgs.dbus}/bin/dbus-run-session ${config.wayland.windowManager.hyprland.package}/bin/Hyprland
fi
'');
programs.zsh.profileExtra = lib.mkIf config.chimera.shell.zsh.enable (lib.mkBefore ''
if [ -z $WAYLAND_DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then
- exec systemd-cat -t hyprland Hyprland
+ exec ${pkgs.systemd}/bin/systemd-cat -t hyprland ${pkgs.dbus}/bin/dbus-run-session ${config.wayland.windowManager.hyprland.package}/bin/Hyprland
fi
'');