question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ricemood -a doesn't use colors given from ricemood -i

See original GitHub issue

So when I run ricemood -i *image file* it gives this output:

[
  [ [ "V", "Vibrant" ], [ 208, 29, 65 ] ],
  [
    [ "LV", "LightVibrant" ],
    [ 238.7746835443038, 138.6253164556962, 158.76708860759493 ]
  ],
  [ [ "DV", "DarkVibrant" ], [ 124, 4, 11 ] ],
  [ [ "M", "Muted" ], [ 93, 170, 131 ] ],
  [ [ "LM", "LightMuted" ], [ 197, 182, 175 ] ],
  [ [ "DM", "DarkMuted" ], [ 91, 59, 44 ] ]
]

When I paste the values for vibrant into a color picker (https://duckduckgo.com/?q=color+picker) it gives the hex code #d01d41 and displays a pinkish color. When I run ricemood -a it fills ^r@V^ with #D20C0F. Any ideas as to what’s happening?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
fhadielcommented, Jan 11, 2020

@The-Bob actually, the feh wallpaper detection just read the ~/.fehbg file and use the first value of --bg-fill (wallpaper file) so it using the value in the commented line.

#!/bin/sh
#feh --no-fehbg --bg-fill '/home/fez/Pictures/Wal/alastorVert.png' '/home/fez/Pictures/Wal/AlastorWallpaper.png' 
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
feh --no-fehbg --bg-fill '/home/fez/Pictures/Wal/AlastorWallpaper.png' 

Well, thanks for trying the program 👍

0reactions
fezboycommented, Jan 11, 2020

Sorry to have bothered you but I just realized that -a was using a different image than I was running through -i. My primary and secondary monitors use two crops from the same image, a while ago pywal set one of them to both monitors. I fixed this with feh just recently, and it seems that ricemood decided to switch to the second one. I thought this and changed the background back to using just the first on both, but for some reason feh is still telling ricemood to use the second.

The first (which had been on both): https://drive.google.com/open?id=1zzX70lCj_8oCAx5KI7zi0SavovmpsXcG (alastorWallpaper.png) The second (which I put on my vertical monitor): https://drive.google.com/open?id=1RDtEXoXqQu2OaZfUTx8OgGDRsssSNbBu (alastorVert.png)

The output of ricemood -a:

^^>>> ricemood -a           
[ricemood-info] You select feh for background manager
[ricemood-info] getting wallpaper...
[ricemood-info] getting color for alastorVert.png
[ricemood-info] Providing variable bg, fg
[ricemood-info] [CAUTION]
This app is really buggy, this step will overwrite

/home/fez/.config/i3/config
/home/fez/.config/polybar/config
/home/fez/.Xresources
/home/fez/.config/ricemood/test

Please backup those file first
Do you want to proceed? press Y to continue
n
[ricemood-parser] Alright Exitting...

And my .fehbg script:

#!/bin/sh
#feh --no-fehbg --bg-fill '/home/fez/Pictures/Wal/alastorVert.png' '/home/fez/Pictures/Wal/AlastorWallpaper.png' 
feh --no-fehbg --bg-fill '/home/fez/Pictures/Wal/AlastorWallpaper.png' 

Seems to have been both user error on my part and something weird with feh. Sorry to have bothered you; closing.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Usage - Brand Center - University of Richmond
Recommendations · FAVOR THE PRIMARY PALETTE UR red and/or blue should always be represented. · BALANCE WITH THE NEUTRAL PALETTE Use up to...
Read more >
The Color of Richmond | Cover Story | Style Weekly
Certainly, it's not as beautiful as red, orange, yellow, green, blue, indigo and violet, but it's just as predictable and transfixing. The ...
Read more >
LtN - River Thames Conditions - Environment Agency - GOV.UK
Love birds eggs won't hatch, Exemplos de sites b2c, Prayer to the sacred heart ... Flower classification pdf, Apply light color nail polish,...
Read more >
Westfield Terra Community Association, Inc. - Inframark IMS
Townsquare is the official communication channel for Westfield Terra Community Association, Inc.! The app is completely accessible via mobile phone, ...
Read more >
20027 Ricewood Way, Katy, TX 77449 | MLS# 6289804 | Redfin
This stunning remodeled home features trendy colors and 2021 appliances. Back patio and plenty of room highlight the back yard.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found