Compare commits
10 Commits
287aad97ea
...
master
Author | SHA1 | Date | |
---|---|---|---|
aac7d97f87 | |||
ea003bb40c | |||
|
8789a0d1fb | ||
|
5ebe7e33eb | ||
e5dda337ad | |||
|
da19079258 | ||
fecf256387 | |||
a41b34af17 | |||
|
6ccb26ab0f | ||
|
bcdb5f9713 |
12
Makefile
Normal file
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
|
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(){
|
||||
|
21
README.md
Normal file
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):
|
||||
|
Reference in New Issue
Block a user