17 lines
1012 B
Lua

-- Exec at start
hl.on("hyprland.start", function()
hl.exec_cmd(os.getenv("HOME") .. "/.local/share/until-scripts/run-at-start.sh")
hl.exec_cmd("systemctl --user start hyprpolkitagent")
hl.exec_cmd("sleep 3 && copyq --start-server")
hl.exec_cmd("uwsm app -- waybar -c " .. os.getenv("HOME") .. "/.config/waybar/bar/config.jsonc -s " .. os.getenv("HOME") .. "/.config/waybar/bar/style.css")
hl.exec_cmd("hyprctl setcursor catppuccin-frappe-mauve-cursors 16")
hl.exec_cmd("dconf write /org/gnome/desktop/interface/cursor-size \"16\"")
hl.exec_cmd("dconf write /org/gnome/desktop/interface/cursor-theme \"'catppuccin-frappe-mauve-cursors'\"")
hl.exec_cmd("dconf write /org/gnome/desktop/interface/gtk-theme \"'catppuccin-frappe-mauve-standard+default'\"")
hl.exec_cmd("hyprpaper")
hl.exec_cmd("openrgb -p " .. os.getenv("HOME") .. "/.config/OpenRGB/Cat.orp")
hl.exec_cmd("sleep 3 && uwsm app -- nextcloud --background")
hl.exec_cmd("uwsm app -- kdeconnectd &")
end)