Autostart hyprland on TTY2
This commit is contained in:
8
.config/fish/conf.d/start_hyprland.fish
Normal file
8
.config/fish/conf.d/start_hyprland.fish
Normal file
@@ -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
|
||||||
Reference in New Issue
Block a user