From f5f1536d33b44c5fa0aff6ca7252543f522fae60 Mon Sep 17 00:00:00 2001 From: Florestan Bredow Date: Fri, 19 Dec 2025 13:32:36 +0100 Subject: [PATCH] Autostart hyprland on TTY2 --- .config/fish/conf.d/start_hyprland.fish | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .config/fish/conf.d/start_hyprland.fish diff --git a/.config/fish/conf.d/start_hyprland.fish b/.config/fish/conf.d/start_hyprland.fish new file mode 100644 index 0000000..60ac2b3 --- /dev/null +++ b/.config/fish/conf.d/start_hyprland.fish @@ -0,0 +1,8 @@ +# Start X at login +if status --is-login + if test -z "$DISPLAY" -a $XDG_VTNR = 2 + exec hyprland + # pour activer le partage d'écran mais provoque des bugs. + #exec env XDG_CURRENT_DESKTOP=sway dbus-run-session sway + end +end