diff --git a/iso_configs/pmostools/peptools/bsconf.py b/iso_configs/pmostools/peptools/bsconf.py index a0e6a7b7..56300bf8 100644 --- a/iso_configs/pmostools/peptools/bsconf.py +++ b/iso_configs/pmostools/peptools/bsconf.py @@ -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") diff --git a/iso_configs/pmostools/peptools/hub.py b/iso_configs/pmostools/peptools/hub.py index bbb1269f..6324a23a 100755 --- a/iso_configs/pmostools/peptools/hub.py +++ b/iso_configs/pmostools/peptools/hub.py @@ -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 diff --git a/iso_configs/pmostools/peptools/hubconf.py b/iso_configs/pmostools/peptools/hubconf.py index 530ca812..61226d92 100644 --- a/iso_configs/pmostools/peptools/hubconf.py +++ b/iso_configs/pmostools/peptools/hubconf.py @@ -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### diff --git a/iso_configs/pmostools/peptools/kumo.py b/iso_configs/pmostools/peptools/kumo.py index 6bc128bd..81091163 100644 --- a/iso_configs/pmostools/peptools/kumo.py +++ b/iso_configs/pmostools/peptools/kumo.py @@ -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) diff --git a/iso_configs/pmostools/peptools/refresh.py b/iso_configs/pmostools/peptools/refresh.py index fecd2ce7..0c9a44cf 100644 --- a/iso_configs/pmostools/peptools/refresh.py +++ b/iso_configs/pmostools/peptools/refresh.py @@ -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(): diff --git a/iso_configs/pmostools/peptools/upgrade.py b/iso_configs/pmostools/peptools/upgrade.py index 93860e03..43cbce72 100644 --- a/iso_configs/pmostools/peptools/upgrade.py +++ b/iso_configs/pmostools/peptools/upgrade.py @@ -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 diff --git a/iso_configs/pmostools/peptools/welfunc.py b/iso_configs/pmostools/peptools/welfunc.py index 808037ef..0a8b4bf8 100644 --- a/iso_configs/pmostools/peptools/welfunc.py +++ b/iso_configs/pmostools/peptools/welfunc.py @@ -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/ & ' )