Compare commits
7 Commits
a41b34af17
...
master
Author | SHA1 | Date | |
---|---|---|---|
aac7d97f87 | |||
ea003bb40c | |||
8789a0d1fb | |||
5ebe7e33eb | |||
e5dda337ad | |||
da19079258 | |||
fecf256387 |
6
PKGBUILD
6
PKGBUILD
@ -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):
|
||||
|
Reference in New Issue
Block a user