31 lines
752 B
Lua
31 lines
752 B
Lua
-------------------
|
|
---- AUTOSTART ----
|
|
-------------------
|
|
|
|
-- See https://wiki.hypr.land/Configuring/Basics/Autostart/
|
|
|
|
-- Autostart necessary processes (like notifications daemons, status bars, etc.)
|
|
-- Or execute your favorite apps at launch like this:
|
|
--
|
|
|
|
|
|
local function uwsm(cmd)
|
|
return "uwsm-app -- " .. cmd
|
|
end
|
|
|
|
|
|
-- Set programs that you use
|
|
local terminal = uwsm("alacritty")
|
|
|
|
|
|
hl.on("hyprland.start", function()
|
|
hl.exec_cmd("fcitx5 -d")
|
|
hl.exec_cmd("hyprpm reload -n")
|
|
hl.exec_cmd(uwsm(terminal))
|
|
hl.exec_cmd(uwsm("hyprpaper"))
|
|
hl.exec_cmd(uwsm("firefox"))
|
|
hl.exec_cmd(uwsm("wl-paste --type text --watch cliphist store"))
|
|
hl.exec_cmd(uwsm("wl-paste --type image --watch cliphist store"))
|
|
hl.exec_cmd(uwsm("noctalia"))
|
|
end)
|