Updated: Found a minor bug in welcome.
Signed-off-by: debianpepper <pdpdebdevuan@protonmail.com>
This commit is contained in:
parent
b3fb2503ba
commit
acd34d9a68
Binary file not shown.
|
@ -7,7 +7,7 @@
|
|||
* Screen
|
||||
"""
|
||||
import os.path
|
||||
|
||||
import shutil
|
||||
# This will get the logged in user
|
||||
gusr = os.getlogin()
|
||||
spath = "/home/" + gusr + "/.local/share/pmostools/peptools"
|
||||
|
@ -29,10 +29,15 @@ def determine_browser(run_addrs):
|
|||
profile_path = os.path.expanduser(
|
||||
f"/home/{gusr}/.local/share/pmostools/ff_profile/"
|
||||
)
|
||||
|
||||
if shutil.which('firefox'):
|
||||
command = (
|
||||
f'firefox -P firefox_kumo --profile "{profile_path}" {run_addrs} &'
|
||||
)
|
||||
print("Found the FF, running Firefox")
|
||||
else:
|
||||
print("Firefox not found, running with luakit instead")
|
||||
command = f'luakit -U {run_addrs} &'
|
||||
else:
|
||||
command = f'luakit -U {run_addrs} &'
|
||||
print("This is a 32bit Flagship with no browser")
|
||||
|
|
Loading…
Reference in New Issue