mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-12-27 05:34:35 +00:00
17 lines
530 B
Bash
Executable file
17 lines
530 B
Bash
Executable file
#!/bin/zsh
|
|
|
|
# User .profile definition.
|
|
# This file is only sourced once, after login, Unlike
|
|
# .zshrc/.bashrc, which will run whenever a new terminal
|
|
# is opened.
|
|
|
|
# Start graphical session automatically on tty1 if Hyprland or startx is available
|
|
#if [ "$(tty)" = "/dev/tty1" ] && [ "$UID" != 0 ]; then
|
|
# if command -v Hyprland >/dev/null; then
|
|
# ! pidof -s Hyprland >/dev/null 2>&1 && launch-hypr
|
|
# elif command -v startx >/dev/null; then
|
|
# ! pidof -s Xorg >/dev/null 2>&1 && exec startx "$XINITRC"
|
|
# fi
|
|
#fi
|
|
|