diff --git a/kuro/resources/gpu/gpu-intel.png b/kuro/resources/gpu/gpu-intel.png new file mode 100644 index 0000000..0c98129 Binary files /dev/null and b/kuro/resources/gpu/gpu-intel.png differ diff --git a/kuro/resources/gpu/gpu-nvidia.png b/kuro/resources/gpu/gpu-nvidia.png new file mode 100644 index 0000000..2ce9ccf Binary files /dev/null and b/kuro/resources/gpu/gpu-nvidia.png differ diff --git a/kuro/resources/gpu/gpu-unknown.png b/kuro/resources/gpu/gpu-unknown.png new file mode 100644 index 0000000..b0a2eec Binary files /dev/null and b/kuro/resources/gpu/gpu-unknown.png differ diff --git a/kuro/utils/general.py b/kuro/utils/general.py index 1644348..d9eb529 100644 --- a/kuro/utils/general.py +++ b/kuro/utils/general.py @@ -154,8 +154,8 @@ def bluetooth_audio_sink(): try: output = subprocess.check_output("pamixer --list-sinks".split()).decode("utf-8") output = [x for x in output.split('\n') if "blue" in x.lower()] - except subprocess.CalledProcessError: return -1 + except subprocess.CalledProcessError, FileNotFoundError: sink = -1 try: