summaryrefslogtreecommitdiff
path: root/src/caelestia/subcommands
diff options
context:
space:
mode:
Diffstat (limited to 'src/caelestia/subcommands')
-rw-r--r--src/caelestia/subcommands/shell.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/caelestia/subcommands/shell.py b/src/caelestia/subcommands/shell.py
index a73ed38..4cdd128 100644
--- a/src/caelestia/subcommands/shell.py
+++ b/src/caelestia/subcommands/shell.py
@@ -1,4 +1,3 @@
-import os
import subprocess
from argparse import Namespace
@@ -33,12 +32,7 @@ class Command:
args.append("-d")
subprocess.run(args)
else:
- shell = subprocess.Popen(
- args,
- stdout=subprocess.PIPE,
- universal_newlines=True,
- env=dict(os.environ, QT_QPA_PLATFORMTHEME="gtk3"),
- )
+ shell = subprocess.Popen(args, stdout=subprocess.PIPE, universal_newlines=True)
for line in shell.stdout:
if self.filter_log(line):
print(line, end="")