diff --git a/README.md b/README.md index 21ea3c0..ded0711 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,7 @@ Generates [pywal](https://github.com/dylanaraps/pywal) theme for Chromium 7. ??? 8. PROFIT! -However, you need to run this script and restart chromium each time you change pywal colors. +However, you need to run this script and restart chromium each time you change pywal colors (or reload extension manually, since there is no way to do it automatically). So, make an alias or something like that. But you don't need to repeat the steps above, just run the script and that's it, chromium will update theme colors automatically. 😁 + diff --git a/generate-theme.sh b/generate-theme.sh index f83ad65..6d690ca 100755 --- a/generate-theme.sh +++ b/generate-theme.sh @@ -22,6 +22,7 @@ if [ ! -d "$THEME_DIR/images" ]; then fi # Copy wallpaper so it can be used in theme +wallpaper=$(cat ~/.cache/wal/wal) cp $wallpaper "$THEME_DIR/images/theme_ntp_background_norepeat.png" # Theme template