mirror of
https://github.com/caelestia-dots/cli.git
synced 2026-06-10 01:09:28 -05:00
Revert "shell: set QT_QPA_PLATFORMTHEME env"
This reverts commit 99142f11ad.
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
import os
|
|
||||||
import subprocess
|
import subprocess
|
||||||
from argparse import Namespace
|
from argparse import Namespace
|
||||||
|
|
||||||
@@ -33,12 +32,7 @@ class Command:
|
|||||||
args.append("-d")
|
args.append("-d")
|
||||||
subprocess.run(args)
|
subprocess.run(args)
|
||||||
else:
|
else:
|
||||||
shell = subprocess.Popen(
|
shell = subprocess.Popen(args, stdout=subprocess.PIPE, universal_newlines=True)
|
||||||
args,
|
|
||||||
stdout=subprocess.PIPE,
|
|
||||||
universal_newlines=True,
|
|
||||||
env=dict(os.environ, QT_QPA_PLATFORMTHEME="gtk3"),
|
|
||||||
)
|
|
||||||
for line in shell.stdout:
|
for line in shell.stdout:
|
||||||
if self.filter_log(line):
|
if self.filter_log(line):
|
||||||
print(line, end="")
|
print(line, end="")
|
||||||
|
|||||||
Reference in New Issue
Block a user