mirror of
https://github.com/JannisHeydemann/BoredOS.git
synced 2026-05-30 02:16:58 +00:00
UI: New main wallpaper (bored.jpg)
This commit is contained in:
BIN
src/images/wallpapers/bored.jpg
Normal file
BIN
src/images/wallpapers/bored.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 574 KiB |
@@ -151,8 +151,8 @@ int wallpaper_get_height(void) { return wp_height; }
|
|||||||
void wallpaper_init(void) {
|
void wallpaper_init(void) {
|
||||||
// We expect Limine modules to have been copied to /Library/images/Wallpapers/ by main.c
|
// We expect Limine modules to have been copied to /Library/images/Wallpapers/ by main.c
|
||||||
// Set a default wallpaper if one exists
|
// Set a default wallpaper if one exists
|
||||||
if (fat32_exists("/Library/images/Wallpapers/mountain.jpg")) {
|
if (fat32_exists("/Library/images/Wallpapers/bored.jpg")) {
|
||||||
wallpaper_request_set_from_file("/Library/images/Wallpapers/mountain.jpg");
|
wallpaper_request_set_from_file("/Library/images/Wallpapers/bored.jpg");
|
||||||
} else if (fat32_exists("/Library/images/Wallpapers/moon.jpg")) {
|
} else if (fat32_exists("/Library/images/Wallpapers/moon.jpg")) {
|
||||||
wallpaper_request_set_from_file("/Library/images/Wallpapers/moon.jpg");
|
wallpaper_request_set_from_file("/Library/images/Wallpapers/moon.jpg");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user