Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not Theming Pywall Apps #222

Open
ewan58385 opened this issue Jul 9, 2024 · 4 comments
Open

Not Theming Pywall Apps #222

ewan58385 opened this issue Jul 9, 2024 · 4 comments

Comments

@ewan58385
Copy link

Describe the bug
I noticed in your screenshots you themed spotify; mine was not theming.

To Reproduce
Steps to reproduce the behavior:

  1. Install pywall:
    sudo pip3 install pywal

  2. Install kde-material-you-colors
    pipx install kde-material-you-colors
    pipx inject kde-material-you-colors pywal
    pipx upgrade kde-material-you-colors

  3. Refresh theme

Expected behavior
Pywall supported applications should be themed

Desktop (please complete the following information):
OS: KDE neon 6.0 x86_64
Host: B460 AORUS PRO AC -CF
Kernel: 6.5.0-41-generic
Shell: bash 5.1.16
DE: Plasma 6.1.2
WM: KWin
Theme: Breeze-Dark [GTK2], Breeze [GTK3]
Icons: breeze-dark [GTK2/3]
CPU: Intel i7-10700K (16) @ 5.100GHz
GPU: NVIDIA GeForce RTX 3080

  • Pywall
  • Spiceitify
  • ImageMagick

Additional context
I manually built ImageMagick (pywall dependency) after pywall.

If I can provide relevant logs please let me know.

@luisbocanegra
Copy link
Owner

Yes please send the output of running kde-material-you-colors from terminal

@ewan58385
Copy link
Author

Course.

ewanw@ewan-b460aorusproac:~$ kde-material-you-colors
[D] utils: kill_existing: Found previous process in PID file: '1659' killing...
[I] main: main: ###### STARTED NEW SESSION ######
[D] main: main: Installed in /home/ewanw/.local/pipx/venvs/kde-material-you-colors/lib/python3.10/site-packages/kde_material_you_colors
[D] config: eval_conf: Config "on_change_hook": empty, using fallback: None
[D] config: eval_conf: Config "color": empty, using fallback: None
[D] config: eval_conf: Config "custom_colors_list": empty, using fallback: None
[D] config: eval_conf: Config "darker_window_list": empty, using fallback: None
[W] main: main: Screenshot mode enabled, Waiting 86400.0s between updates
[D] main: main: {'light': False, 'file': None, 'monitor': 0, 'ncolor': 0, 'iconslight': 'breeze', 'iconsdark': 'breeze-dark', 'pywal': True, 'pywal_light': False, 'light_blend_multiplier': 1, 'dark_blend_multiplier': 1, 'on_change_hook': None, 'sierra_breeze_buttons_color': False, 'disable_konsole': False, 'titlebar_opacity': 100, 'titlebar_opacity_dark': 100, 'toolbar_opacity': 100, 'toolbar_opacity_dark': 100, 'konsole_opacity': 100, 'konsole_opacity_dark': 100, 'color': None, 'klassy_windeco_outline': False, 'custom_colors_list': None, 'darker_window_list': None, 'use_startup_delay': True, 'startup_delay': 2, 'plasma_follows_scheme': False, 'pywal_follows_scheme': False, 'main_loop_delay': 1.0, 'screenshot_delay': 86400.0, 'once_after_change': False, 'pause_mode': False, 'screenshot_only_mode': True, 'scheme_variant': 5, 'chroma_multiplier': 2.5, 'tone_multiplier': 1.0, 'qdbus_executable': 'qdbus'}
[I] main: main: Wallpaper: None (screenshot): /tmp/kde-material-you-colors-desktop-screenshot-ewanw.png
[I] m3_scheme_utils: get_color_schemes: Best colors: 0:#025386 1:#39a80f 2:#09321b 3:#0a6284
[I] m3_scheme_utils: get_color_schemes: Using seed: 0:#025386
[I] plasma_utils: apply_color_schemes: Successfully applied the colour scheme MaterialYouDark to your current Plasma session
[I] plasma_utils: set_icons: Icon theme changed to breeze-dark: 
[I] kwin_utils: klassy_update_decoration_color_cache: Updating Klassy decoration color cache
[I] konsole_utils: get_default_profile: Found default profile 'CustomColours.profile'
[D] konsole_utils: reload_profile: Konsole services (windows) running (1):
[D] konsole_utils: reload_profile: org.kde.konsole-10306 (1 sessions)
[I] pywal_utils: apply_schemes: Setting pywal colors...
[D] pywal_sequences_timeout: send: Sending sequences to /dev/pts/1 /dev/pts/0
[I] pywal_sequences_timeout: send: Set terminal colors.
[I] export: every: Exported all files.
[I] export: every: Exported all user files.
[I] reload: env: Reloaded environment.
[I] kwin_utils: reload: Reloading KWin
 #051521  #92b1d2  #70b4f1  #7ec370  #90b8de  #79c3ec  #ccbbdd  #8ef9ae 
 #a5b5c7  #a0bbd8  #84bef4  #90cb84  #9ec1e3  #8ccbef  #d2c3e2  #9ff9b9 
 #8e9eb0  #5f7b96  #477dab  #508855  #5d7f9e  #4d87a8  #88829e  #5aac7e 


