Skip to content

Commit

Permalink
make blood orange an optional theme
Browse files Browse the repository at this point in the history
  • Loading branch information
antheas authored Dec 16, 2024
1 parent da7d76d commit 45874dc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions src/hhd/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ settings:
diavolo: Diavolo
ocean: Atlantis
vapor: Vapor
blood_orange: Blood Orange

reset:
type: action
Expand Down
10 changes: 5 additions & 5 deletions src/hhd/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ def get_os() -> str:
with open("/sys/devices/virtual/dmi/id/product_name") as f:
dmi = f.read().strip()

if "jupiter" in dmi.lower() or "onexplayer" in dmi.lower():
if distro == "bazzite":
distro = "blood_orange_ba"
else:
distro = "blood_orange"
# if "jupiter" in dmi.lower() or "onexplayer" in dmi.lower():
# if distro == "bazzite":
# distro = "blood_orange_ba"
# else:
# distro = "blood_orange"

if "ONEXPLAYER F1 EVA-02" in dmi:
if distro == "bazzite":
Expand Down

0 comments on commit 45874dc

Please sign in to comment.