tw93 / tw93/Pake

[Bug] pake-youtube doesn't respect dark mode on i3wm!

Open
#1,387 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Rust
Stars
61.5k
Forks
12.7k
Avg merge
2d 7h
Merged PRs (30d)
7

Description

Search before asking
  • I searched in the issues and found nothing similar.
Pake version

3.17.1

Rust version

1.89.0

Package Manager

pnpm

System version

Arch Linux

Node.js version

26.8.2

Build Command

pake https://www.youtube.com --name youtube --targets zst

Minimal reproduce step

build pake-youtube with the above command.
I apply dark mode on i3wm with this command
gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
and light theme with this command:
gsettings set org.gnome.desktop.interface color-scheme 'prefer-light'

I don't know the dependencies that allow this to work on i3wm, but surprisingly pretty much all apps follow this command which is so convenient.

I will say this. I'm not sure if previous builds of pake-youtube on my system followed the theme (They obviously didn't work). But if I log into GNOME and run the app, it changes the theme immediately!

What did you expect to see?

full on app dark theme

What did you see instead?

only light theme

Anything else?

Thank you!

Are you willing to submit a PR?
  • I'm willing to submit a PR!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with the pake https://www.youtube.com --name youtube --targets zst command on Arch Linux under i3wm. Start by comparing the generated app after running each gsettings color-scheme command, then trace the desktop-theme handling used by the packaged app. Done means the generated pake-youtube app switches between full dark and light themes under i3wm as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, rust, tauri
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.