I noted how the entries: plasma_follows_scheme, pywal_follows_scheme were set to false - here was my config file:

ewanw@ewan-b460aorusproac:~$ cat ~/.config/kde-material-you-colors/config.conf
[CUSTOM]
%23%200=Content
%23%201=Expressive
%23%202=Fidelity
%23%203=Monochrome
%23%204=Neutral
%23%205=TonalSpot
%23%206=Vibrant
%23%207=Rainbow
%23%208=FruitSalad
%23color=255, 0, 1
%23custom_colors_list=#ED8796 #A6DA95 #EED49F #8AADF4 #F5BDE6 #8BD5CA #f5a97f
%23dark_blend_multiplier=1.0
%23darker_window_list=konsole Alacritty kitty
%23disable_konsole=False
%23file=/tmp/000_eDP-1_current_wallpaper
%23iconsdark=Papirus-Dark
%23iconslight=Papirus-Light
%23klassy_windeco_outline=True
%23konsole_opacity=85
%23konsole_opacity_dark=85
%23light=False
%23light_blend_multiplier=1.0
%23main_loop_delay=1
%23on_change_hook=notify-send.sh kde-material-you-colorsThis is a test-t 2000
%23once_after_change=False
%23pause_mode=False
%23pywal=True
%23pywal_light=False
%23qdbus_executable=qdbus6
%23screenshot_delay=900
%23sierra_breeze_buttons_color=True
%23startup_delay=5
%23titlebar_opacity=85
%23titlebar_opacity_dark=85
%23toolbar_opacity=85
%23toolbar_opacity_dark=85
%23use_startup_delay=True
chroma_multiplier=2.5
color=
color_last=#d0265c
custom_colors_list=
custom_colors_list_last=#d0265c #74e448 #eece4f #66a3ef #532066 #297d81 #ccc1c1
dark_brightness_multiplier=1
dark_saturation_multiplier=1
darker_window_list=
disable_konsole=false
gui_custom_exec_location=
iconsdark=breeze-dark
iconslight=breeze
klassy_windeco_outline=false
konsole_opacity=100
konsole_opacity_dark=100
light=false
light_brightness_multiplier=1
light_saturation_multiplier=1
main_loop_delay=1
monitor=0
ncolor=0
on_change_hook=
once_after_change=false
pause_mode=false
plasma_follows_scheme=false
pywal=true
pywal_follows_scheme=false
pywal_light=false
qdbus_executable=qdbus
scheme_variant=5
screenshot_delay=86400
screenshot_only_mode=true
sierra_breeze_buttons_color=false
startup_delay=2
titlebar_opacity=100
titlebar_opacity_dark=100
tone_multiplier=1
toolbar_opacity=100
toolbar_opacity_dark=100
use_startup_delay=true

So I changed:

plasma_follows_scheme=true
pywal_follows_scheme=true

Unsure if this was necessary - the widget had these boxes checked.

Here's my output after the changed commands (colours haven't changed in pywall apps):

