Skip to content

oakkitten/anki-wallpaper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wallpaper — an Anki add-on

Set and change the background image of Anki’s main window, Add cards dialog, Edit current card dialog, and Card previewer on the fly.

Screenshots Illustrations by Eberhard Grossgasteiger, Pixabay, Joyston Judah

This add-on was inspired by the awesome add-on Custom Background 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 ToolsAdd-onsConfig, along with a short manual. After configuring the folder with your wallpapers, you’ll be able to change the wallpaper via ViewNext wallpaper (on Anki 2.1.49 ToolsNext wallpaper), as well as via the global shortcut Ctrl+Shift+W. 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 BrowseCards…Styling and removing the line with background or background-color.