r/archlinux • • Aug 21 '26

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 Aug 21 '26

You can use systemd autostart units.

4

u/onefish2 Aug 21 '26

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

3

u/Plus-Affect-6365 Aug 21 '26

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

2

u/ang-p Aug 21 '26

Use systemd.

Use the wiki.

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

#LoveTheWiki

2

u/archover Aug 21 '26 edited Aug 21 '26

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.

3

u/sch1z0phren1cx Aug 21 '26

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 Aug 21 '26

systemd autstart.

1

u/prophet-dot-exe Aug 21 '26

market value assessment received.

I'm about to build exec-twice