ewanw@ewan-b460aorusproac:~$ kde-material-you-colors
[D] utils: kill_existing: Found previous process in PID file: '14865' killing...
[D] utils: kill_existing: Process not found, probably ended by someone else
[I] main: main: ###### STARTED NEW SESSION ######
[D] main: main: Installed in /home/ewanw/.local/pipx/venvs/kde-material-you-colors/lib/python3.10/site-packages/kde_material_you_colors
[D] config: eval_conf: Config "on_change_hook": empty, using fallback: None
[D] config: eval_conf: Config "color": empty, using fallback: None
[D] config: eval_conf: Config "custom_colors_list": empty, using fallback: None
[D] config: eval_conf: Config "darker_window_list": empty, using fallback: None
[W] main: main: Screenshot mode enabled, Waiting 86400.0s between updates
[D] main: main: {'light': None, 'file': None, 'monitor': 0, 'ncolor': 0, 'iconslight': 'breeze', 'iconsdark': 'breeze-dark', 'pywal': True, 'pywal_light': None, 'light_blend_multiplier': 1, 'dark_blend_multiplier': 1, 'on_change_hook': None, 'sierra_breeze_buttons_color': False, 'disable_konsole': False, 'titlebar_opacity': 100, 'titlebar_opacity_dark': 100, 'toolbar_opacity': 100, 'toolbar_opacity_dark': 100, 'konsole_opacity': 100, 'konsole_opacity_dark': 100, 'color': None, 'klassy_windeco_outline': False, 'custom_colors_list': None, 'darker_window_list': None, 'use_startup_delay': True, 'startup_delay': 2, 'plasma_follows_scheme': True, 'pywal_follows_scheme': True, 'main_loop_delay': 1.0, 'screenshot_delay': 86400.0, 'once_after_change': False, 'pause_mode': False, 'screenshot_only_mode': True, 'scheme_variant': 5, 'chroma_multiplier': 2.5, 'tone_multiplier': 1.0, 'qdbus_executable': 'qdbus'}
[I] plasma_utils: get_initial_mode: Using theme from stored name
[I] main: main: Wallpaper: None (screenshot): /tmp/kde-material-you-colors-desktop-screenshot-ewanw.png
[I] m3_scheme_utils: get_color_schemes: Best colors: 0:#01518a 1:#4aa319 2:#175933 3:#0d6483 4:#367f6a
[I] m3_scheme_utils: get_color_schemes: Using seed: 0:#01518a
[I] plasma_utils: apply_color_schemes: Successfully applied the colour scheme MaterialYouDark to your current Plasma session
[I] plasma_utils: set_icons: Icon theme changed to breeze-dark: org.kde.plasma.changeicons: Icon theme is already used
[I] kwin_utils: klassy_update_decoration_color_cache: Updating Klassy decoration color cache
[I] konsole_utils: get_default_profile: Found default profile 'CustomColours.profile'
[D] konsole_utils: reload_profile: Konsole services (windows) running (1):
[D] konsole_utils: reload_profile: org.kde.konsole-10306 (1 sessions)
[I] pywal_utils: apply_schemes: Setting pywal colors...
[D] pywal_sequences_timeout: send: Sending sequences to /dev/pts/1 /dev/pts/0
[I] pywal_sequences_timeout: send: Set terminal colors.
[I] export: every: Exported all files.
[I] export: every: Exported all user files.
[I] reload: env: Reloaded environment.
[I] kwin_utils: reload: Reloading KWin
 #081420  #6eaff2  #86bf71  #93b6de  #7bc6eb  #d0bbde  #96dfc8  #8ff0ae 
 #a7b4c7  #83baf5  #97c885  #a1bfe3  #8eceee  #d6c3e2  #a5e3cf  #a0f2b9 
 #919db0  #4779ac  #578555  #617e9e  #4f89a7  #8b819e  #629a8f  #5da67e

Let me know if there is anything else I can give you!

@luisbocanegra
Copy link
Owner

I noticed in your screenshots you themed spotify; mine was not theming.

Sorry I completely missed this, for spotify it needs spicetify + a spicetify theme.

In the screenshots I was using https://github.com/luisbocanegra/spicetify-kde-material-you but haven't updated it in a year so it will not work, I can fix the script that exports the colors but for the CSS is best to start from scratch, should be relatively easy as I was only changing small things.

Just no ETA on when I will do that, in the meantime you can use any other spicefity theme that supports pywal or create your own to load pywal colors

@ewan58385
Copy link
Author

Hey that's awesome! I look forward to it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants