Compare commits

...

7 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
2 changed files with 5 additions and 4 deletions

@ -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(){

@ -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):