diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-19 17:15:36 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-19 17:15:36 +1000 |
| commit | 99142f11ad7bccf3bb51cedfe55013c9690dcc0e (patch) | |
| tree | 467ff054067b0fd871f5ba99dc049c3e3cf6ec58 | |
| parent | ci: fix update flake action (diff) | |
| download | caelestia-cli-99142f11ad7bccf3bb51cedfe55013c9690dcc0e.tar.gz caelestia-cli-99142f11ad7bccf3bb51cedfe55013c9690dcc0e.tar.bz2 caelestia-cli-99142f11ad7bccf3bb51cedfe55013c9690dcc0e.zip | |
shell: set QT_QPA_PLATFORMTHEME env
Hopefully fixes most people's icon issues
Fixes caelestia-dots/shell@390
| -rw-r--r-- | src/caelestia/subcommands/shell.py | 8 |
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="") |