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

pywal integration #36

Open
5 of 13 tasks
hbthen3rd opened this issue Oct 23, 2023 · 2 comments
Open
5 of 13 tasks

pywal integration #36

hbthen3rd opened this issue Oct 23, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@hbthen3rd
Copy link
Owner

hbthen3rd commented Oct 23, 2023

Integrate pywal to generate color scheme base on wallpaper.

Keep in mind:

  • Might need to download from head as the pip release is not functional out-of-the box for macOS: https://github.com/dylanaraps/pywal/wiki/Installation#MacOS
  • Make sure we can fallback to standard/established color schemes (gruvbox, dracula, tomorrow, base-16, etc.)
    • Make a custom gruvbox dark (hard) theme file to pipe thru pywal: wal -f [/path/to/file
  • Investigate if we could/should theme:
  • Investigate script to change macOS Sonoma wallpaper

To-do:

@hbthen3rd hbthen3rd added enhancement New feature or request help wanted Extra attention is needed labels Oct 23, 2023
@hbthen3rd hbthen3rd self-assigned this Oct 23, 2023
@albert-ying
Copy link

This is what I add to color.sh

works well for me so far

source $HOME/.cache/wal/colors.sh

export COLOR_BLACK=${color0/\#/0xff}
export COLOR_WHITE=${color15/\#/0xff}
export COLOR_RED=${color9/\#/0xff}
export COLOR_GREEN=${color10/\#/0xff}
export COLOR_BLUE=${color11/\#/0xff}
export COLOR_YELLOW=${color12/\#/0xff}
export COLOR_ORANGE=${color13/\#/0xff}
export COLOR_MAGENTA=${color14/\#/0xff}
export COLOR_GREY=${color7/\#/0xff}
export COLOR_SKY=${color3/\#/0xff}
export COLOR_PINK=${color4/\#/0xff}
export COLOR_TRANSPARENT=0x00000000

export COLOR_BLACK_BRIGHT=${color0/\#/0xff}
export COLOR_WHITE_BRIGHT=${color15/\#/0xff}
export COLOR_RED_BRIGHT=${color9/\#/0xff}
export COLOR_GREEN_BRIGHT=${color10/\#/0xff}
export COLOR_BLUE_BRIGHT=${color11/\#/0xff}
export COLOR_YELLOW_BRIGHT=${color12/\#/0xff}
export COLOR_ORANGE_BRIGHT=${color13/\#/0xff}
export COLOR_MAGENTA_BRIGHT=${color14/\#/0xff}
export COLOR_GREY_BRIGHT=${color7/\#/0xff}
export COLOR_SKY_BRIGHT=${color3/\#/0xff}
export COLOR_PINK_BRIGHT=${color4/\#/0xff}

export COLOR_BACKGROUND=${color0/\#/0xff}
export COLOR_FOREGROUND=${color15/\#/0xff}

export COLOR_ACCENT=${color1/\#/0xff}
export COLOR_ACCENT_BRIGHT=${color14/\#/0xff}

CleanShot 2023-10-25 at 02 18 55@2x

CleanShot 2023-10-25 at 02 21 15@2x

@hbthen3rd
Copy link
Owner Author

hbthen3rd commented Oct 25, 2023

Oh, I like that idea. Here's my WIP so far:

Screenshot 2023-10-24 at 11 53 25 PM Screenshot 2023-10-24 at 11 55 03 PM Screenshot 2023-10-24 at 11 58 17 PM Screenshot 2023-10-24 at 11 59 14 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants