Compare commits
7 commits
a41b34af17
...
master
Author | SHA1 | Date | |
---|---|---|---|
aac7d97f87 | |||
ea003bb40c | |||
8789a0d1fb | |||
5ebe7e33eb | |||
e5dda337ad | |||
da19079258 | |||
fecf256387 |
2 changed files with 5 additions and 4 deletions
6
PKGBUILD
6
PKGBUILD
|
@ -1,7 +1,7 @@
|
||||||
# Maintainer: TROM <contact@tromsite.com>
|
# Maintainer: TROM <contact@tromsite.com>
|
||||||
pkgname=tromjaro-welcome-app
|
pkgname=tromjaro-welcome-app
|
||||||
pkgver=1.0
|
pkgver=2.1
|
||||||
pkgrel=4
|
pkgrel=1
|
||||||
pkgdesc="Welcome app for TROMjaro OS"
|
pkgdesc="Welcome app for TROMjaro OS"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="https://git.trom.tf/TROMjaro/welcome-app"
|
url="https://git.trom.tf/TROMjaro/welcome-app"
|
||||||
|
@ -40,7 +40,7 @@ prepare() {
|
||||||
echo 'Refresh nimble package list:'
|
echo 'Refresh nimble package list:'
|
||||||
"$HOME"/.nimble/bin/nimble --nim:"$HOME"/.nimble/bin/nim refresh
|
"$HOME"/.nimble/bin/nimble --nim:"$HOME"/.nimble/bin/nim refresh
|
||||||
echo 'Install owlkettle from the latest git commit:'
|
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(){
|
build(){
|
||||||
|
|
|
@ -103,6 +103,7 @@ method view(app: AppState): Widget =
|
||||||
Window:
|
Window:
|
||||||
title = "TROMjaro Welcome"
|
title = "TROMjaro Welcome"
|
||||||
defaultSize = (900, 600)
|
defaultSize = (900, 600)
|
||||||
|
iconName = "tromjaro-welcome-app"
|
||||||
Box(orient = OrientY, margin = 20, spacing = 15):
|
Box(orient = OrientY, margin = 20, spacing = 15):
|
||||||
Label:
|
Label:
|
||||||
useMarkup = true
|
useMarkup = true
|
||||||
|
@ -144,7 +145,7 @@ method view(app: AppState): Widget =
|
||||||
Label {.hAlign: AlignEnd.}:
|
Label {.hAlign: AlignEnd.}:
|
||||||
text = "Open this Welcome Screen on every boot"
|
text = "Open this Welcome Screen on every boot"
|
||||||
Switch {.vAlign: AlignCenter, hAlign: AlignStart.}:
|
Switch {.vAlign: AlignCenter, hAlign: AlignStart.}:
|
||||||
state = if symlinkExists(autostartSymlinkPath): true else: false
|
state = if fileExists(autostartSymlinkPath): true else: false
|
||||||
proc changed(state: bool) =
|
proc changed(state: bool) =
|
||||||
if state == true:
|
if state == true:
|
||||||
if not symlinkExists(autostartSymlinkPath):
|
if not symlinkExists(autostartSymlinkPath):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue