-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
42 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,44 @@ | ||
## Wallpaper — an Anki add-on | ||
|
||
Set and change on the fly background image for Anki's main window, Add cards dialog, | ||
Edit current dialog, and Previewer. | ||
Set and change the background image of Anki’s main window, Add cards dialog, | ||
Edit current card dialog, and Card previewer on the fly. | ||
|
||
<p align="center"> | ||
<img alt="Screenshots" src="https://user-images.githubusercontent.com/1710718/169703704-e21af84e-b67e-46fb-86b6-ca5ade7315ac.png"> | ||
<i> | ||
Illustrations by | ||
<a href="https://www.pexels.com/photo/snow-capped-mountain-under-cloudy-sky-3389536/"> | ||
Eberhard Grossgasteiger</a>, | ||
<a href="https://www.pexels.com/photo/empty-brown-canvas-235985/"> | ||
Pixabay</a>, | ||
<a href="https://www.pexels.com/photo/white-and-black-mountain-wallpaper-933054/"> | ||
Joyston Judah</a> | ||
</i> | ||
</p> | ||
|
||
This add-on was inspired by the awesome add-on | ||
[Custom Background and Gear Icon](https://github.com/AnKingMed/Custom-background-image-and-gear-icon). | ||
However, it takes a different approach to the way the background images are set. | ||
Among the advantages are: | ||
* The wallpaper is set for the entire window, including the menu; | ||
* The wallpaper is continuous—there’s only one per window; | ||
* The wallpaper doesn’t flicker when navigating between decks; | ||
* Dialogs can have wallpapers as well. | ||
|
||
There are also some disadvantages due to platform limitations: | ||
* You can’t resize the wallpaper along with the window; | ||
* It is not possible to control wallpaper opacity as easily. | ||
|
||
You will find configuration in _Tools_ → _Add-ons_ → _Config_, along with a short manual. | ||
After configuring the folder with your wallpapers, | ||
you’ll be able to change the wallpaper via _View_ → _Next wallpaper_ | ||
(on Anki 2.1.49 _Tools_ → _Next wallpaper_), | ||
as well as via the global shortcut <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>W</kbd>. | ||
You will have to manually resize the wallpapers to your preferred size, | ||
and if you need to change to opacity, you will also have to do it by hand. | ||
Sorry about that. | ||
|
||
Note that by default Anki cards set their own background color in CSS. | ||
In order to see the wallpaper while reviewing, you must remove the card background. | ||
You can do so by going to _Browse_ → _Cards…_ → _Styling_ | ||
and removing the line with `background` or `background-color`. |