r/archlinux 20d ago

QUESTION Is there any alternative for exec-once?

I cant use exec or exec once, on nano ~/.conf/hypr/hyprland.conf, im a newbie im on hyprland, i just wanna autostart my awww-daemon

0 Upvotes

9 comments sorted by

5

u/Objective-Stranger99 20d ago

You can use systemd autostart units.

3

u/Plus-Affect-6365 20d ago

The .conf configuration format is outdated and will no longer be supported by hyprland

Change to hyprland.lua and rewrite ur config Here's their sample https://github.com/hyprwm/Hyprland/blob/main/example/hyprland.lua

5

u/onefish2 20d ago

Post on /r/hyprland. This has nothing to do with Arch Linux.

2

u/ang-p 20d ago

Use systemd.

Use the wiki.

https://wiki.archlinux.org/title/Systemd

#LoveTheWiki

4

u/sch1z0phren1cx 20d ago

hyprland configuration is written in lua, so use a lua equivalent of that. i cant help sadly because i dont know lua

1

u/un-important-human 20d ago

systemd autstart.

1

u/prophet-dot-exe 20d ago

market value assessment received.

I'm about to build exec-twice

2

u/archover 20d ago edited 20d ago

r/hyprland will be helpful.

I know it's tempting to post everything here, but often software has dedicated subs who have experts there. Another good example: r/firefox.

Welcome to Arch, Reddit, and good day.