From 99142f11ad7bccf3bb51cedfe55013c9690dcc0e Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Tue, 19 Aug 2025 17:15:36 +1000 Subject: shell: set QT_QPA_PLATFORMTHEME env Hopefully fixes most people's icon issues Fixes caelestia-dots/shell@390 --- src/caelestia/subcommands/shell.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/caelestia') 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="") -- cgit v1.2.3-freya