wallpaper fix

This commit is contained in:
Lain
2022-03-28 16:20:23 +03:00
parent d3d773aa3e
commit c08f19b5fd
2 changed files with 3 additions and 1 deletions

View File

@@ -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. 😁

View File

@@ -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