Compare commits

...

10 Commits

Author SHA1 Message Date
aac7d97f87 fix typo 2024-09-04 00:39:11 +00:00
ea003bb40c changed the trom drive url 2024-09-04 00:37:59 +00:00
8789a0d1fb Update command for installing owlkettle 2024-03-28 17:14:57 +00:00
5ebe7e33eb Check if file exists instead of explicitly checking for symlink 2023-11-07 08:00:48 +01:00
e5dda337ad Update PKGBUILD 2023-11-05 15:47:12 +01:00
da19079258 Set icon name for the window
Now the app icon will show up on the XFCE workspace window.
2023-11-05 10:48:31 +01:00
fecf256387 Update PKGBUILD 2023-11-04 16:42:28 +01:00
a41b34af17 Merge pull request 'Add Makefile and README.md to the repo' () from rokosun-patch-1 into master
Reviewed-on: 
2023-11-04 16:37:32 +01:00
6ccb26ab0f Add README.md 2023-11-03 16:11:58 +01:00
bcdb5f9713 Add Makefile 2023-11-03 16:08:33 +01:00
4 changed files with 38 additions and 4 deletions

12
Makefile Normal file

@ -0,0 +1,12 @@
# makefile for tromjaro-welcome-app
build:
makepkg -s
install:
pamac-installer tromjaro-welcome-app-*.tar.zst
remove:
pamac-installer --remove tromjaro-welcome-app
clean:
$(RM) -rf src/ pkg/ pictures.zip *.tar.zst

@ -1,7 +1,7 @@
# Maintainer: TROM <contact@tromsite.com>
pkgname=tromjaro-welcome-app
pkgver=1.0
pkgrel=4
pkgver=2.1
pkgrel=1
pkgdesc="Welcome app for TROMjaro OS"
arch=('x86_64')
url="https://git.trom.tf/TROMjaro/welcome-app"
@ -40,7 +40,7 @@ prepare() {
echo 'Refresh nimble package list:'
"$HOME"/.nimble/bin/nimble --nim:"$HOME"/.nimble/bin/nim refresh
echo 'Install owlkettle from the latest git commit:'
"$HOME"/.nimble/bin/nimble --nim:"$HOME"/.nimble/bin/nim install owlkettle@#head
"$HOME"/.nimble/bin/nimble --nim:"$HOME"/.nimble/bin/nim install owlkettle
}
build(){

21
README.md Normal file

@ -0,0 +1,21 @@
# TROMjaro Welcome app
A Welcome app for TROMjaro Linux that gives users a nice overview of their operating system.
## Building the package
Open Terminal and issue the command:
`make`
To install the package right after building, use:
`make install`
To remove just installed package, use:
`make remove`
To cleanup the project folder, use:
`make clean`

@ -103,6 +103,7 @@ method view(app: AppState): Widget =
Window:
title = "TROMjaro Welcome"
defaultSize = (900, 600)
iconName = "tromjaro-welcome-app"
Box(orient = OrientY, margin = 20, spacing = 15):
Label:
useMarkup = true
@ -144,7 +145,7 @@ method view(app: AppState): Widget =
Label {.hAlign: AlignEnd.}:
text = "Open this Welcome Screen on every boot"
Switch {.vAlign: AlignCenter, hAlign: AlignStart.}:
state = if symlinkExists(autostartSymlinkPath): true else: false
state = if fileExists(autostartSymlinkPath): true else: false
proc changed(state: bool) =
if state == true:
if not symlinkExists(autostartSymlinkPath):