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, 7 insertions, 1 deletions
diff --git a/src/caelestia/subcommands/shell.py b/src/caelestia/subcommands/shell.py
index 4cdd128..a73ed38 100644
--- a/src/caelestia/subcommands/shell.py
+++ b/src/caelestia/subcommands/shell.py
@@ -1,3 +1,4 @@
+import os
import subprocess
from argparse import Namespace
@@ -32,7 +33,12 @@ class Command:
args.append("-d")
subprocess.run(args)
else:
- shell = subprocess.Popen(args, stdout=subprocess.PIPE, universal_newlines=True)
+ shell = subprocess.Popen(
+ args,
+ stdout=subprocess.PIPE,
+ universal_newlines=True,
+ env=dict(os.environ, QT_QPA_PLATFORMTHEME="gtk3"),
+ )
for line in shell.stdout:
if self.filter_log(line):
print(line, end="")