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
45 changes: 27 additions & 18 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,31 @@ on: push
jobs:
build:
runs-on: ubuntu-latest


container:
image: ghcr.io/flathub-infra/flatpak-github-actions:gnome-48
options: --privileged

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
# ⚠️ This setups the latest stable Nim version
- name: Install Nim
uses: iffy/install-nim@v5
- name: Install dependencies
run: nimble install -y
- name: Build
run: nimble build --define:release --out:lucem

- name: Upload Build Artifacts
uses: actions/upload-artifact@v4
with:
name: Build
path: lucem
- uses: actions/checkout@v4
with:
fetch-depth: 0

# ⚠️ This setups the latest stable Nim version
- name: Install Nim
uses: iffy/install-nim@v5

#- name: Install glib
# run: sudo apt install libglib2.0-dev --assume-yes
- name: Compile resources
run: ./scripts/compile-resources.sh

- name: Install dependencies
run: nimble install -y
- name: Build with nimble
run: nimble build --define:release --out:lucem

- name: Upload Build Artifacts
uses: actions/upload-artifact@v4
with:
name: Build
path: lucem
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
!*/
result
src/resources.c
!LICENSE
172 changes: 172 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions assets/icons/shopping-cart-symbolic.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 5 additions & 3 deletions lucem.nimble
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Package

version = "0.1.0"
version = "3.0.0"
author = "xTrayambak"
description = "A wrapper for Sober"
license = "GPL-3.0-or-later"
Expand All @@ -13,7 +13,9 @@ requires "nim >= 2.2.0"
requires "owlkettle >= 3.0.0"
requires "jsony >= 1.1.5"


requires "curly >= 1.1.1"
requires "results >= 0.5.1"
requires "url >= 0.1.3"
requires "url >= 0.1.3"

requires "shakar >= 0.1.3"
requires "chronicles >= 0.12.2"
2 changes: 1 addition & 1 deletion neo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "lucem"
version = "0.1.0"
version = "3.0.0"
license = "GPL3"
kind = "Binary"
backend = "C"
Expand Down
1 change: 1 addition & 0 deletions nim.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
--deepcopy:on
--define:adwMinor=5
--passC:"-march=znver3 -mtune=znver3 -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mpclmul -mavx -mavx2"
11 changes: 9 additions & 2 deletions resources.xml
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ts is enough to give libxml2 a stroke and cardiac arrest at once 🙏💔

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left it like that because I couldn't figure out how to have the icon follow the system theme 😭🙏

Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
<gresources>
<gresource prefix="/xyz/xtrayambak/lucem">
<file>assets/icons/lucem.svg</file>
<gresource prefix="/equinoxhq/lucem/resources">
<file
compressed="true"
preprocess="xml-stripblanks"
>assets/icons/lucem.svg</file>
<file
compressed="true"
preprocess="xml-stripblanks"
>assets/icons/shopping-cart-symbolic.svg</file>
</gresource>
</gresources>
25 changes: 25 additions & 0 deletions src/adw/about.nim
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import pkg/owlkettle, pkg/owlkettle/adw
import ../meta

proc openAboutMenu*(app: Viewable) =
discard app.open:
gui:
AboutWindow:
applicationName = "Lucem"
developerName = "The EquinoxHQ Team"
version = meta.Version
supportUrl = "https://discord.gg/Z5m3n9fjcU"
issueUrl = "https://github.com/equinoxhq/lucem/issues"
website = "https://equinoxhq.github.io"
applicationIcon = "lucem"
copyright =
"""
Copyright (C) 2025 xTrayambak and the EquinoxHQ Team
"""
license = meta.License
licenseType = LicenseGPL_3_0
developers = @["Trayambak (xTrayambak)"]
designers = @["Adrien (AshtakaOOf)"]
artists = @[]
documenters = @[]
credits = @{"Emotional support (probably)": @["Kirby (k1yrix)"]}
12 changes: 12 additions & 0 deletions src/adw/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/*
Random styles because I was too lazy to find the proper implementation in owlkettle for random stuff
- Ashtaka
*/

/* .sidebar-button {
--shade-color: green;
--border-color: green;
--accent-bg-color: green;
--card-bg-color: green;
padding: 2rem;
} */
Loading
Loading