Updates: Minor changed to descriptions
Signed-off-by: debianpepper <pdpdebdevuan@protonmail.com>
This commit is contained in:
parent
6fbf2092d1
commit
c0da98b89c
|
@ -1,5 +1,10 @@
|
|||
import ttkbootstrap as ttk
|
||||
#This will set the style to used for boostrap
|
||||
#just change the name to what is needed for the
|
||||
#the system
|
||||
"""
|
||||
* Author: "PeppermintOS Team(peppermintosteam@proton.me)
|
||||
*
|
||||
* License: SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*
|
||||
* This module will set the style to be used for bootstrap
|
||||
* just change the name to the prefered theme to be used for the
|
||||
* system
|
||||
"""
|
||||
bbstyle = ttk.Window(themename="darkly")
|
||||
|
|
|
@ -115,7 +115,7 @@ def fphandle():
|
|||
|
||||
|
||||
def sbphandle():
|
||||
""" Hanlde Snap Store """
|
||||
""" Handle Snap Store """
|
||||
check_snap_path = '/usr/bin/gnome-software'
|
||||
if os.path.exists(check_snap_path):
|
||||
btnsw.destroy()
|
||||
|
@ -157,9 +157,8 @@ def sbphandle():
|
|||
|
||||
|
||||
def xsetting_handle():
|
||||
""" Check to see what the desktop session is
|
||||
If its not xfce do not use the xfce
|
||||
setting button or user groups
|
||||
""" Check to see what the desktop session is If its not xfce do not use
|
||||
the xfce setting button or user groups
|
||||
"""
|
||||
check = os.environ.get('DESKTOP_SESSION')
|
||||
using = check
|
||||
|
|
|
@ -3,7 +3,8 @@
|
|||
*
|
||||
* License: SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*
|
||||
* The hub config file
|
||||
* The hub config file should be used for the over all button style and design
|
||||
* of the hub
|
||||
"""
|
||||
import os
|
||||
from tkinter import PhotoImage
|
||||
|
@ -12,8 +13,7 @@ from tkinter import PhotoImage
|
|||
gusr = os.getlogin()
|
||||
spath = "/home/" + gusr + "/.local/share/pmostools/peptools"
|
||||
|
||||
### this files should be used for the over all button style and design of the
|
||||
### hub
|
||||
|
||||
|
||||
#button icons.
|
||||
###General System icons###
|
||||
|
|
|
@ -97,8 +97,6 @@ def fill_url_address():
|
|||
os.system('luakit -U ' + run_addrs + ' &')
|
||||
|
||||
### Create SSB side
|
||||
|
||||
|
||||
new_label = ttk.Label(pwin, text="Create new SSBs",
|
||||
bootstyle="danger",
|
||||
font=("Helvetica", 14)
|
||||
|
|
|
@ -1,5 +1,12 @@
|
|||
import os
|
||||
"""
|
||||
* Author: "PepDebian(peppermintosteam@proton.me)
|
||||
*
|
||||
* License: SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*
|
||||
* Used to refresh the data in the Kumo Gui
|
||||
"""
|
||||
|
||||
import os
|
||||
|
||||
|
||||
def refresh_win():
|
||||
|
|
|
@ -1,3 +1,10 @@
|
|||
"""
|
||||
* Author: "PepDebian(peppermintosteam@proton.me)
|
||||
*
|
||||
* License: SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*
|
||||
* Beta upgrade tool.
|
||||
"""
|
||||
import os
|
||||
import re
|
||||
import subprocess
|
||||
|
|
|
@ -22,15 +22,14 @@ def hub():
|
|||
os.system('hub')
|
||||
|
||||
|
||||
##SSB's###
|
||||
##SSB's
|
||||
|
||||
def pep_docs():
|
||||
"""Open Pep Docs"""
|
||||
os.system('luakit -U https://peppermint_os.codeberg.page/html/ &'
|
||||
)
|
||||
|
||||
# Community Section
|
||||
|
||||
## Community Section
|
||||
|
||||
def mastodon():
|
||||
"""Open Mastodon"""
|
||||
|
@ -46,7 +45,8 @@ def code_berg():
|
|||
|
||||
def matrix():
|
||||
"""Open Matrix"""
|
||||
os.system('luakit -U https://matrix.to/#/!JhPtEbNexzFaoOkvGp:matrix.org?via=matrix.org & '
|
||||
os.system('luakit -U https://matrix.to/#/!JhPtEbNexzFaoOkvGp:matrix.org?'
|
||||
'via=matrix.org & '
|
||||
)
|
||||
|
||||
|
||||
|
@ -58,5 +58,6 @@ def source_forge():
|
|||
|
||||
def build_date():
|
||||
"""Open BuildDate wiki"""
|
||||
os.system('luakit -U https://sourceforge.net/p/peppermintos/pepwiki/BuildDate/ & '
|
||||
os.system('luakit -U https://sourceforge.net/p/peppermintos/pepwiki/'
|
||||
'BuildDate/ & '
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue