Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion build_files/02_hyprland.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ dnf5 install -y \
SwayNotificationCenter-git \
foot

echo 'if [[ $(ps aux | grep hyprland | wc -l) -eq 1 ]]; then cd $HOME && echo "launch hyprland?" && read && systemd-run --user --service-type=exec --unit=hyprland --description="hyprland start service" hyprland ; fi' >> /etc/profile.d/launch_hyprland.sh
cp /ctx/hyprland.service /usr/lib/systemd/user/hyprland.service
systemctl --global enable hyprland.service
10 changes: 10 additions & 0 deletions build_files/hyprland.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[Unit]
Description=Start Hyprland as User

[Service]
Type=exec
ExecStartPre=/usr/bin/hyprland --verify-config
ExecStart=/usr/bin/hyprland

[Install]
WantedBy=default.target
Loading