From c08f19b5fd7796ea183a5245dfb4c66d49fb79a6 Mon Sep 17 00:00:00 2001 From: Lain Date: Mon, 28 Mar 2022 16:20:23 +0300 Subject: [PATCH] wallpaper fix --- README.md | 3 ++- generate-theme.sh | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) 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