64 lines
1.4 KiB
Python
64 lines
1.4 KiB
Python
"""
|
|
* Author: "PepDebian(peppermintosteam@proton.me)
|
|
*
|
|
* License: SPDX-License-Identifier: GPL-3.0-or-later
|
|
*
|
|
* This file is used to keep functions that are used for the Welcome
|
|
* Screen
|
|
"""
|
|
import os.path
|
|
|
|
|
|
# This will get the logged in user
|
|
gusr = os.getlogin()
|
|
spath = "/home/" + gusr + "/.local/share/pmostools/peptools"
|
|
|
|
def suggested_packages():
|
|
""" Open the suggested packages """
|
|
os.system('python3 ' + spath + '/suggested.py')
|
|
|
|
def about():
|
|
"""Open the about page"""
|
|
os.system('min --new-window https://peppermintos.com/about/ &'
|
|
)
|
|
|
|
|
|
##SSB's###
|
|
|
|
def pep_docs():
|
|
"""Open Pep Docs"""
|
|
os.system('min --new-window https://peppermint_os.codeberg.page/html/ &'
|
|
)
|
|
|
|
# Community Section
|
|
|
|
|
|
def mastodon():
|
|
"""Open Mastodon"""
|
|
os.system('min --new-window https://fosstodon.org/@peppermintos &'
|
|
)
|
|
|
|
|
|
def code_berg():
|
|
"""Open Codeberg"""
|
|
os.system('min --new-window https://codeberg.org/Peppermint_OS & '
|
|
)
|
|
|
|
|
|
def matrix():
|
|
"""Open Matrix"""
|
|
os.system('min --new-window https://matrix.to/#/!JhPtEbNexzFaoOkvGp:matrix.org?via=matrix.org & '
|
|
)
|
|
|
|
|
|
def source_forge():
|
|
"""Open Sourceforge"""
|
|
os.system('min --new-window https://sourceforge.net/p/peppermintos/pepos/ & '
|
|
)
|
|
|
|
|
|
def build_date():
|
|
"""Open BuildDate wiki"""
|
|
os.system('min --new-window https://sourceforge.net/p/peppermintos/pepwiki/BuildDate/ & '
|
|
)
|